DeepSeek V4.1 Flash API Pricing
As of October 10, 2026, DeepSeek V4.1 Flash costs $0.15 per 1M input tokens and $0.60 per 1M output tokens from Sail, the lowest of 8 providers, with cache reads at $0.006 per 1M tokens. It has a 1,048,576-token context window and returns up to 1,048,576 tokens per response.
- Input
- $0.15 / 1M tokens
- Output
- $0.60 / 1M tokens
- Cache read
- $0.006 / 1M tokens
- Context window
- 1,048,576 tokens
- Max output
- 1,048,576 tokens
- Providers
- 8
- Added to LiteLLM
- September 11, 2026
DeepSeek V4.1 Flash pricing by provider
9 listings across 8 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 | Context |
|---|---|---|---|---|---|
| Sail | sail/deepseek-ai/DeepSeek-V4.1-Flash | $0.15 | $0.60 | $0.006 | 1M |
| Azure AI Foundry | azure_ai/deepseek-v4.1-flash | $0.30 | $1.20 | $0.006 | 1M |
| Baseten | baseten/deepseek-ai/DeepSeek-V4.1-Flash | $0.30 | $1.20 | $0.007 | 1M |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/deepseek-v4p1-flash | $0.30 | $1.20 | $0.006 | 1M |
| Fireworks AI | fireworks_ai/deepseek-v4p1-flash | $0.30 | $1.20 | $0.006 | 1M |
| Nebius AI Studio | nebius/deepseek-ai/DeepSeek-V4.1-Flash | $0.30 | $1.20 | – | 1M |
| Prism | prism/deepseek-v4.1-flash | $0.17 | $0.63 | $0.07 | 1M |
| Together AI | together_ai/deepseek-ai/DeepSeek-V4.1-Flash | $0.30 | $1.20 | $0.006 | 1M |
| Weights & Biases | wandb/deepseek-ai/DeepSeek-V4.1-Flash | $0.20 | $0.65 | $0.03 | 1M |
Other DeepSeek V4.1 Flash prices on Sail
| Flex input | $0.08 per 1M tokens |
| Flex output | $0.30 per 1M tokens |
What DeepSeek V4.1 Flash costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Sail | $0.60 |
| Prism | $0.655 |
| Weights & Biases | $0.725 |
| Azure AI Foundry | $1.20 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Sail | $1.62 |
| Prism | $1.826 |
| Weights & Biases | $2.13 |
| Azure AI Foundry | $3.24 |
DeepSeek V4.1 Flash features
- Function calling
- Parallel tool calls
- Structured output
- Image input
- Reasoning
- Prompt caching
Use DeepSeek V4.1 Flash with LiteLLM
Call DeepSeek V4.1 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="sail/deepseek-ai/DeepSeek-V4.1-Flash",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: deepseek-v4.1-flash
litellm_params:
model: sail/deepseek-ai/DeepSeek-V4.1-Flash
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "deepseek-v4.1-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'DeepSeek V4.1 Flash FAQ
How much does DeepSeek V4.1 Flash cost?
DeepSeek V4.1 Flash costs $0.15 per 1M input tokens and $0.60 per 1M output tokens from Sail, the lowest of 8 providers, with cache reads at $0.006 per 1M tokens.
What is the context window of DeepSeek V4.1 Flash?
DeepSeek V4.1 Flash has a 1,048,576-token context window and returns up to 1,048,576 tokens per response.
Which providers offer DeepSeek V4.1 Flash?
DeepSeek V4.1 Flash is available from 8 providers through LiteLLM: Sail, Azure AI Foundry, Baseten, Fireworks AI, Nebius AI Studio, Prism, Together AI and Weights & Biases. The lowest price is on Sail.
How do I call DeepSeek V4.1 Flash with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="sail/deepseek-ai/DeepSeek-V4.1-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.1 Flash support?
DeepSeek V4.1 Flash supports function calling, parallel tool calls, structured output, image input, reasoning and prompt caching.
When did LiteLLM add DeepSeek V4.1 Flash?
DeepSeek V4.1 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:
- docs.sailresearch.com/models
- techcommunity.microsoft.com/blog/azure-ai-foundry-blog/deepseek-v4-1-flash-is-coming-to-microsoft-foundry/4556431
- inference.baseten.co/v1/models
- docs.fireworks.ai/serverless/pricing
LiteLLM docs: Sail, Azure AI Foundry, Baseten, Fireworks AI, Nebius AI Studio, Prism.
Provider pages: Sail, Azure AI Foundry, Baseten, Fireworks AI, Nebius AI Studio, Prism, Together AI, Weights & Biases.
