LiteLLMModels

DeepSeek Flash API Pricing

As of October 10, 2026, DeepSeek 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. It has a 1,000,000-token context window and returns up to 393,216 tokens per response.

By DeepSeekModel ID deepseek-flashPrices updated Checked
Input
$0.30 / 1M tokens
Output
$1.20 / 1M tokens
Cache read
$0.006 / 1M tokens
Context window
1,000,000 tokens
Max output
393,216 tokens
Providers
1
Added to LiteLLM
September 11, 2026

DeepSeek Flash pricing by provider

2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readCache writeContext
DeepSeekdeepseek-flash$0.30$1.20$0.006$01M
DeepSeekdeepseek/deepseek-flash$0.30$1.20$0.006$01M

What DeepSeek Flash costs in practice

1,000 requests with 2,000 input and 500 output tokens each

DeepSeek$1.20

100 long-document requests with 100,000 input and 2,000 output tokens each

DeepSeek$3.24

DeepSeek Flash features

Use DeepSeek Flash with LiteLLM

Call DeepSeek 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-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: deepseek-flash
    litellm_params:
      model: deepseek-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 sk-1234" \
  -d '{
    "model": "deepseek-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

DeepSeek Flash FAQ

How much does DeepSeek Flash cost?

DeepSeek 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.

What is the context window of DeepSeek Flash?

DeepSeek Flash has a 1,000,000-token context window and returns up to 393,216 tokens per response.

Which providers offer DeepSeek Flash?

DeepSeek Flash is available from DeepSeek through LiteLLM, using the model name deepseek-flash.

How do I call DeepSeek Flash with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="deepseek-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 Flash support?

DeepSeek Flash supports function calling, parallel tool calls, structured output, image input, reasoning and prompt caching.

When did LiteLLM add DeepSeek Flash?

DeepSeek Flash was added to LiteLLM's model price file on September 11, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: DeepSeek.

Provider pages: DeepSeek.