Models / DeepSeek pricing
DeepSeek API pricing
DeepSeek API pricing for 14 models on one key: DeepSeek V4 Pro 0813 at $0.792 in and $1.188 out, DeepSeek V4 Flash 0731 at $0.0815 in and $0.1164 out, DeepSeek V4.1 Flash 1017 at $0.25 in and $1.20 out per million tokens, each next to DeepSeek's list price. Input 16% to 80% under DeepSeek's list price, output 30% to 85%. Lowest price: DeepSeek V4 Flash 0731, $0.0815 in and $0.1164 out.
Prices · per million tokens, USD, next to DeepSeek's list price
| Model | Input | Cached input | Output | Under list |
|---|---|---|---|---|
| DeepSeek V4 Pro 0813 APIdeepseek-v4-pro-0813 | $0.792list $1.32 | $0.0625list $0.044 | $1.188list $3.96 | 40% in · 70% out |
| DeepSeek V4.1 Flash APIdeepseek-v4.1-flash | $0.06list $0.30 | $0.0063list $0.006 | $0.18list $1.20 | 80% in · 85% out |
| DeepSeek V4.1 Flash 1017 APIdeepseek-v4.1-flash-1017 | $0.25list $0.30 | $0.006list $0.006 | $1.20list $1.20 | 16% in · 0% out |
| DeepSeek V4 Flash 0423 APIdeepseek-v4-flash | $0.30list $0.30 | $0.006list $0.006 | $1.20list $1.20 | none |
| DeepSeek V4 Flash 0731 APIdeepseek-v4-flash-0731 | $0.0815list $0.14 | $0.0033list $0.0028 | $0.1164list $0.28 | 41% in · 58% out |
| DeepSeek V4 Flash Vision Exp APIdeepseek-v4-flash-vision-exp | $0.21list $0.30 | $0.0042list $0.006 | $0.84list $1.20 | 30% in · 30% out |
| DeepSeek V4 Pro 0423 APIdeepseek-v4-pro | $0.792list $1.32 | $0.0264list $0.044 | $2.376list $3.96 | 40% in · 40% out |
| DeepSeek V3.2 APIdeepseek-v3.2 | $1.08 | $0.24 | $1.6801 | no list price |
| DeepSeek V3.2 Exp APIdeepseek-v3.2-exp | $1.08 | $1.08 | $1.64 | no list price |
| DeepSeek V3.1 APIdeepseek-v3.1 | $1.08 | $0.66 | $4.0001 | no list price |
| DeepSeek V3.1 Terminus APIdeepseek-v3.1-terminus | $1.08 | $0.5165 | $4.0001 | no list price |
| DeepSeek V3 APIdeepseek-v3 | $1.00 | $0.5217 | $4.0001 | no list price |
| DeepSeek R1 APIdeepseek-r1 | $2.00 | $1.0811 | $8.7202 | no list price |
| Deepseek Flash APIdeepseek-flash | $0.36 | $0.0072 | $1.44 | no list price |
What each model accepts
| Input | API | Pricing | |||||
|---|---|---|---|---|---|---|---|
| Text | Image | Audio | Video | OpenAI format | Anthropic format | Cached input | |
| DeepSeek V4 Pro 0813 | Supported | Not supported | Not supported | Not supported | Supported | Not supported | Supported |
| DeepSeek V4.1 Flash | Supported | Supported | Not supported | Not supported | Supported | Not supported | Supported |
| DeepSeek V4.1 Flash 1017 | Supported | Supported | Not supported | Not supported | Supported | Not supported | Supported |
| DeepSeek V4 Flash 0423 | Supported | Not supported | Not supported | Not supported | Supported | Not supported | Supported |
| DeepSeek V4 Flash 0731 | Supported | Not supported | Not supported | Not supported | Supported | Not supported | Supported |
| DeepSeek V4 Flash Vision Exp | Supported | Supported | Not supported | Not supported | Supported | Not supported | Supported |
| DeepSeek V4 Pro 0423 | Supported | Not supported | Not supported | Not supported | Supported | Not supported | Supported |
| DeepSeek V3.2 | Not listed | Not listed | Not listed | Not listed | Supported | Not supported | Supported |
| DeepSeek V3.2 Exp | Not listed | Not listed | Not listed | Not listed | Supported | Not supported | Supported |
| DeepSeek V3.1 | Not listed | Not listed | Not listed | Not listed | Supported | Not supported | Supported |
| DeepSeek V3.1 Terminus | Not listed | Not listed | Not listed | Not listed | Supported | Not supported | Supported |
| DeepSeek V3 | Not listed | Not listed | Not listed | Not listed | Supported | Not supported | Supported |
| DeepSeek R1 | Not listed | Not listed | Not listed | Not listed | Supported | Not supported | Supported |
| Deepseek Flash | Not listed | Not listed | Not listed | Not listed | Supported | Not supported | Supported |
How DeepSeek API pricing works · per million tokens, billed per request
DeepSeek API pricing is per million tokens, with input and output billed separately. On DeepSeek V4 Pro 0813 input is $0.792 and output $1.188 per million here, so one output token costs 1.5 times one input token. DeepSeek's list price for the same model is $1.32 and $3.96.
All 14 DeepSeek models have a cached input rate. A cache read on DeepSeek V4 Pro 0813 costs $0.0625 per million, 8% of its input rate, so a system prompt or document that repeats across requests bills at the cached rate after the first one. A model with no cached rate bills cached tokens at its input rate.
Every request bills from prepaid credit, from $10, with no subscription. Each paid top-up locks your rates for 30 days, and inside that window a price can only go down. A non-streamed response carries the request's cost and its saving against list in its headers, x-uplink-charge and x-uplink-saved.
Price your own token counts on every DeepSeek model with the LLM cost calculator.
DeepSeek API cost per request · three request shapes at live prices
A request costs its tokens times the rate. The table prices three shapes on every DeepSeek model at today's rates, with DeepSeek's list price under each figure where one is published.
| Model | Chat turn2,000 in, 500 out | Long document30,000 in, 1,000 out | Agent turn40,000 in, 30,000 of them cached, 1,500 out |
|---|---|---|---|
| DeepSeek V4 Pro 0813 | $0.0022list $0.0046 | $0.0249list $0.0436 | $0.0116list $0.0205 |
| DeepSeek V4.1 Flash | $0.0002list $0.0012 | $0.002list $0.0102 | $0.0011list $0.005 |
| DeepSeek V4.1 Flash 1017 | $0.0011list $0.0012 | $0.0087list $0.0102 | $0.0045list $0.005 |
| DeepSeek V4 Flash 0423 | $0.0012list $0.0012 | $0.0102list $0.0102 | $0.005list $0.005 |
| DeepSeek V4 Flash 0731 | $0.0002list $0.0004 | $0.0026list $0.0045 | $0.0011list $0.0019 |
| DeepSeek V4 Flash Vision Exp | $0.0008list $0.0012 | $0.0071list $0.0102 | $0.0035list $0.005 |
| DeepSeek V4 Pro 0423 | $0.0028list $0.0046 | $0.0261list $0.0436 | $0.0123list $0.0205 |
| DeepSeek V3.2 | $0.003 | $0.0341 | $0.0205 |
| DeepSeek V3.2 Exp | $0.003 | $0.034 | $0.0457 |
| DeepSeek V3.1 | $0.0042 | $0.0364 | $0.0366 |
| DeepSeek V3.1 Terminus | $0.0042 | $0.0364 | $0.0323 |
| DeepSeek V3 | $0.004 | $0.034 | $0.0317 |
| DeepSeek R1 | $0.0084 | $0.0687 | $0.0655 |
| Deepseek Flash | $0.0014 | $0.0122 | $0.006 |
Worked through on DeepSeek V4 Pro 0813: a chat turn is 2,000 × $0.792 / 1,000,000 + 500 × $1.188 / 1,000,000 = $0.0022. A thousand such turns come to $2.178.
Peak and off-peak, next to one price · per million tokens, input / output
DeepSeek's own API has charged two rates since 2026-08-16: peak, 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays outside Chinese public holidays, and half that the rest of the time. The rates in force date from 2026-09-10 (DeepSeek pricing, read 2026-10-19). A price here is the same at any hour.
| Model | DeepSeek peak | DeepSeek off-peak | Here, any hour |
|---|---|---|---|
| DeepSeek V4.1 Flash 1017deepseek-v4.1-flash-1017 | $0.30 / $1.20 | $0.15 / $0.60 | $0.25 / $1.20 |
| DeepSeek V4.1 Flashdeepseek-v4.1-flash | $0.30 / $1.20 | $0.15 / $0.60 | $0.06 / $0.18 |
| DeepSeek V4 Flash 0423deepseek-v4-flash | $0.30 / $1.20 | $0.15 / $0.60 | $0.30 / $1.20 |
| DeepSeek V4 Flash Vision Expdeepseek-v4-flash-vision-exp | $0.30 / $1.20 | $0.15 / $0.60 | $0.21 / $0.84 |
| DeepSeek V4 Pro 0813deepseek-v4-pro-0813 | $1.32 / $3.96 | $0.66 / $1.98 | $0.792 / $1.188 |
| DeepSeek V4 Pro 0423deepseek-v4-pro | $1.32 / $3.96 | $0.66 / $1.98 | $0.792 / $2.376 |
On DeepSeek V4.1 Flash 1017, 1,000 requests of 2,000 input and 500 output tokens cost $1.20 at DeepSeek's peak rate, $0.60 off-peak and $1.10 here.
On DeepSeek V4 Pro 0813, 1,000 requests of 2,000 input and 500 output tokens cost $4.62 at DeepSeek's peak rate, $2.31 off-peak and $2.18 here.
What DeepSeek’s API names run · and the id for each here
| DeepSeek API name | Model it runs | Id here |
|---|---|---|
deepseek-flash | DeepSeek V4.1 Flash 1017 | DeepSeek V4.1 Flash 1017deepseek-v4.1-flash-1017 |
deepseek-v4-pro | DeepSeek V4 Pro 0813 | DeepSeek V4 Pro 0813deepseek-v4-pro-0813 |
deepseek-v4-flash, deepseek-v4-flash-vision-exp | Still accepted; DeepSeek serves them with V4.1 Flash 1017 | Each is its own id here |
| V4 Flash 0731 | Not a model name on DeepSeek’s API | DeepSeek V4 Flash 0731deepseek-v4-flash-0731 |
DeepSeek's API takes two model names today, and what they run moves with each release. The dated ids here (1017, 0813, 0731) each stay on their build, so code you tested keeps calling it until you change the id.
Which DeepSeek model to choose on price · lowest to highest, per 1,000 chat turns
By the chat turn above, DeepSeek V4.1 Flash costs the least at $0.21 per 1,000 turns and DeepSeek R1 the most at $8.3602, 40 times as much. The context window and output limit are DeepSeek's published figures for each model.
| Model | 1,000 chat turns | Context window | Max output |
|---|---|---|---|
| DeepSeek V4.1 Flashdeepseek-v4.1-flash | $0.21 | 1,049K | 393,216 |
| DeepSeek V4 Flash 0731deepseek-v4-flash-0731 | $0.2212 | 1,049K | 393,216 |
| DeepSeek V4 Flash Vision Expdeepseek-v4-flash-vision-exp | $0.84 | 1,049K | 393,216 |
| DeepSeek V4.1 Flash 1017deepseek-v4.1-flash-1017 | $1.10 | 1,049K | 393,216 |
| DeepSeek V4 Flash 0423deepseek-v4-flash | $1.20 | 1,049K | 393,216 |
| Deepseek Flashdeepseek-flash | $1.44 | 1M | not published |
| DeepSeek V4 Pro 0813deepseek-v4-pro-0813 | $2.178 | 1,049K | 393,216 |
| DeepSeek V4 Pro 0423deepseek-v4-pro | $2.772 | 1,049K | 393,216 |
| DeepSeek V3.2 Expdeepseek-v3.2-exp | $2.9801 | 164K | not published |
| DeepSeek V3.2deepseek-v3.2 | $3.00 | 164K | not published |
| DeepSeek V3deepseek-v3 | $4.0001 | 164K | not published |
| DeepSeek V3.1deepseek-v3.1 | $4.16 | 164K | not published |
| DeepSeek V3.1 Terminusdeepseek-v3.1-terminus | $4.1601 | 164K | not published |
| DeepSeek R1deepseek-r1 | $8.3602 | 164K | not published |
DeepSeek vs other model families · the lead model of each, per 1,000 chat turns
The lead model of each family on the same key, priced on the same chat turn. DeepSeek V4 Pro 0813 comes to $2.178 per 1,000 turns; GPT-6.1 Sol, the lead GPT model, to $2.70.
| Family | Lead model | Input | Output | 1,000 chat turns |
|---|---|---|---|---|
| Claude API pricing | Claude Fable 5.2 | $4.00 | $20.00 | $18.00 |
| GPT API pricing | GPT-6.1 Sol | $0.60 | $3.00 | $2.70 |
| Gemini API pricing | Gemini 4 Argon | $1.20 | $3.00 | $3.90 |
| Grok API pricing | Grok 4.6 | $0.60 | $1.80 | $2.10 |
| DeepSeek | DeepSeek V4 Pro 0813 | $0.792 | $1.188 | $2.178 |
| Kimi API pricing | Kimi K3 | $0.90 | $4.50 | $4.05 |
| GLM API pricing | GLM 5.3 | $0.3276 | $1.0296 | $1.17 |
| Qwen API pricing | Qwen3.7 Max | $0.6471 | $1.9412 | $2.2647 |
| MiniMax API pricing | MiniMax M3 | $0.09 | $0.36 | $0.36 |
| MiMo API pricing | MiMo V2.6 Flash | $0.084 | $0.12 | $0.228 |
Call them · same base URL and key for every model
from openai import OpenAI
client = OpenAI(
base_url="https://api.uplinkswitch.com/v1",
api_key="sk-uplink-live-...",
)
completion = client.chat.completions.create(
model="deepseek-v4-pro-0813",
messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.uplinkswitch.com/v1',
apiKey: 'sk-uplink-live-...',
});
const completion = await client.chat.completions.create({
model: 'deepseek-v4-pro-0813',
messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);