DeepSeek V4 Flash (0731) API

deepseek/deepseek-v4-flash-0731

Use DeepSeek V4 Flash (0731) by DeepSeek through the Solo Router API: 1M-token context and streaming. $0.182 per million input tokens and $0.364 per million output tokens, billed from prepaid credit.

Input
$0.182
per 1M tokens
Output
$0.364
per 1M tokens
Cached input
$0.036
per 1M tokens
Context window
1M
tokens

Example request

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

More from DeepSeek

ModelContextInput / 1MOutput / 1MCached / 1M
DeepSeek V4.1 Flash
deepseek/deepseek-v4.1-flash
1M $0.39$1.56$0.008
DeepSeek V4.1 Flash (1017)
deepseek/deepseek-v4.1-flash-1017
1M $0.39$1.56$0.008
DeepSeek V4 Pro
deepseek/deepseek-v4-pro
1M $2.262$4.524$0.452
DeepSeek V4 Pro (0813)
deepseek/deepseek-v4-pro-0813
1M $1.716$5.148$0.057
DeepSeek V4 Flash
deepseek/deepseek-v4-flash
1M $0.182$0.364$0.036
DeepSeek V3.2
deepseek/deepseek-v3.2
164K $0.65$2.08$0.195

Frequently asked questions

How much does the DeepSeek V4 Flash (0731) API cost?

$0.182 per million input tokens and $0.364 per million output tokens, and $0.036 per million cached input tokens. You pay from prepaid credit with no monthly fee.

How do I get DeepSeek V4 Flash (0731) API access?

Sign in to Solo Router with Google, create an API key and set "model": "deepseek/deepseek-v4-flash-0731" in a chat-completions request to https://solorouter.ai/api/v1.

What is the context window of DeepSeek V4 Flash (0731)?

1,048,576 tokens.

Get your API key in 30 seconds

Sign in with Google. New accounts get free credit (one per person) to try the models.

Get started free