Closed as not planned
Closed as not planned
Copy link
Labels
Description
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
- Run
opencode auth login opencode- authentication succeeds - Run
opencode run "test" -m opencode/deepseek-v4.1-flash - 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)
Additional context
Similar issues reported:
- Go subscription active but every API call fails — "Insufficient account funds" / "stale-token" / "Key method not found" #51790: "Go subscription active but every API call fails — Insufficient account funds"
- OpenCode Go models return "Insufficient account funds" with active subscription and 0% usage #51424: "OpenCode Go models return Insufficient account funds with active subscription and 0% usage"
These issues appear to be closed as "not planned" but the problem persists for many users.
Activity
opencode-agent commentedon Oct 18, 2026
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 theopencode/provider are paid from your Console credit balance, which your dashboard shows as $0.00. Models covered by your Go plan are under theopencode-go/provider. Free models work under either provider, which matches what you're seeing. Try connecting OpenCode Go with your Go API key (runopencode auth loginand choose OpenCode Go), then run something like: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.
yonghuatrc commentedon Oct 18, 2026
Tested and this is the result
opencode-agent commentedon Oct 18, 2026
Thanks for testing that so quickly! Your screenshot shows
opencode run "test" -m opencode-go/deepseek-v4-prostill failing withUpstream 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:
opencode/andopencode-go/paid models both fail and free models workIf 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.opencode-agent commentedon Oct 19, 2026
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.yonghuatrc commentedon Oct 19, 2026
fixed by replacing the new base url https://opencode.ai/inference/go/openai/v1