DeepSeek Coder pricing
Source: litellm · updated 2026-11-16
Short answer: DeepSeek Coder costs $0.140 per million input tokens and $0.280 per million output tokens. That is a 3:1 blended rate of $0.175 per million tokens, ranking it #206 of 822 tracked models by input price.
Input / 1M
$0.140
Output / 1M
$0.280
Output ÷ input
2.00×
Context window
128,000
Price breakdown
| Metric | USD |
|---|---|
| Input, per 1M tokens | $0.140 |
| Output, per 1M tokens | $0.280 |
| Output ÷ input multiple | 2.00× |
| 3:1 blended, per 1M tokens | $0.175 |
| Context window | 128,000 tokens |
| Vendor | deepseek |
What a typical workload costs
| Monthly volume | Input cost | Output cost | Total |
|---|---|---|---|
| 1M in / 250K out | $0.140 | $0.070 | $0.210 |
| 10M in / 2.5M out | $1.40 | $0.700 | $2.10 |
| 100M in / 25M out | $14.00 | $7.00 | $21.00 |
Other deepseek models
| Model | Input | Output |
|---|---|---|
| DeepSeek V4 Flash 0731 | $0.048 | $0.144 |
| DeepSeek V4.1 Flash 1017 | $0.050 | $0.150 |
| DeepSeek V4 Pro 0813 | $0.111 | $4.44 |
| DeepSeek V4.1 Flash | $0.112 | $0.336 |
| DeepSeek Chat V3.1 | $0.250 | $0.950 |
Compare against
Cheaper alternatives
Next cheaper option: DeepSeek V4.1 Flash at $0.112 per 1M input tokens. Next step up: Llama Guard 4 12 B at $0.180 per 1M input tokens.
Spotted a price that is out of date? Submit a correction.