LiteLLMModels

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.

By DeepSeekModel ID sail/deepseek-ai/DeepSeek-V4.1-FlashPrices updated Checked
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.

ProviderModel name in LiteLLMInputOutputCache readContext
Sailsail/deepseek-ai/DeepSeek-V4.1-Flash$0.15$0.60$0.0061M
Azure AI Foundryazure_ai/deepseek-v4.1-flash$0.30$1.20$0.0061M
Basetenbaseten/deepseek-ai/DeepSeek-V4.1-Flash$0.30$1.20$0.0071M
Fireworks AIfireworks_ai/accounts/fireworks/models/deepseek-v4p1-flash$0.30$1.20$0.0061M
Fireworks AIfireworks_ai/deepseek-v4p1-flash$0.30$1.20$0.0061M
Nebius AI Studionebius/deepseek-ai/DeepSeek-V4.1-Flash$0.30$1.20–1M
Prismprism/deepseek-v4.1-flash$0.17$0.63$0.071M
Together AItogether_ai/deepseek-ai/DeepSeek-V4.1-Flash$0.30$1.20$0.0061M
Weights & Biaseswandb/deepseek-ai/DeepSeek-V4.1-Flash$0.20$0.65$0.031M

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

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.

Python SDK
from litellm import completion

response = completion(
    model="sail/deepseek-ai/DeepSeek-V4.1-Flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
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 page
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-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:

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.