Bug Report
Provider: opencode-go
Endpoint: POST https://opencode.ai/zen/go/v1/chat/completions
Affected models: deepseek-v4-pro, deepseek-v4-flash
Go subscription status: Active, ~50% usage remaining
Error from logs
ERROR service=llm providerID=opencode-go modelID=deepseek-v4-pro
error={"error":{"name":"AI_APICallError","url":"https://opencode.ai/zen/go/v1/chat/completions", ...}}
stack=AI_APICallError: Insufficient Balance
Same error occurs for deepseek-v4-flash (which also consumes Go subscription quota — it is not free via opencode-go).
Key observation
| Provider |
Model |
Consumes quota |
Result |
opencode-go |
deepseek-v4-pro |
Go subscription |
❌ Insufficient Balance |
opencode-go |
deepseek-v4-flash |
Go subscription |
❌ Insufficient Balance |
opencode (Zen, non-Go) |
deepseek-v4-flash-free |
Free |
✅ Works |
Note: deepseek-v4-flash-free is only free when accessed via providerID=opencode (Zen). Via opencode-go, deepseek-v4-flash consumes Go subscription quota. Both paid Go models fail while the Zen free model works — this confirms the issue is with the opencode-go backend's upstream DeepSeek account balance, not the user's personal quota or API key.
Multiple API keys have been tried. /connect was redone from scratch. The problem persists across all keys.
Steps to reproduce
- Active OpenCode Go subscription with usage remaining
- Configure
providerID=opencode-go, modelID=deepseek-v4-pro (or deepseek-v4-flash)
- Send any request
- Receive
AI_APICallError: Insufficient Balance from https://opencode.ai/zen/go/v1/chat/completions
Expected behavior
Requests to opencode-go with remaining subscription quota should succeed.
Notes
Bug Report
Provider:
opencode-goEndpoint:
POST https://opencode.ai/zen/go/v1/chat/completionsAffected models:
deepseek-v4-pro,deepseek-v4-flashGo subscription status: Active, ~50% usage remaining
Error from logs
Same error occurs for
deepseek-v4-flash(which also consumes Go subscription quota — it is not free viaopencode-go).Key observation
opencode-godeepseek-v4-proInsufficient Balanceopencode-godeepseek-v4-flashInsufficient Balanceopencode(Zen, non-Go)deepseek-v4-flash-freeNote:
deepseek-v4-flash-freeis only free when accessed viaproviderID=opencode(Zen). Viaopencode-go,deepseek-v4-flashconsumes Go subscription quota. Both paid Go models fail while the Zen free model works — this confirms the issue is with theopencode-gobackend's upstream DeepSeek account balance, not the user's personal quota or API key.Multiple API keys have been tried.
/connectwas redone from scratch. The problem persists across all keys.Steps to reproduce
providerID=opencode-go,modelID=deepseek-v4-pro(ordeepseek-v4-flash)AI_APICallError: Insufficient Balancefromhttps://opencode.ai/zen/go/v1/chat/completionsExpected behavior
Requests to
opencode-gowith remaining subscription quota should succeed.Notes
opencode-go/minimax-m2.5appears to still work (different upstream), confirming this is model/upstream-specific