DeepSeek V4 Flash API Pricing
- Input / output
- $0.30 / $1.20 per 1M tokens
- Cache read
- $0.006 / 1M
- Context
- 1M tokens
- Max output
- 384K tokens
As of November 25, 2026, DeepSeek V4 Flash costs $0.30 per 1M input tokens and $1.20 per 1M output tokens on DeepSeek, with cache reads at $0.006 and cache writes at $0 per 1M tokens. Across 32 providers on LiteLLM, the input price ranges from $0.06 to $0.44. It has a 1,000,000-token context window and returns up to 393,216 tokens per response.
DeepSeek V4 Flash pricing by provider
49 listings across 32 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Context |
|---|---|---|---|---|---|---|
| DeepSeek | deepseek-v4-flash | $0.30 | $1.20 | $0.006 | $0 | 1M |
| DeepSeek | deepseek/deepseek-v4-flash | $0.30 | $1.20 | $0.006 | $0 | 1M |
| ai& | aiand/deepseek-ai/deepseek-v4-flash | $0.15 | $0.25 | $0.08 | – | 1M |
| AIHubMix | aihubmix/deepseek-v4-flash | $0.142 | $0.284 | $0.0284 | – | 1M |
| Alibaba Cloud Model Studio | dashscope/deepseek-v4-flash | $0.20 | $0.40 | $0.04 | – | 1M |
| Alibaba Cloud Model Studiosnapshot 0731 | dashscope/deepseek-v4-flash-0731 | $0.20 | $0.40 | $0.04 | – | 1M |
| Azure AI Foundry | azure_ai/deepseek-v4-flash | $0.19 | $0.51 | $0.028 | – | 1M |
| Azure AI Foundrysnapshot 0731 | azure_ai/DeepSeek-V4-Flash-0731 | $0.44 | $1.32 | $0.014 | – | 1M |
| Basetensnapshot 0731 | baseten/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.13 | $0.26 | $0.028 | – | 1M |
| CLF AI Gateway | clf_ai_gateway/deepseek-v4-flash | $0.176 | $0.528 | $0.005 | – | 1M |
| Databrickssnapshot 0731 | databricks/databricks-deepseek-v4-flash-0731 | $0.14 | $0.28 | $0.028 | $0.14 | 1M |
| DeepInfra | deepinfra/deepseek-ai/DeepSeek-V4-Flash | $0.09 | $0.18 | $0.018 | – | 1M |
| DeepInfrasnapshot 0731 | deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.06 | $0.18 | $0.015 | – | 1M |
| EmpirioLabs AIsnapshot 0731 | empiriolabs/deepseek-v4-flash-0731 | $0.424 | $1.272 | – | – | 1M |
| EmpirioLabs AIsnapshot 0731 | empiriolabs/deepseek-v4-flash-0731:variant1 | $0.44 | $1.32 | – | – | 1M |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/deepseek-v4-flash | $0.14 | $0.28 | $0.028 | – | 1M |
| Fireworks AIsnapshot 0731 | fireworks_ai/accounts/fireworks/models/deepseek-v4-flash-0731 | $0.22 | $0.66 | $0.007 | – | 1M |
| Fireworks AI | fireworks_ai/deepseek-v4-flash | $0.14 | $0.28 | $0.028 | – | 1M |
| Fireworks AIsnapshot 0731 | fireworks_ai/deepseek-v4-flash-0731 | $0.22 | $0.66 | $0.007 | – | 1M |
| GMI Cloud | gmi/deepseek-ai/DeepSeek-V4-Flash | $0.091 | $0.182 | $0.0182 | – | 1M |
| GMI Cloudsnapshot 0731 | gmi/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.286 | $0.858 | $0.0091 | – | 1M |
| Inference APIs | inferenceapis/deepseek-ai/DeepSeek-V4-Flash | $0.19 | $0.38 | $0.04 | – | 1M |
| Inference APIssnapshot 0731 | inferenceapis/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.19 | $0.38 | $0.04 | – | 1M |
| Inference APIs | inferenceapis/deepseek-v4-flash | $0.19 | $0.38 | $0.04 | – | 1M |
| Kyma API | kyma/deepseek-v4-flash | $0.123 | $0.2458 | $0.0243 | – | 1M |
Show 24 more listings
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Context |
|---|---|---|---|---|---|---|
| LibertAI | libertai/deepseek-v4-flash | $0.25 | $1.75 | – | – | 200K |
| Nebius AI Studio | nebius/deepseek-ai/DeepSeek-V4-Flash | $0.14 | $0.28 | – | – | 1M |
| Nebius AI Studiosnapshot 0731 | nebius/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.14 | $0.28 | $0.01 | – | 1M |
| Novita AI | novita/deepseek/deepseek-v4-flash | $0.14 | $0.28 | $0.028 | – | 1M |
| Novita AIsnapshot 0731 | novita/deepseek/deepseek-v4-flash-0731 | $0.44 | $1.32 | $0.028 | – | 1M |
| OpenRouter | openrouter/deepseek/deepseek-v4-flash | $0.09 | $0.18 | $0.018 | – | 1M |
| Perplexitysnapshot 0731 | perplexity/perplexity/deepseek-v4-flash-0731 | $0.13 | $0.26 | $0.028 | – | – |
| Pinstripes | pinstripes/ps/deepseek-v4-flash | $0.10 | $0.20 | – | – | 160K |
| Prism | prism/deepseek-v4-flash | $0.17 | $0.21 | $0.07 | – | 1M |
| Qianwen AI Platform | qwen_ai_platform/deepseek-v4-flash | $0.20 | $0.40 | $0.04 | – | 1M |
| Qianwen AI Platformsnapshot 0731 | qwen_ai_platform/deepseek-v4-flash-0731 | $0.20 | $0.40 | $0.04 | – | 1M |
| QwenCloud | qwencloud/deepseek-v4-flash | $0.20 | $0.40 | $0.04 | – | 1M |
| QwenCloudsnapshot 0731 | qwencloud/deepseek-v4-flash-0731 | $0.20 | $0.40 | $0.04 | – | 1M |
| ResetData | resetdata/deepseek/deepseek-v4-flash | $0.07432 | $0.1486 | $0.01351 | – | 1M |
| Sailsnapshot 0731 | sail/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.09 | $0.18 | $0.02 | – | 1M |
| Scalewaysnapshot 0731 | scaleway/deepseek-v4-flash-0731 | $0.40 | $0.80 | $0.08 | – | 256K |
| StreamLake | streamlake/deepseek-v4-flash | $0.14 | $0.28 | $0.028 | – | 1M |
| StreamLakesnapshot 0731 | streamlake/deepseek-v4-flash-0731 | $0.44 | $1.32 | $0.014 | – | 1M |
| Tencent TokenHub | tencent/deepseek-v4-flash | $0.14 | $0.28 | $0.0028 | $0 | 1M |
| Tensormesh | tensormesh/deepseek-ai/DeepSeek-V4-Flash | $0.14 | $0.28 | $0 | – | 32K |
| Together AIsnapshot 0731 | together_ai/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.14 | $0.28 | $0.03 | – | 1M |
| Wallysnapshot 0731 | wally/deepseek-v4-flash-0731 | $0.44 | $1.32 | $0.014 | – | 1M |
| Weights & Biases | wandb/deepseek-ai/DeepSeek-V4-Flash | $0.14 | $0.28 | $0.07 | – | 1M |
| Weights & Biasessnapshot 0731 | wandb/deepseek-ai/DeepSeek-V4-Flash-0731 | $0.13 | $0.27 | $0.05 | – | 262K |
What DeepSeek V4 Flash costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| DeepSeek | $1.20 |
| DeepInfra | $0.21 |
| ResetData | $0.2229 |
| OpenRouter | $0.27 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| DeepSeek | $3.24 |
| DeepInfra | $0.636 |
| ResetData | $0.7729 |
| OpenRouter | $0.936 |
DeepSeek V4 Flash cost calculator
At DeepSeek's price ($0.30 input, $1.20 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $9.00 a day, about $270 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0009
- Per day
- $9.00
- Per month (30 days)
- $270
DeepSeek V4 Flash features
Input: text, image. Output: text.
- Function calling
- Parallel tool calls
- Structured output
- Image input
- Reasoning
- Prompt caching
- Web search
Use DeepSeek V4 Flash with LiteLLM
Call DeepSeek V4 Flash through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: deepseek-v4-flash
litellm_params:
model: deepseek-v4-flash
api_key: os.environ/DEEPSEEK_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'DeepSeek V4 Flash FAQ
How much does DeepSeek V4 Flash cost?
DeepSeek V4 Flash costs $0.30 per 1M input tokens and $1.20 per 1M output tokens on DeepSeek, with cache reads at $0.006 and cache writes at $0 per 1M tokens. Across 32 providers on LiteLLM, the input price ranges from $0.06 to $0.44.
What is the context window of DeepSeek V4 Flash?
DeepSeek V4 Flash has a 1,000,000-token context window and returns up to 393,216 tokens per response.
Which providers offer DeepSeek V4 Flash?
DeepSeek V4 Flash is available from 32 providers through LiteLLM: DeepSeek, ai&, AIHubMix, Alibaba Cloud Model Studio, Azure AI Foundry, Baseten, CLF AI Gateway, Databricks, DeepInfra, EmpirioLabs AI, Fireworks AI and GMI Cloud and 20 more. The lowest price is on DeepInfra.
How do I call DeepSeek V4 Flash with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="deepseek-v4-flash", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does DeepSeek V4 Flash support?
DeepSeek V4 Flash supports function calling, parallel tool calls, structured output, image input, reasoning, prompt caching and web search.
When did LiteLLM add DeepSeek V4 Flash?
DeepSeek V4 Flash was added to LiteLLM's model price file in June 2026.
Compare DeepSeek V4 Flash
- DeepSeek V4 Flash vs DeepSeek V4.1 Flash
- DeepSeek V4 Flash vs DeepSeek V4 Pro
- DeepSeek V4 Flash vs MiniMax M3
- DeepSeek V4 Flash vs GPT OSS 120B
- DeepSeek V4 Flash vs Hy4
- DeepSeek V4 Flash vs Inkling 2 Small
- DeepSeek V4 Flash vs Beam 1.0 501B A23B
- DeepSeek V4 Flash vs GLM 5.3 Flashx
- DeepSeek V4 Flash vs Longcat 2.0
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
- api-docs.deepseek.com/quick_start/pricing
- api.aiand.com/v1/models
- aihubmix.com/api/v1/models
- www.alibabacloud.com/help/en/model-studio/models
LiteLLM docs: DeepSeek, AIHubMix, Alibaba Cloud Model Studio, Azure AI Foundry, Baseten, CLF AI Gateway.
Provider pages: DeepSeek, ai&, AIHubMix, Alibaba Cloud Model Studio, Azure AI Foundry, Baseten, CLF AI Gateway, Databricks, DeepInfra, EmpirioLabs AI, Fireworks AI, GMI Cloud.