API pricing
DeepSeek API pricing
DeepSeek API prices run from $0.15 per million input tokens (DeepSeek V4 Flash) to $0.66 (DeepSeek V4 Pro). Its highest-ranked model, DeepSeek V4 Pro, costs $0.66 input and $1.98 output per million tokens.
Last verified
Official price list: api-docs.deepseek.com
| Cached input | ||||||
|---|---|---|---|---|---|---|
| DeepSeek V4 Flash (open weights) | $0.15 | $0.60 | $0.003 | $0.26 | 1M | 53.6 |
| DeepSeek V4 Flash Vision Exp (open weights) | $0.15 | $0.60 | $0.003 | $0.26 | 1M | — |
| DeepSeek V4.1 Flash (open weights) | $0.15 | $0.60 | $0.003 | $0.26 | 1M | 52.8 |
| DeepSeek-V3.2-Exp (open weights) | $0.26 | $0.38 | $0.13 | $0.29 | 164K | 44.3 |
| DeepSeek-V3 (open weights) | $0.24 | $0.90 | $0.14 | $0.41 | 164K | 39.5 |
| DeepSeek-V3.1 (open weights) | $0.25 | $0.95 | $0.13 | $0.42 | 164K | 42.8 |
| DeepSeek-V3.1-Terminus (open weights) | $0.27 | $1 | — | $0.45 | 164K | 43.1 |
| DeepSeek-V3.2-Speciale (open weights) | $0.58 | $1.68 | — | $0.85 | 128K | 39.7 |
| DeepSeek-R1 | $0.50 | $2.15 | $0.35 | $0.91 | 164K | 42.3 |
| DeepSeek V4 Pro (open weights) | $0.66 | $1.98 | $0.022 | $0.99 | 1M | 54.3 |
Prices on other platforms
The same models are often sold through clouds and resellers at different rates.
| Model | Route | Input | Output | Checked |
|---|---|---|---|---|
| DeepSeek V4 Pro | azure | $1.74 | $3.48 | 2026-10-10 |
| deepinfra | $1.30 | $2.60 | 2026-10-10 | |
| deepseek | $0.66 | $1.98 | 2026-10-10 | |
| openrouter | $0.21 | $0.42 | 2026-10-10 | |
| together | $1.32 | $3.96 | 2026-10-10 | |
| DeepSeek V4 Flash | alibaba | $0.20 | $0.40 | 2026-10-10 |
| azure | $0.19 | $0.51 | 2026-10-10 | |
| deepinfra | $0.06 | $0.18 | 2026-10-10 | |
| deepseek | $0.15 | $0.60 | 2026-10-10 | |
| openrouter | $0.03 | $1.28 | 2026-10-10 | |
| together | $0.14 | $0.28 | 2026-10-10 | |
| DeepSeek V4.1 Flash | deepinfra | $0.20 | $0.60 | 2026-10-10 |
| deepseek | $0.15 | $0.60 | 2026-10-10 | |
| fireworks | $0.30 | $1.20 | 2026-10-10 | |
| openrouter | $0.30 | $1.20 | 2026-10-10 | |
| together | $0.30 | $1.20 | 2026-10-10 | |
| DeepSeek-V3.2-Exp | azure | $0.58 | $1.68 | 2026-10-10 |
| bedrock | $0.62 | $1.85 | 2026-10-10 | |
| deepinfra | $0.26 | $0.38 | 2026-10-10 | |
| openrouter | $0.27 | $0.41 | 2026-10-10 | |
| vertex | $0.56 | $1.68 | 2026-10-10 | |
| DeepSeek-V3.1-Terminus | openrouter | $0.27 | $1 | 2026-10-10 |
| DeepSeek-V3.1 | bedrock | $0.58 | $1.68 | 2026-10-10 |
| deepinfra | $0.25 | $0.95 | 2026-10-10 | |
| openrouter | $0.25 | $0.95 | 2026-10-10 | |
| together | $0.60 | $1.70 | 2026-10-10 | |
| vertex | $0.60 | $1.70 | 2026-10-10 | |
| DeepSeek-R1 | azure | $1.35 | $5.40 | 2026-10-10 |
| bedrock | $1.35 | $5.40 | 2026-10-10 | |
| deepinfra | $0.50 | $2.15 | 2026-10-10 | |
| openrouter | $0.70 | $2.50 | 2026-10-10 | |
| together | $3 | $7 | 2026-10-10 | |
| DeepSeek-V3.2-Speciale | azure | $0.58 | $1.68 | 2026-10-10 |
| DeepSeek-V3 | deepinfra | $0.24 | $0.90 | 2026-10-10 |
| openrouter | $0.32 | $0.89 | 2026-10-10 | |
| together | $1.25 | $1.25 | 2026-10-10 | |
| DeepSeek V4 Flash Vision Exp | deepinfra | $0.44 | $1.32 | 2026-10-10 |
| deepseek | $0.15 | $0.60 | 2026-10-10 | |
| openrouter | $0.22 | $0.65 | 2026-10-10 |
Frequently asked questions
How much does the DeepSeek API cost?
DeepSeek API prices run from $0.15 per million input tokens (DeepSeek V4 Flash) to $0.66 (DeepSeek V4 Pro). Its highest-ranked model, DeepSeek V4 Pro, costs $0.66 input and $1.98 output per million tokens.
Does DeepSeek discount cached input?
Yes. Cached input is billed at a lower rate on 8 of the 10 priced models; the cached rate is listed next to each model.