anomalyco / anomalyco/opencode

DeepSeek V4 Flash (New) route hangs - no response from zen gateway

Open
#40,479 2 comments 1 reaction 1 assignee View on GitHub

@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-alive pings, 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 → 2s
  • glm-5.2 → 1.6s
  • deepseek-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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.