Skip to content

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

Description

@sergiomaciel

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions