anomalyco / anomalyco/opencode
DeepSeek V4 Flash (New) route hangs - no response from zen gateway
Open
@MrMushrooooom is already working on this.
Since Aug 4, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The deepseek-v4-flash model (marketed as "DeepSeek V4 Flash (New)") on the opencode zen gateway fails to respond.
Endpoint
POST https://opencode.ai/zen/go/v1/chat/completions
Authorization: Bearer $OPENCODE_API_KEY
Symptoms
- Without streaming: 0 bytes received, times out after 90s
- With streaming: Only SSE
: keep-alivepings, no actual content arrives - With/without max_tokens: same result
- Billing: user is paying and has balance available
Reproduction
curl -sS -m 60 "https://opencode.ai/zen/go/v1/chat/completions" \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"hello"}]}'
# Result: timeout, 0 bytes
Comparison
Other models via the same endpoint/key work fine:
qwen3.8-max→ 2sglm-5.2→ 1.6sdeepseek-v4-pro→ 13s
Environment
- opencode v1.18.13
- Linux (Ubuntu 20.04)
- git v2.50.1
Expected
deepseek-v4-flash should respond like other models.
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.