DeepSeek V3.1 API Cost Calculator
Estimate your monthly API costs for DeepSeek V3.1 from Deepseek.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| DeepSeek V3 0324 Deepseek | $0.2000 | $0.7700 |
| DeepSeek V3.1 Terminus Deepseek | $0.2100 | $0.7800 |
| DeepSeek V3.2 Exp Deepseek | $0.2700 | $0.4100 |
| DeepSeek V3.2 Deepseek | $0.2600 | $0.3800 |
| DeepSeek V3 Deepseek | $0.3200 | $0.8900 |
Frequently Asked Questions
How much does DeepSeek V3.1 cost per token?
DeepSeek V3.1 is priced at $0.1500 per 1M input tokens and $0.7500 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for DeepSeek V3.1?
DeepSeek V3.1 has a context window of 32.8K tokens (32,768 tokens). The maximum output length is 7.2K tokens.
Does DeepSeek V3.1 support function calling (tool use)?
Yes, DeepSeek V3.1 supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does DeepSeek V3.1 compare to similar models?
DeepSeek V3.1 costs $0.1500 input and $0.7500 output per 1M tokens. DeepSeek V3.2 is less expensive at $0.2600 input and $0.3800 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the DeepSeek V3.2 page at /tools/cost-calculator/deepseek/deepseek-v3-2.