# DeepSeek V4 Flash vs DeepSeek V4.1 Flash

As of October 21, 2026, DeepSeek V4 Flash costs 233% more per input token than DeepSeek V4.1 Flash ($0.30 vs $0.09 per 1M) and has a 1,000,000-token context window versus 1,048,576.

- Page: https://models.litellm.ai/compare/deepseek-v4-flash-vs-deepseek-v4.1-flash
- DeepSeek V4 Flash: https://models.litellm.ai/models/deepseek-v4-flash
- DeepSeek V4.1 Flash: https://models.litellm.ai/models/deepseek-v4.1-flash

## Side by side

| | DeepSeek V4 Flash | DeepSeek V4.1 Flash |
|---|---|---|
| Input, per 1M tokens | $0.30 | $0.09 |
| Output, per 1M tokens | $1.20 | $0.30 |
| Cache read, per 1M tokens | $0.006 | $0.006 |
| Cache write, per 1M tokens | $0 | – |
| Context window | 1,000,000 tokens | 1,048,576 tokens |
| Max output | 393,216 tokens | 1,048,576 tokens |
| Image input | Yes | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 23 | 14 |
| Price shown is from | DeepSeek | Sail |
| Added to LiteLLM | June 2026 | September 11, 2026 |

Headline prices in USD per 1M tokens, from LiteLLM's model price file.

## Cheapest provider for each

- DeepSeek V4 Flash: DeepInfra at $0.08 input per 1M tokens (`deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731`)
- DeepSeek V4.1 Flash: Sail at $0.09 input per 1M tokens (`sail/deepseek-ai/DeepSeek-V4.1-Flash`)

## Benchmark scores

| Benchmark | DeepSeek V4 Flash | DeepSeek V4.1 Flash |
|---|---|---|
| FrontierCode (Coding and agents) | 18.8% | 43.9% (high) |
| GPQA Diamond (Reasoning and knowledge) | 91.0% (max) | 89.8% (max) |
| ARC-AGI-2 (Reasoning and knowledge) | 61.4% (max) | 72.9% (max) |
| SimpleQA Verified (Reasoning and knowledge) | 33.6% (max) | 42.9% (max) |
| FrontierMath (tiers 1-3) (Math) | 57.5% (max) | 67.4% (max) |
| FrontierMath (tier 4) (Math) | 24.4% (max) | 26.8% (max) |
| OTIS Mock AIME 2024-2025 (Math) | 94.4% (max) | 98.3% (max) |

From the Epoch AI Benchmarking Hub (https://epoch.ai/benchmarks), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), data as of October 13, 2026: Epoch's own runs and results it collects from each benchmark's leaderboard. Higher is better.

## When to pick which

- DeepSeek V4.1 Flash: Costs 70% less per input token: $0.09 vs $0.30 per 1M.
- DeepSeek V4.1 Flash: Returns up to 1,048,576 tokens per response, vs 393,216.

## FAQ

### Which is cheaper, DeepSeek V4 Flash or DeepSeek V4.1 Flash?

DeepSeek V4.1 Flash is cheaper at 3 input tokens per output token: $0.1425 per 1M tokens blended ($0.09 input, $0.30 output), versus $0.525 ($0.30 and $1.20) for DeepSeek V4 Flash, as of October 21, 2026.

### Which has the larger context window, DeepSeek V4 Flash or DeepSeek V4.1 Flash?

DeepSeek V4.1 Flash has the larger context window: 1,048,576 tokens, versus 1,000,000 for DeepSeek V4 Flash.

### Can I switch from DeepSeek V4 Flash to DeepSeek V4.1 Flash without changing my code?

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "deepseek-v4-flash" to "sail/deepseek-ai/DeepSeek-V4.1-Flash", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.
