Skip to content

go: exhausting one model's 5h limit locks out every Go model despite documented per-model limits #54875

Closed as not planned

Description

@shayaandanishansari

Summary

The Go docs state usage limits are per model ("Each model has the following usage limits: 5-hour — 20% of the monthly limit"). In practice, after exhausting Qwen3.8 Max's 5-hour limit, every other model on the Go plan returned Go usage limit exceeded — including models whose own buckets were untouched — until the same 5-hour window reset.

Environment

  • opencode version: 2.0.27
  • OS: Windows_NT 10.0.26200 (win32 x64)
  • Terminal: Unavailable: terminal environment variables are not set
  • Shell: cmd.exe
  • Install/channel: latest (release)
  • Active plugins: none found in config

Reproduction

  1. Use opencode-go/qwen3.8-max until it returns Go usage limit exceeded (~160 requests / 5h on the Go plan).
  2. Switch the session model to a different Go model never used in that window (e.g. opencode-go/mimo-v2.6-pro).
  3. Send any message, including in a brand-new session.

Expected Behavior

Per the documented per-model limits, mimo-v2.6-pro should have its own independent 5-hour bucket (20% of its $15 monthly limit on Go) and should work normally.

Actual Behavior

The provider returns the identical account-level error for every Go model, including tiny background requests (small=true, title generation), across new sessions:

13:48:59 ERROR stream error providerID=opencode-go modelID=qwen3.8-max    error.error="AI_APICallError: Go usage limit exceeded"
13:52:08 ERROR stream error providerID=opencode-go modelID=mimo-v2.6-pro  error.error="AI_APICallError: Go usage limit exceeded"
13:52:13 ERROR stream error providerID=opencode-go modelID=mimo-v2.6-pro small=true agent=title error.error="AI_RetryError: Failed after 3 attempts. Last error: Go usage limit exceeded"
14:01:36 ERROR stream error providerID=opencode-go modelID=mimo-v2.6-pro  error.error="AI_APICallError: Go usage limit exceeded"
14:02:31 ERROR stream error providerID=opencode-go modelID=mimo-v2.6-pro  (new session, same error)

All timestamps UTC, 2026-10-12. No Go model worked again until the 5-hour window reset.

Additional Context

Activity

  1. opencode-agent commented on Oct 12, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report and logs. Being locked out of every Go model after one model hits its 5-hour limit, when the docs describe per-model limits, is confusing, and the error doesn't help by not saying which limit was hit.

    The Go plan's quotas are enforced by the OpenCode Go service, not the opencode app (the CLI only shows the error it gets back), and billing and account support isn't handled in GitHub issues. Please email help@anoma.ly with the details: the times you were blocked, the models involved and what your Go console showed. If you've already emailed, the team will get to it, especially now that we've seen it here. Please keep payment details, email addresses, workspace IDs and other account information out of this public issue and put them only in the email.

    Other people have reported the same behaviour, ordered by likelihood:

    The bot will close this issue in 1 day.

  2. redcasinotimonneo commented on Oct 12, 2026

    @redcasinotimonneo

    Hey @shayaandanishansari, please read my comment to the exact issue you are having

    #49014 (comment)

    Hope it helps
    p.s. i am not related to opencode team

  3. shayaandanishansari commented on Oct 12, 2026

    @shayaandanishansari
    Author
  4. shayaandanishansari commented on Oct 12, 2026

    @shayaandanishansari
    Author

    Official confirmation from OpenCode support

    This issue has been confirmed by the OpenCode support team. Here is their response (shared with permission from the original reporter):

    All paid models in OpenCode Go draw from one shared allowance, with model-specific weighting. The allowances aren't separate for each model.

    How it works:

    • Your plan has one usage allowance, with three limits: 5-hour (20% of the monthly limit), weekly (50%) and monthly (100%).
    • Each request costs the model's published token prices. That cost is then weighted by the model's listed monthly limit. On Go, a model listed at $60 counts at face value, a $30 model counts twice as much, and a $15 model counts four times as much. For example, $1 of GLM-5.3-Flash usage uses the same share of your allowance as $0.25 of Kimi K3 usage.
    • The "Monthly limit" for each model is how much of that model alone you could use with the full allowance. It is not a separate budget for that model.

    So yes: if you use the full $60 listed for GLM-5.3-Flash, you will have used your whole monthly allowance, and the other paid models will also be unavailable until it resets at your next renewal. The 5-hour and weekly limits work the same way, so you'll reach those earlier if you use a lot in a short time. Once a limit is reached, you can still use the free models. If you have Zen credits, you can also turn on "Use balance" in the console so requests use your Zen balance instead of being blocked.

    What this confirms

    1. The per-model "monthly limits" in the Go docs are not separate budgets. They are illustrations of how much of that model you would consume if you spent the entire shared allowance on it. The docs at https://opencode.ai/v2/docs/console/go present them in a way that implies separate per-model limits, which is misleading.

    2. Switching to a different paid model after exhausting the shared allowance does not work. This is by design, not a bug. All paid models draw from the same pool.

    3. Free models remain available even when the shared paid allowance is exhausted.

    4. Zen credits can be used as a bypass via the "Use balance" toggle in the console.

    Impact

    The Go docs should be updated to clearly state that all paid models share a single allowance, and that the per-model "monthly limit" figures are not separate budgets. The current presentation leads users to believe they can use multiple models independently within their plan, which is not the case.

  5. opencode-agent commented on Oct 13, 2026

    @opencode-agent
    Contributor

    Closing this now, since Go plan usage limits are handled by billing and account support rather than in GitHub issues. Thanks again for the clear write-up, @shayaandanishansari. If anything is still unresolved, please email help@anoma.ly with the details. Keep any account or payment information in the email, not here. For the wider question of per-model versus account-wide limits, see #52783.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions