DeepSeek-V3.1 API pricing
9 providers serve DeepSeek-V3.1. DeepSeek-V3.1 is a proprietary API model, up to 164K context. Prices below are per 1M tokens, cheapest input first.
Refreshed 2026-08-23 · list prices from provider APIs| Provider | Input $/1M | Output $/1M | Cache read $/1M | Context | |
|---|---|---|---|---|---|
| DeepInfra | $0.270 | $1.00output floor | $0.216 | 164K | Use |
| Novita AI | $0.270 | $1.00 | $0.135 | 131K | Use |
| Baseten | $0.500 | $1.50 | - | - | Use |
| Fireworks AI | $0.560 | $1.68 | - | 128K | Use |
| Together AI | $0.600 | $1.70 | - | 128K | Use |
| Google Vertex AI | $0.600 | $1.70 | - | 164K | Use |
| Replicate | $0.672 | $2.02 | - | 164K | Use |
| Azure AI Foundry | $1.23 | $4.94 | - | 131K | Use |
| SambaNova | $3.00 | $4.50 | - | 131K | Use |
The cheapest way to run DeepSeek-V3.1
On an illustrative 70M-input / 30M-output monthly workload, today's lowest listed cost is roughly $48.90/month — the same at DeepInfra and Novita AI. Input-heavy, output-heavy and cache-heavy workloads can produce different winners. Use the live mix calculator below rather than combining floors from two different providers. It is API-only, so the table above is your full set of options. Run your own numbers in the breakeven calculator, or read the breakeven math.
Your actual monthly cost
Cache read uses the listed cache rate where available; otherwise it falls back to normal input price. Batch, write-cache, volume and negotiated discounts are excluded.
Related models
| Model | Cheapest in $/1M | Cheapest out $/1M | Providers |
|---|---|---|---|
| DeepSeek R1 | $0.200 | $0.400 | 17 |
| DeepSeek V3 | $0.200 | $0.200 | 16 |
| DeepSeek R1 Distill Llama 70B | $0.200 | $0.375 | 10 |
| DeepSeek V3.2 | $0.269 | $0.400 | 9 |
| DeepSeek V4 Flash | $0.050 | $0.101 | 9 |
| DeepSeek V4 Pro | $0.435 | $0.870 | 6 |
FAQ
What is the cheapest API for DeepSeek-V3.1?
As of 2026-08-23, the lowest input price for DeepSeek-V3.1, $0.270 per 1M tokens, is the same list price at DeepInfra and Novita AI. The lowest output price, $1.00 per 1M tokens, is likewise shared by the same providers. The cheapest provider for a real workload depends on its input/output mix. The next-lowest input price is Baseten at $0.500, a 85% difference.
← All models · GPU rental prices · Breakeven calculator · Get this data as JSON