DeepSeek API
DeepSeek V4 Flash (legacy alias) API Pricing 2026 — Cost per 1 Million Tokens
Current DeepSeek V4 Flash (legacy alias) API pricing from DeepSeek per 1 million tokens, including input, output and cached-token rates when available.
| Model | Rate | Price / 1M tokens |
|---|---|---|
| DeepSeek V4 Flash (legacy alias) Legacy API alias. The original V4 Flash model is retired; requests to deepseek-v4-flash are served by DeepSeek V4.1 Flash and billed at the Flash price. Legacy alias → DeepSeek V4.1 Flash · 1M context · max output 384K · vision · thinking/non-thinking. Legacy alias retained for compatibility. DeepSeek states the original V4 Flash is retired; this alias now routes to V4.1 Flash and uses the V4.1 Flash peak/off-peak prices. | Input — cache hit, peak | $0.006 |
| DeepSeek V4 Flash (legacy alias) | Input — cache miss, peak | $0.3 |
| DeepSeek V4 Flash (legacy alias) | Output — peak | $1.2 |
| DeepSeek V4 Flash (legacy alias) | Input — cache hit, off-peak | $0.003 |
| DeepSeek V4 Flash (legacy alias) | Input — cache miss, off-peak | $0.15 |
| DeepSeek V4 Flash (legacy alias) | Output — off-peak | $0.6 |
How API token cost is calculated
Multiply the number of tokens by the provider rate, then divide by 1,000,000.
cost = tokens × price per 1M ÷ 1,000,000
Example: 250,000 input tokens at $2 / 1M = $0.50.
AI Price History
- DeepSeek V4 Flash (legacy alias) — Input — cache hit, peak $0.014 → $0.006
- DeepSeek V4 Flash (legacy alias) — Input — cache miss, peak $0.44 → $0.3
- DeepSeek V4 Flash (legacy alias) — Output — peak $1.32 → $1.2
- DeepSeek V4 Flash (legacy alias) — Input — cache hit, off-peak $0.007 → $0.003
- DeepSeek V4 Flash (legacy alias) — Input — cache miss, off-peak $0.22 → $0.15
- DeepSeek V4 Flash (legacy alias) — Output — off-peak $0.66 → $0.6
- DeepSeek V4 Flash — Input — cache hit, peak $0.0028 → $0.014
- DeepSeek V4 Flash — Input — cache miss, peak $0.14 → $0.44
- DeepSeek V4 Flash — Output — peak $0.28 → $1.32