Skip to content

[BUG] OpenRouter auto top-up ignored #12006

@Quantum-Fracture-Studio

Description

Problem (one or two sentences)

You seem to have run out of funds/credits in your account. Go to your provider and add more to continue.Details
25s

Checked OpenRouter and the auto-top off has already added more credits. Plenty enough for the request.

Context (who is affected and when)

As soon as the low limit is hit - and does not need to be lower than the OpenRouter setting in monetary terms. No indication the token bucket was too low yet the funds were plenty - for OpenRouter to just sit there. Had to adjust the monetary limit.

Reproduction steps

Win 11, VSCode with Roo Module, OpenRouter API

Expected result

Requery the API endpoint for token bucket size instead of hitting it once and never checking again.

Actual result

Continually throws error no matter how many "new chats" are started.

Variations tried (optional)

No response

App Version

v3.51.1

API Provider (optional)

OpenRouter

Model Used (optional)

anthropic/claude-sonnet-4.5

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions