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
{{ message }}
Repository navigation
[BUG] deepseek-v4-flash via opencode-go returns 403 / hangs, while deepseek-v4-pro and minimax-m3 work on the same key #40485
Global config (~/.config/opencode/opencode.jsonc): clean, only $schema
No project-level opencode.json overrides
opencode-go API key present and valid
Repro steps
Send a chat request with model deepseek-v4-flash to https://opencode.ai/zen/go/v1/chat/completions
Observed: request hangs with no response (tested up to 60s+), and/or returns HTTP 403
Direct API test results (same key, same endpoint, same request body)
Model
Result
deepseek-v4-flash
HTTP 403 Forbidden, empty body (occasionally hangs/timeout before response)
deepseek-v4-pro
HTTP 200, normal response
minimax-m3
HTTP 200, normal response
GET /zen/go/v1/models
HTTP 200, deepseek-v4-flash is listed and served with the same key
Log evidence
(~/.local/share/opencode/log/opencode.log)
stream error ... providerID=opencode modelID=laguna-s-2.1-free ... error.error="AI_APICallError: Internal Server Error" (free route also affected earlier)
No client-side config or auth errors; network to opencode.ai:443 (Cloudflare) is fine
Impact
Requests to deepseek-v4-flash never complete in the UI (waited ~11 minutes), while free models and other Go paid models respond normally
small_model / title requests also fail when set to flash
Activity
addisonrobertss commentedon Aug 4, 2026
same problem not working Deepseek Flash V4
Cyber-Hunter01 commentedon Aug 4, 2026
metoo
brishisharma commentedon Aug 4, 2026
same here
renatokeys commentedon Aug 4, 2026
same
lookvincent commentedon Aug 4, 2026
一样的情况,在macos air m4 + opencode cli 1.18.12 上也是一样,deepseek-v4-flash 模型一直没有任何输入直到很久之后超时 (opencode go)
atoriarg commentedon Aug 4, 2026
same problem with mimo-2.5 since friday
github-actions commentedon Oct 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.