DeepSeek API pricing
Prices synced November 22, 2026 from OpenRouter
DeepSeek's API costs $0.0443–$1.32 per million input tokens and $0.1992–$3.96 per million output tokens across its 5 current models (November 2026). The cheapest is DeepSeek V4.1 Flash at $0.0498/$0.1992; the most expensive is DeepSeek V4 Pro 0813 at $1.32/$3.96. On the newest, DeepSeek V4.1 Flash 1017, a month of daily AI coding comes to roughly $0.70–$28.
Current models
| Model | Input /1M | Output /1M | Cache read | Context | Coding month* | Released |
|---|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.15 | $0.60 | $0.003 | 1M | $0.70–$28 | Oct 2026 |
| DeepSeek V4.1 Flash | $0.0498 | $0.1992 | $0.001 | 1M | $0.23–$9 | Sep 2026 |
| DeepSeek V4 Flash Vision Exp | $0.2156 | $0.6468 | $0.0069 | 1M | $0.93–$35 | Aug 2026 |
| DeepSeek V4 Pro 0813 | $1.32 | $3.96 | $0.044 | 1M | $6–$215 | Aug 2026 |
| DeepSeek V4 Flash 0731 | $0.0443 | $0.30 | $0.035 | 1M | $0.88–$14 | Jul 2026 |
Batch prices
| Model | Batch input | Batch output | vs standard |
|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.035 | $0.149 | 75% off |
| DeepSeek V4.1 Flash | $0.05 | $0.15 | 25% off |
| DeepSeek V4 Flash 0731 | $0.048 | $0.144 | 52% off |
Older models
Released over six months ago or scheduled for retirement. Still callable, priced as listed.
| Model | Input /1M | Output /1M | Cache read | Context | Coding month* | Released |
|---|---|---|---|---|---|---|
| DeepSeek V4 Pro 0423 | $0.90 | $1.50 | $0.20 | 1M | $6–$133 | Apr 2026 |
| DeepSeek V4 Flash 0423 | $0.09 | $0.18 | $0.018 | 1M | $0.60–$14 | Apr 2026 |
| DeepSeek V3.2 | $0.26 | $0.38 | $0.13 | 164k | $3–$43 | Dec 2025 |
| DeepSeek V3.2 Exp | $0.27 | $0.41 | — | 164k | $5–$57 | Sep 2025 |
| DeepSeek V3.1 Terminus | $0.27 | $1 | — | 164k | $6–$72 | Sep 2025 |
| DeepSeek V3.1 | $0.25 | $0.95 | $0.13 | 164k | $3–$56 | Aug 2025 |
| R1 0528 | $0.571 | $2.29 | — | 164k | $12–$155 | May 2025 |
| DeepSeek V3 0324 | $0.25 | $1 | — | 164k | $5–$68 | Mar 2025 |
| DeepSeek V3 | $0.2574 | $1.03 | — | 164k | $6–$70 | Dec 2024 |
Frequently asked questions
How much does the DeepSeek API cost?
DeepSeek's API costs $0.0443–$1.32 per million input tokens and $0.1992–$3.96 per million output tokens across its 5 current models (November 2026). The cheapest is DeepSeek V4.1 Flash at $0.0498/$0.1992; the most expensive is DeepSeek V4 Pro 0813 at $1.32/$3.96. On the newest, DeepSeek V4.1 Flash 1017, a month of daily AI coding comes to roughly $0.70–$28.
Does DeepSeek offer cheaper batch pricing?
Yes. 3 of 5 current DeepSeek models have a batch tier, typically around half the normal price, for jobs that don't need an instant reply.
Does DeepSeek discount cached input?
5 of 5 current models list a cache-read price. In agentic coding most input is re-read context, so the cache price matters more than the headline input price.
Other providers
Coding-month ranges assume 20M–200M tokens of agentic use; see the methodology. Prices are OpenRouter list prices from openrouter.ai/models, which normally match DeepSeek's own. To price a whole build, run the estimator.