DeepSeek-V3.1 API Pricing
DeepSeek-V3.1 on DeepInfra costs $0.25 per 1M input tokens and $0.95 per 1M output tokens (as of ).
| Input | $0.25 / 1M tokens |
|---|---|
| Output | $0.95 / 1M tokens |
| Cached input (read) | $0.22 |
| Cache write | — |
| Batch input / output | — |
| Above 200K tokens (input / output) | — |
| Context window | 164K tokens |
| Max output | 164K tokens |
| Supports | tool calling, reasoning |
| Deprecation date | None listed |
| API model id | deepseek-ai/DeepSeek-V3.1 |
| In our records since |
What it costs for common jobs
Estimated from the list price above (no caching or batch discount).
| Job | Estimated cost |
|---|---|
| 1,000 chat replies (2,000 tokens in, 500 out each) | $0.97 |
| Summarising 100 long documents (50,000 in, 1,000 out each) | $1.34 |
| 1 million classification calls (300 in, 5 out each) | $79.75 |
Try your own numbers in the LLM API cost calculator.
Price history
- Between and : output price changed from $1.00 to $0.95 per 1M tokens.
- Between and : input price changed from $0.27 to $0.25 per 1M tokens.
Similarly priced models
| Model | Provider | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|---|
| MiniMax-M2.7 | DeepInfra | $0.25 | $1.00 | $0.05 | 197K |
| Step-3.7-Flash | DeepInfra | $0.20 | $1.15 | $0.04 | 262K |
| DeepSeek-V3-0324 | DeepInfra | $0.24 | $0.90 | $0.14 | 164K |
| MythoMax-L2-13b | DeepInfra | $0.40 | $0.40 | — | 4K |
| Meta-Llama-3.1-70B-Instruct | DeepInfra | $0.40 | $0.40 | — | 131K |
| Meta-Llama-3.1-70B-Instruct-Turbo | DeepInfra | $0.40 | $0.40 | — | 131K |
| Mixtral-8x7B-Instruct-v0.1 | DeepInfra | $0.40 | $0.40 | — | 33K |
| DeepSeek-V3.1-Terminus | DeepInfra | $0.27 | $1.00 | $0.22 | 164K |