DeepSeek-V3.1 API pricing
10 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-28 · list prices from provider APIs| Provider | Input $/1M | Output $/1M | Cache read $/1M | Context | |
|---|---|---|---|---|---|
| DeepInfra | $0.250 | $0.950output floor | $0.216 | 164K | Use |
| Novita AI | $0.270 | $1.00 | $0.135 | 131K | Use |
| Baseten | $0.500 | $1.50 | - | - | Use |
| W&B Inference | $0.550 | $1.65 | - | 161K | 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 $46.00/month, at DeepInfra. 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 V4 Flash | $0.050 | $0.100 | 13 |
| DeepSeek V3.2 | $0.260 | $0.380 | 10 |
| DeepSeek V4 Pro | $0.435 | $0.870 | 10 |
| DeepSeek R1 Distill Llama 70B | $0.200 | $0.375 | 10 |
FAQ
What is the cheapest API for DeepSeek-V3.1?
As of 2026-08-28, the lowest input price for DeepSeek-V3.1 is DeepInfra at $0.250 per 1M input tokens. The lowest output price is DeepInfra at $0.950 per 1M output tokens. The cheapest provider for a real workload depends on its input/output mix. The next-lowest input price is Novita AI at $0.270, a 8% difference.
← All models · GPU rental prices · Breakeven calculator · Get this data as JSON