deepseek/deepseek-v4-flash-0731

DeepSeek: DeepSeek V4 Flash 0731

Context length
1049K
Input / 1M tokens
$0.12
Output / 1M tokens
$0.24
Released
2026-07-31
Modality
text->text

About DeepSeek: DeepSeek V4 Flash 0731

DeepSeek V4 Flash 0731 is a sparse mixture-of-experts model from DeepSeek, with 13B active parameters out of 284B total. This re-post-trained revision is suited for coding, reasoning, and agent workflows....

Call DeepSeek: DeepSeek V4 Flash 0731

Via OpenRouter: one base URL for every provider.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-flash-0731",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Direct on DeepSeek:

curl https://api.deepseek.com/v1/chat/completions \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash-0731",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

DeepSeek keys

OpenRouter keys

OpenRouter keys work for deepseek/deepseek-v4-flash-0731 regardless of the upstream provider.