API pricing and cost
DeepSeek-V3.1 pricing
DeepSeek-V3.1 official API pricing is $0.25 per million input tokens and $0.95 per million output tokens. Third-party provider prices are compared below.
Covers the 2025-08-20 DeepSeek-V3.1 release. Superseded by DeepSeek V3.2 pricing.
$0.25
Official input / 1M
Standard tier
$0.95
Official output / 1M
Standard tier
$0.304
Blended / 1M
4:1 input/output, 90% input cached
$30.36
Example monthly cost
10K requests, 8K input + 2K output/request, 90% input cached
Token charges only; tool calls, taxes, and other non-token fees are excluded.
Official API pricing
USD / 1M text tokens · Standard · Effective from 2026-11-13 · Last verified 2026-11-14
- InputStandard text tier, per million tokens
- $0.25
- Cached inputInput served from the prompt cache
- $0.13
- OutputStandard text tier, per million tokens
- $0.95
API providers (4)
Published USD text API rates across hosting providers for DeepSeek-V3.1. Compare listed rates, effective dates, and service-tier notes for the same model.
On the example assistant workload above (10K requests, 8K input + 2K output/request, 90% input cached; missing cache rates billed at full input), DeepInfra lists the lowest flat-rate total at $30.36/month.
| Provider | Input / 1M | Cached / 1M | Output / 1M | Additional tiers & notes |
|---|---|---|---|---|
| DeepInfraEffective from 2026-11-13 | $0.25Lowest input | $0.13 | $0.95Lowest output | — |
| AmazonEffective from 2026-11-14 | $0.58 | — | $1.68 | Flex: $0.29/$0.84; Priority: $1.015/$2.94 per 1M tokens. |
| Google Cloud Vertex AIEffective from 2026-11-14 | $0.60 | $0.06 | $1.70 | Batch: $0.3/$0.85 per 1M tokens. |
| MicrosoftEffective from 2026-11-14 | $1.23 | — | $4.94 | — |
What DeepSeek-V3.1 costs to run
Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.
| Workload | Per request | Monthly tokens | Input | Output | Per month |
|---|---|---|---|---|---|
| Chatbotshort turns | 1,500 in · 500 out× 100,000 requests | 150M in · 50M out | $37.50 | $47.50 | $85.00$0.00085 / request |
| Assistant8K context · 90% cached | 8,000 in · 2,000 out× 10,000 requests | 80M in · 20M out | $11.36 | $19.00 | $30.36$0.003036 / request |
| RAGlong input, cached · 50% cached | 24,000 in · 800 out× 20,000 requests | 480M in · 16M out | $91.20 | $15.20 | $106.40$0.00532 / request |
| Coding agentlong output · 70% cached | 15,000 in · 4,000 out× 20,000 requests | 300M in · 80M out | $49.80 | $76.00 | $125.80$0.00629 / request |
Monthly cost
$30.36
on DeepSeek-V3.1
Per request
$0.003036
80M in · 20M out a month
Split
$11.36 + $19.00
input + output
The same workload costs $29.20 on Qwen3-Next, the cheapest of the comparable models below.
- Qwen3-NextAlibaba · $0.292 / 1M blended$29.20
- Llama3-8B-InstructFacebook AI Research Lab · $0.36 / 1M blended$36.00
- GPT-4.1 miniOpenAI · $0.424 / 1M blended$42.40
- DeepSeek-R1-0528DeepSeek-AI · $0.722 / 1M blended$72.20
- OpenAI o3OpenAI · $2.12 / 1M blended$212.00
- DeepSeek-R1DeepSeek-AI · $2.16 / 1M blended$216.00
DeepSeek-V3.1 against comparable models
Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.
| Model | Basis | Blended / 1M | Per month | vs DeepSeek-V3.1 |
|---|---|---|---|---|
| Qwen3-NextAlibaba | Lower-cost option | $0.292 | $29.20 | 3.8%cheaper |
| DeepSeek-V3.1DeepSeek-AI · this model | This model | $0.304 | $30.36 | — |
| Llama3-8B-InstructFacebook AI Research Lab | Similar price | $0.36 | $36.00 | 19%dearer |
| GPT-4.1 miniOpenAI | Similar price | $0.424 | $42.40 | 40%dearer |
| DeepSeek-R1-0528DeepSeek-AI | Shared benchmark coverage | $0.722 | $72.20 | 138%dearer · 2.4× |
| OpenAI o3OpenAI | Shared benchmark coverage | $2.12 | $212.00 | 598%dearer · 7× |
| DeepSeek-R1DeepSeek-AI | Shared benchmark coverage | $2.16 | $216.00 | 611%dearer · 7.1× |
Catalog price position: #75 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 71% at the 4:1 mix with 90% of input assumed cached where published; official headline rates).
DeepSeek-V3.1 pricing questions
- How much does DeepSeek-V3.1 cost per million tokens?
- DeepSeek-V3.1 official API pricing is $0.25 per million input tokens and $0.95 per million output tokens. Cached input is billed at $0.13 per million tokens. At the default 4:1 input-to-output mix with 90% of input assumed cached, that is $0.304 per million blended tokens.
- What does DeepSeek-V3.1 cost per month, and what is included?
- On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request, 90% input cached), DeepSeek-V3.1 costs about $30.36/month ($0.003036/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
- Is there a cheaper alternative to DeepSeek-V3.1?
- Among the comparable models shown on this page, Qwen3-Next is cheaper at $0.292 per million blended tokens vs $0.304 for DeepSeek-V3.1. Compare benchmarks before switching, as a lower rate does not guarantee equivalent quality or service terms. Across all 252 active priced models in the LLMLearner catalog, DeepSeek-V3.1 ranks 75th cheapest (cheaper than 71% at the default 4:1 mix).
- Does DeepSeek-V3.1 charge for cached input?
- Yes, at a discount: $0.13 per million cached input tokens against $0.25 uncached.