LiteLLMLiteLLM/ MODELS

DeepSeek V4 Flash API Pricing

By DeepSeek · 32 providersdeepseek-v4-flashCompare
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.

Prices updated Checked

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.

DeepSeek V4 Flash prices by provider in US dollars, token prices per 1M tokens, as of November 25, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readCache writeContext
DeepSeekdeepseek-v4-flash$0.30$1.20$0.006$01M
DeepSeekdeepseek/deepseek-v4-flash$0.30$1.20$0.006$01M
ai&aiand/deepseek-ai/deepseek-v4-flash$0.15$0.25$0.08–1M
AIHubMixaihubmix/deepseek-v4-flash$0.142$0.284$0.0284–1M
Alibaba Cloud Model Studiodashscope/deepseek-v4-flash$0.20$0.40$0.04–1M
Alibaba Cloud Model Studiosnapshot 0731dashscope/deepseek-v4-flash-0731$0.20$0.40$0.04–1M
Azure AI Foundryazure_ai/deepseek-v4-flash$0.19$0.51$0.028–1M
Azure AI Foundrysnapshot 0731azure_ai/DeepSeek-V4-Flash-0731$0.44$1.32$0.014–1M
Basetensnapshot 0731baseten/deepseek-ai/DeepSeek-V4-Flash-0731$0.13$0.26$0.028–1M
CLF AI Gatewayclf_ai_gateway/deepseek-v4-flash$0.176$0.528$0.005–1M
Databrickssnapshot 0731databricks/databricks-deepseek-v4-flash-0731$0.14$0.28$0.028$0.141M
DeepInfradeepinfra/deepseek-ai/DeepSeek-V4-Flash$0.09$0.18$0.018–1M
DeepInfrasnapshot 0731deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731$0.06$0.18$0.015–1M
EmpirioLabs AIsnapshot 0731empiriolabs/deepseek-v4-flash-0731$0.424$1.272––1M
EmpirioLabs AIsnapshot 0731empiriolabs/deepseek-v4-flash-0731:variant1$0.44$1.32––1M
Fireworks AIfireworks_ai/accounts/fireworks/models/deepseek-v4-flash$0.14$0.28$0.028–1M
Fireworks AIsnapshot 0731fireworks_ai/accounts/fireworks/models/deepseek-v4-flash-0731$0.22$0.66$0.007–1M
Fireworks AIfireworks_ai/deepseek-v4-flash$0.14$0.28$0.028–1M
Fireworks AIsnapshot 0731fireworks_ai/deepseek-v4-flash-0731$0.22$0.66$0.007–1M
GMI Cloudgmi/deepseek-ai/DeepSeek-V4-Flash$0.091$0.182$0.0182–1M
GMI Cloudsnapshot 0731gmi/deepseek-ai/DeepSeek-V4-Flash-0731$0.286$0.858$0.0091–1M
Inference APIsinferenceapis/deepseek-ai/DeepSeek-V4-Flash$0.19$0.38$0.04–1M
Inference APIssnapshot 0731inferenceapis/deepseek-ai/DeepSeek-V4-Flash-0731$0.19$0.38$0.04–1M
Inference APIsinferenceapis/deepseek-v4-flash$0.19$0.38$0.04–1M
Kyma APIkyma/deepseek-v4-flash$0.123$0.2458$0.0243–1M
Show 24 more listings
DeepSeek V4 Flash prices by provider in US dollars, token prices per 1M tokens, as of November 25, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readCache writeContext
LibertAIlibertai/deepseek-v4-flash$0.25$1.75––200K
Nebius AI Studionebius/deepseek-ai/DeepSeek-V4-Flash$0.14$0.28––1M
Nebius AI Studiosnapshot 0731nebius/deepseek-ai/DeepSeek-V4-Flash-0731$0.14$0.28$0.01–1M
Novita AInovita/deepseek/deepseek-v4-flash$0.14$0.28$0.028–1M
Novita AIsnapshot 0731novita/deepseek/deepseek-v4-flash-0731$0.44$1.32$0.028–1M
OpenRouteropenrouter/deepseek/deepseek-v4-flash$0.09$0.18$0.018–1M
Perplexitysnapshot 0731perplexity/perplexity/deepseek-v4-flash-0731$0.13$0.26$0.028––
Pinstripespinstripes/ps/deepseek-v4-flash$0.10$0.20––160K
Prismprism/deepseek-v4-flash$0.17$0.21$0.07–1M
Qianwen AI Platformqwen_ai_platform/deepseek-v4-flash$0.20$0.40$0.04–1M
Qianwen AI Platformsnapshot 0731qwen_ai_platform/deepseek-v4-flash-0731$0.20$0.40$0.04–1M
QwenCloudqwencloud/deepseek-v4-flash$0.20$0.40$0.04–1M
QwenCloudsnapshot 0731qwencloud/deepseek-v4-flash-0731$0.20$0.40$0.04–1M
ResetDataresetdata/deepseek/deepseek-v4-flash$0.07432$0.1486$0.01351–1M
Sailsnapshot 0731sail/deepseek-ai/DeepSeek-V4-Flash-0731$0.09$0.18$0.02–1M
Scalewaysnapshot 0731scaleway/deepseek-v4-flash-0731$0.40$0.80$0.08–256K
StreamLakestreamlake/deepseek-v4-flash$0.14$0.28$0.028–1M
StreamLakesnapshot 0731streamlake/deepseek-v4-flash-0731$0.44$1.32$0.014–1M
Tencent TokenHubtencent/deepseek-v4-flash$0.14$0.28$0.0028$01M
Tensormeshtensormesh/deepseek-ai/DeepSeek-V4-Flash$0.14$0.28$0–32K
Together AIsnapshot 0731together_ai/deepseek-ai/DeepSeek-V4-Flash-0731$0.14$0.28$0.03–1M
Wallysnapshot 0731wally/deepseek-v4-flash-0731$0.44$1.32$0.014–1M
Weights & Biaseswandb/deepseek-ai/DeepSeek-V4-Flash$0.14$0.28$0.07–1M
Weights & Biasessnapshot 0731wandb/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.

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.

Python SDK
from litellm import completion

response = completion(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: deepseek-v4-flash
    litellm_params:
      model: deepseek-v4-flash
      api_key: os.environ/DEEPSEEK_API_KEY
Call the proxy
curl 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

All model comparisons

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:

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.