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

- Page: https://models.litellm.ai/models/deepseek-v4.1-flash
- Lab: DeepSeek
- LiteLLM model name: `sail/deepseek-ai/DeepSeek-V4.1-Flash`
- Context window: 1,048,576 tokens
- Max output: 1,048,576 tokens
- Added to LiteLLM: September 11, 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | 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 |

## Cost examples

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

## Features

Supported: Function calling, Parallel tool calls, Structured output, Image input, Reasoning, Prompt caching.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="sail/deepseek-ai/DeepSeek-V4.1-Flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

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

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
