DeepSeek API pricing
Every DeepSeek model we track, with the cheapest input and output rates per 1M tokens across 34 providers next to DeepSeek's own API price. Collected daily.
DeepSeek API prices by model
Standard (real-time) rates per 1M tokens, newest first. The cheapest input and the cheapest output are often on different hosts, so each is shown with its own host. Batch and cached-input rates are on each model page.
| Model | Cheapest input | Cheapest output |
|---|---|---|
| DeepSeek V4.1 Flash | $0.035OpenRelay | $0.196Liquid Inference |
| DeepSeek V4 Pro1.0M context | $0.600IteraCompute | $1.50OpenRouter |
| DeepSeek V4 Flash1.0M context | $0.060Deep Infra | $0.100Liquid Inference |
| DeepSeek V4 Flash Vision | $0.216Deep Infra | $0.647Deep Infra |
| DeepSeek V3.2 | $0.209GMI Cloud | $0.310GMI Cloud |
| DeepSeek V3.133K context | $0.200Liquid Inference | $0.701Liquid Inference |
| DeepSeek V3.1 Terminus | $0.270OpenRouter | $1.00OpenRouter |
| DeepSeek V364K context | $0.290GMI Cloud | $0.889Liquid Inference |
| DeepSeek R1 0528 Qwen3 8B | $0.060Novita AI | $0.090Novita AI |
| DeepSeek R1 Distill Qwen 1.5B | $0.180Together AI | $0.180Together AI |
| DeepSeek R164K context | $0.500Deep Infra | $2.15Deep Infra |
| DeepSeek R1 Distill Llama 70B | $2.00Together AI | $2.00Together AI |
| DeepSeek R1 Distill Qwen 14B | $1.60Together AI | $1.60Together AI |
| DeepSeek R1 Distill Qwen 32B | $0.270Liquid Inference | $0.270Liquid Inference |
| DeepSeek Coder 33B16K context | $0.800Together AI | $0.800Together AI |
Official column shows input / output per 1M tokens on DeepSeek's own API.
DeepSeek API prices: standard, cached input and batch
Rates per 1M tokens on DeepSeek's own API. Cached input is the price of a prompt prefix the API has already seen; batch requests run asynchronously and can take hours. A dash means DeepSeek publishes no rate for that mode, or we have no current figure.
| Model | Input | Cached input | Output | Batch input | Batch output |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | $0.300 | $0.0060 | $1.20 | — | — |
| DeepSeek V4 Pro | $1.32 | $0.044 | $3.96 | — | — |
What 1,000 DeepSeek requests cost
An estimate for one example request: 3,000 input tokens, 50% of them a cached prefix, and 400 output tokens, the same shape as our customer support chatbot comparison. Each cost uses one provider's own input, cached-input and output rates; where a provider publishes no cached-input rate, cached tokens are billed at its full input rate.
| Model | Lowest cost | On DeepSeek's API |
|---|---|---|
| DeepSeek V4.1 Flash | $0.156OpenRouter | $0.939 |
| DeepSeek V4 Pro | $1.68IteraCompute | $3.63 |
| DeepSeek V4 Flash | $0.185Deep Infra | — |
| DeepSeek V4 Flash Vision | $0.592Deep Infra | — |
| DeepSeek V3.2 | $0.469GMI Cloud | — |
| DeepSeek V3.1 | $0.881Liquid Inference | — |
| DeepSeek V3.1 Terminus | $1.21OpenRouter | — |
| DeepSeek V3 | $1.06GMI Cloud | — |
DeepSeek price history
Average input price per 1M tokens across the providers serving each model, last 90 days.
Frequently Asked Questions
Which DeepSeek model has the lowest API prices?
Of the 15 DeepSeek models we track, DeepSeek V4.1 Flash has the lowest input rate right now: $0.035 per 1M tokens on OpenRelay. DeepSeek R1 0528 Qwen3 8B has the lowest output rate: $0.090 per 1M tokens on Novita AI. Which is cheaper for you depends on how many input tokens you send per output token. Prices are collected daily from 34 providers.
Where is DeepSeek V4.1 Flash cheapest?
DeepSeek V4.1 Flash is served by 30 providers we track. The lowest input rate is $0.035 per 1M input tokens on OpenRelay, and the lowest output rate is $0.196 per 1M output tokens on Liquid Inference. Throughput, latency and context limits differ between hosts, so check the model page before committing.
Is a third-party host cheaper than DeepSeek's own API?
Of the 2 DeepSeek models DeepSeek serves directly, another provider currently lists a lower input rate for 2 and a lower output rate for 2. Compare the cheapest-input and cheapest-output columns with the "Official" column above; batch and cached-input rates are on each model page.
How much do cached input tokens cost on DeepSeek's API?
For DeepSeek V4.1 Flash, DeepSeek charges $0.0060 per 1M cached input tokens against $0.300 for ordinary input, 98% less. Cached tokens are the repeated start of a prompt (a system prompt, tool definitions, a long document) that the API has already seen. Cached-input rates for every model are in the table above.
What does a typical DeepSeek V4.1 Flash request cost?
A chat request with 3,000 input tokens and 400 output tokens costs about $0.156 per 1,000 requests at OpenRouter's current rates, the lowest of the providers we track. Your cost depends on how long your prompts and answers are; the estimate table above shows the same request on other DeepSeek models.