anomalyco / anomalyco/opencode
bug(opencode-go): All subscription models return "Request blocked by upstream provider"
@StarpTech is already working on this.
Since Jul 22, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Describe the bug
After logging in with opencode-go subscription, every model call uniformly throws error:
Request blocked by upstream provider.
No single model under opencode-go subscription can complete any chat/completion request.
Steps to reproduce
- Install latest opencode release
- Run
opencodeTUI, execute/login - Select
opencode-gosubscription auth flow, complete login normally - Switch any model under opencode-go provider
- Send any prompt to trigger model inference
- Error pops up immediately without any response content
Expected behavior
All subscribed opencode-go models should normally complete LLM inference requests without upstream block error.
Actual behavior
Every model request returns identical error message:
Request blocked by upstream provider.
No logs with detailed upstream status code, no retry logic takes effect.
Environment
- OS:
- OpenCode version:
opencode --version - Bun version:
bun --version - Network: Direct connection / proxy
Additional context
- All models under opencode-go subscription are affected; no single model works.
- No rate limit prompt, no API key expired reminder, only upstream block message.
- Cleared local auth cache
~/.local/share/opencodeand re-login multiple times, issue persists. - Other third-party API key providers (openai compatible) work fine, only opencode-go subscription auth is blocked upstream.
- No custom modified config, default opencode.json with zero custom provider overrides.
Verification I've completed
- Searched existing open issues for identical
Request blocked by upstream providerbug, no duplicate ticket found - Cleared local auth storage and re-authenticated opencode-go subscription
- Tested multiple different opencode-go models to confirm full provider-wide block
- Confirmed network connectivity to other AI API providers works normally
- Did not use AI-generated bulk text, all descriptions written manually
Plugins
No response
OpenCode version
v1.18.4
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.