Skip to content

[Bug] OpenCode Go paid models return Insufficient account funds with active subscription #56768

Closed as not planned

Description

@yonghuatrc

title: "[Bug] OpenCode Go paid models return "Insufficient account funds" with active subscription"
labels: "bug,go"
assignee: ""

Description

OpenCode Go subscription appears active in dashboard but API calls to paid models fail with "Insufficient account funds" error.

Environment

  • OpenCode CLI Version: 1.18.35
  • Auth Method: CLI opencode auth login opencode + API key
  • Subscription: Go $10/month, active on "Default" workspace
  • OS: macOS

Steps to reproduce

  1. Run opencode auth login opencode - authentication succeeds
  2. Run opencode run "test" -m opencode/deepseek-v4.1-flash
  3. Returns error: Error: Upstream request failed: Insufficient account funds

Expected behavior

Paid Go models should work with active Go subscription.

Actual behavior

Paid models return "Insufficient account funds" error.

Free models work

Free models work correctly:

$ opencode run "test" -m opencode/deepseek-v4.1-flash-free
2

Dashboard screenshot/context

  • Weekly usage: 32%
  • Monthly usage: 36%
  • Credit Balance: $0.00
  • Subscription: Renews in 18d 3h (shows active)
Image

Additional context

Similar issues reported:

These issues appear to be closed as "not planned" but the problem persists for many users.

Activity

  1. opencode-agent commented on Oct 18, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report, and sorry for the trouble. Seeing "Insufficient account funds" while your Go subscription shows as active is frustrating.

    One thing to check first: your command uses opencode/deepseek-v4.1-flash. Models under the opencode/ provider are paid from your Console credit balance, which your dashboard shows as $0.00. Models covered by your Go plan are under the opencode-go/ provider. Free models work under either provider, which matches what you're seeing. Try connecting OpenCode Go with your Go API key (run opencode auth login and choose OpenCode Go), then run something like:

    opencode run "test" -m opencode-go/<model>
    

    If that still fails, the problem is with your account or subscription. Billing and account support isn't handled in GitHub issues, so please email help@anoma.ly with the details (when it started, the model, and any request IDs from the error). 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 and account information out of this public issue and put them only in the email.

    Related reports, in case they're useful:

    The bot will close this issue in 1 day.

  2. yonghuatrc commented on Oct 18, 2026

    @yonghuatrc
    Author

    Tested and this is the result

    Image
  3. opencode-agent commented on Oct 18, 2026

    @opencode-agent
    Contributor

    Thanks for testing that so quickly! Your screenshot shows opencode run "test" -m opencode-go/deepseek-v4-pro still failing with Upstream request failed: Insufficient account funds. So picking the wrong provider wasn't the cause: the request goes to OpenCode Go and is still rejected, even though your Go subscription shows as active.

    That means the problem is on the account or subscription side, and only the team can look into it. Please email help@anoma.ly with:

    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 and account information out of this public issue and put them only in the email.

    The same symptom is reported in #51424 (a commenter there saw it even with a new Go API key connected as opencode-go) and #55856, in case you want to follow those. The bot will still close this issue in 1 day.

  4. opencode-agent commented on Oct 19, 2026

    @opencode-agent
    Contributor

    Hi @yonghuatrc, I'm closing this issue now because billing and account support is handled by email, not on GitHub. Your test showed the error also happens with opencode-go/ models, so this is something only the team can look into. If it's still not sorted, please email help@anoma.ly and mention #56768 and what you tested here. Please keep account and payment information in the email, not in this public issue. Thanks for testing so quickly, and sorry for the trouble.

  5. yonghuatrc commented on Oct 19, 2026

    @yonghuatrc
    Author

    fixed by replacing the new base url https://opencode.ai/inference/go/openai/v1

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