You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen similiar issues, but this seems to be maybe deeper issues. This happens every time. Not one of three requests. I just subscribed to the OpenCode Go subscription for this DeepSeek model and its unavailable to me. I have the opencode cli v2 installed freshly.
Plugins
no plugins
OpenCode version
v2.0.26
Steps to reproduce
Sign in with OpenCode Go
Select model DeepSeek V4.1 Flash
You always receive only error 400 message on every prompt attempt
Thanks for the report. I couldn't reproduce this here: the 400 comes from the OpenCode Go service, and our test sandbox has no Go subscription, so a maintainer with access will need to look at it.
Provider request failed with HTTP 400 is OpenCode's generic fallback for when the service's error reply doesn't say why it rejected the request, so the useful detail is missing. If you can, please add:
whether other Go models (e.g. DeepSeek V4 Pro, GLM) work for you in a new session
whether changing the reasoning variant/effort for DeepSeek V4.1 Flash makes any difference
any log lines from around the failure that show the response body
These open issues are related, though in them the 400s come and go or appear late in long sessions, not on every prompt:
Thanks for the report. This is about how the model itself behaves when served through OpenCode Go (repeating itself, broken tool calls, speed, or rejecting large requests), not a bug in the OpenCode app. We pass these reports to our upstream providers. Starting a new session or running /compact usually helps with loops and oversized-request errors. Closing this to keep the tracker focused; the main discussion is in #50206.
Activity
opencode-agent commentedon Oct 9, 2026
Thanks for the report. I couldn't reproduce this here: the 400 comes from the OpenCode Go service, and our test sandbox has no Go subscription, so a maintainer with access will need to look at it.
Provider request failed with HTTP 400is OpenCode's generic fallback for when the service's error reply doesn't say why it rejected the request, so the useful detail is missing. If you can, please add:These open issues are related, though in them the 400s come and go or appear late in long sessions, not on every prompt:
inference_failedon oversized payloads with max reasoning effort #52174: 400 on large requests with max reasoning effortww-TNT commentedon Oct 16, 2026
I encountered HTTP 400 errors with both deepseek-v4-pro and deepseek-v4.1-flash on OpenCode Go.
Workaround that fixed the issue:
Open the OpenCode Go settings.
Change Regions from Europe & United States to Global.
After switching to Global, both models started working correctly.
This suggests the issue may be related to regional routing or model availability rather than the models themselves.
Hope this helps others experiencing the same issue.
neriousy commentedon Oct 21, 2026
Thanks for the report. This is about how the model itself behaves when served through OpenCode Go (repeating itself, broken tool calls, speed, or rejecting large requests), not a bug in the OpenCode app. We pass these reports to our upstream providers. Starting a new session or running
/compactusually helps with loops and oversized-request errors. Closing this to keep the tracker focused; the main discussion is in #50206.