DeepSeek 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 24, 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. Across 3 providers on LiteLLM, the input price ranges from $0.30 to $0.40. It has a 1,000,000-token context window and returns up to 393,216 tokens per response.
DeepSeek Flash pricing by provider
4 listings across 3 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-flash | $0.30 | $1.20 | $0.006 | $0 | 1M |
| DeepSeek | deepseek/deepseek-flash | $0.30 | $1.20 | $0.006 | $0 | 1M |
| Fireworks AIlatest alias | fireworks_ai/accounts/fireworks/routers/deepseek-flash-latest | $0.30 | $1.20 | $0.006 | – | 1M |
| Inference APIs | inferenceapis/deepseek-flash | $0.40 | $1.60 | $0.01 | – | 1M |
What DeepSeek Flash costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| DeepSeek | $1.20 |
| Fireworks AI | $1.20 |
| Inference APIs | $1.60 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| DeepSeek | $3.24 |
| Fireworks AI | $3.24 |
| Inference APIs | $4.32 |
DeepSeek 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 Flash features
Input: text, image. Output: text.
- Function calling
- Parallel tool calls
- Structured output
- Image input
- Reasoning
- Prompt caching
- Web search
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.
from litellm import completion
response = completion(
model="deepseek-flash",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: deepseek-flash
litellm_params:
model: deepseek-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-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. Across 3 providers on LiteLLM, the input price ranges from $0.30 to $0.40.
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 3 providers through LiteLLM: DeepSeek, Fireworks AI and Inference APIs. The lowest price is on DeepSeek.
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, prompt caching and web search.
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. 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.fireworks.ai/v1/serverless/models?format=nested
- inferenceapis.com/pricing
LiteLLM docs: DeepSeek, Fireworks AI, Inference APIs.
Provider pages: DeepSeek, Fireworks AI, Inference APIs.