DeepSeek API pricing: every model, every rate
DeepSeek publishes different rates for peak and off-peak hours, and discounts cache hits heavily. That makes a single headline number misleading, so below is the standard rate for each model.
deepseek-v4-pro. Rates checked 2026-11-01.Full rate card
41 billable models in total, 34 of them text models. On those text models: 0 of 34 carry a rate verified against DeepSeek's own published pricing, the remaining 34 are gateway rates only. USD per 1M tokens, checked 2026-11-01.
| Model | Input | Output | Out/In | Official (in / out) |
|---|---|---|---|---|
deepseek-v4-pro-202606 | $4.5 | $13.5 | 3.0× | not verified |
deepseek-v3.1-fast | $4 | $12 | 3.0× | not verified |
deepseek-v3.2-fast | $4 | $12 | 3.0× | not verified |
deepseek-math-v2 | $2 | $8 | 4.0× | not verified |
deepseek-r1-250120 | $2 | $8 | 4.0× | not verified |
deepseek-r1-250528 | $2 | $8 | 4.0× | not verified |
deepseek-r1-h | $2 | $8 | 4.0× | not verified |
deepseek-r1-searching | $2 | $8 | 4.0× | not verified |
deepseek-reasoner | $2 | $8 | 4.0× | not verified |
deepseek-v3-1-terminus | $2 | $6 | 3.0× | not verified |
deepseek-v3-1-think-250821 | $2 | $6 | 3.0× | not verified |
deepseek-v3-fast | $2 | $8 | 4.0× | not verified |
deepseek-v3.1-think | $2 | $6 | 3.0× | not verified |
deepseek-v4-flash-202605 | $1.5 | $4.5 | 3.0× | not verified |
deepseek-chat | $1 | $1.5 | 1.5× | not verified |
deepseek-coder | $1 | $4 | 4.0× | not verified |
deepseek-r1-distill-qwen-32b | $1 | $3 | 3.0× | not verified |
deepseek-v3-250324 | $1 | $4 | 4.0× | not verified |
deepseek-v3.2-speciale | $1 | $1.5 | 1.5× | not verified |
deepseek-v4-pro | $0.66 | $1.98 | 3.0× | not verified |
deepseek-v4-pro-0813 | $0.66 | $1.98 | 3.0× | not verified |
deepseek-r1-distill-llama-70b | $0.5 | $1.5 | 3.0× | not verified |
deepseek-v3.1-n | $0.5 | $2 | 4.0× | not verified |
DeepSeek-R1 | $0.2899 | $1.1596 | 4.0× | not verified |
deepseek-r1-0528 | $0.2899 | $1.1596 | 4.0× | not verified |
deepseek-v3-1 | $0.2899 | $0.8697 | 3.0× | not verified |
deepseek-v3-1-250821 | $0.2899 | $0.8697 | 3.0× | not verified |
deepseek-v3.1 | $0.2899 | $0.8697 | 3.0× | not verified |
deepseek-v3.1-thinking | $0.2899 | $0.8697 | 3.0× | not verified |
deepseek-r1-distill-qwen-7b | $0.25 | $0.5 | 2.0× | not verified |
deepseek-v4-flash-0731 | $0.22 | $0.66 | 3.0× | not verified |
deepseek-v4-flash | $0.15 | $0.6 | 4.0× | not verified |
deepseek-v4.1-flash | $0.15 | $0.6 | 4.0× | not verified |
deepseek-v4.1-flash-1017 | $0.15 | $0.6 | 4.0× | not verified |
DeepSeek-V3 | $0.14495 | $0.5798 | 4.0× | not verified |
deepseek-v3-0324 | $0.14495 | $0.5798 | 4.0× | not verified |
deepseek-v3-search | $0.14495 | $0.5798 | 4.0× | not verified |
deepseek-v3.2 | $0.14495 | $0.217425 | 1.5× | not verified |
deepseek-v3.2-thinking | $0.14495 | $0.217425 | 1.5× | not verified |
deepseek-ocr | $0.108 | $0.108 | 1.0× | not verified |
deepseek-ocr1 | $0.108 | $0.108 | 1.0× | not verified |
On DeepSeek the Out/In column runs 1.5× to 4.0×, median 4.0× It outweighs the input price as soon as output dominates your bill.
Across 34 priced text models the blended rate spans $0.362375 (deepseek-v3.2) to $18 (deepseek-v4-pro-202606) per 1M tokens, a 50× spread. At 50× between its own cheapest and dearest, picking the wrong tier inside DeepSeek costs more than picking the wrong vendor.
How these rates were verified
DeepSeek publishes no USD rate card we could confirm against, so none of the 41 prices above is cross-checked with vendor documentation — every figure is a gateway rate read from the live rate config on 2026-11-01. That is the reason no discount percentage appears anywhere on this page: without a published list to compare against, a "saving" would be a number we made up. Read these as an observed snapshot of what the endpoint charges today, and treat the reason to route DeepSeek through one endpoint as access and consolidated billing rather than a discount.
What DeepSeek costs at three usage levels
Priced on deepseek-v4-flash at $0.15 in / $0.6 out; deepseek-v4-pro at $0.66 in / $1.98 out per 1M tokens, with a 5:1 input-to-output ratio (roughly what an
interactive workload produces).
| Usage level | Tokens per month (in / out) | Lowest-cost tierdeepseek-v4-flash | Median-rate modeldeepseek-v4-pro |
|---|---|---|---|
| Light pilot or side project | 5M / 1M | $1.35 | $5.28 |
| Working one product in production | 50M / 10M | $13.50 | $52.80 |
| Heavy high-volume pipeline | 500M / 100M | $135.00 | $528.00 |
The first column is this vendor's lowest-cost tier; the second is the model closest to its median rate, which is nearer what a real deployment bills. Swap in your own token split in the calculator.
Same budget, other vendors
3 models from 3 other vendors priced within
35% of deepseek-v4-pro on a blended rate, the cheapest, the dearest and one
in between. This is the horizontal check a DeepSeek rate page on its own cannot give you.
| Model | Vendor | In / out per 1M | vs this |
|---|---|---|---|
qwen3-235b-a22b | Alibaba | $0.35 / $1.4 | −33.7% |
gpt-5.4-mini | OpenAI | $0.375 / $2.25 | −0.6% |
grok-2-1212 | xAI | $1.5 / $1.5 | +13.6% |
Blended comparison (input + output per 1M tokens). Price is one axis (none of these is a DeepSeek model), so treat them as candidates to test side by side at this budget rather than drop-in substitutes.
Why the output rate decides the bill
Across the 34 priced DeepSeek text models, the output rate runs from 1.5× to 4.0× the input rate, with a median of 4.0×. On DeepSeek that multiple lands on the smaller half of the token count and the larger half of the bill, because output is what a chat or agent turn actually produces.
Worked out: at a 4.0× multiple, a job whose token count is 80% input still spends 50% of its cost on the output it generates. Setting DeepSeek beside any other vendor on the input rate alone hides that.
What DeepSeek is good at
DeepSeek is the default choice when output volume dominates, R1-class reasoning at a fraction of US frontier pricing.
Detailed pages for DeepSeek models
The models we cover in depth, each with worked cost at three usage levels and a comparison against similarly priced alternatives.
- DeepSeek V4.1 Flash — $0.15 / $0.6 per 1M tokens
- DeepSeek V4 Flash — $0.22 / $0.66 per 1M tokens
- DeepSeek R1 — $0.2899 / $1.1596 per 1M tokens
- DeepSeek V4 Pro — $0.66 / $1.98 per 1M tokens
Routing these rates into your tools
Every model above is reachable from the same OpenAI-compatible endpoint, so the rates on this page apply wherever you already work. These are the tools we have profiled end to end — DeepSeek models included:
| Tool | What to set |
|---|---|
| LangChain | one base_url kwarg — then check whether token usage still comes back |
| LlamaIndex | OpenAILike for gateway IDs, and a second object for the embedding model |
| AutoGen | declare function_calling or tool use fails silently |
| OpenAI Agents SDK | tracing exports to OpenAI by default; the default transport is Responses |
| Codex CLI | 0.122+ rejects wire_api = "chat" at config load |
| Gemini CLI | a model without tool calls replies in prose and never touches the repo |
| CrewAI | custom_openai=True, and cost is agents × turns |
| DSPy | the bill is in compile(), not in inference |
| Cursor | override the base URL and bill your own key |
| LiteLLM model names | the slash is a routing instruction — openai/, or nothing is sent |
| streaming calls | stream_options, or every token count comes back null |
| an empty model picker | read /v1/models and type the id by hand |
| long sessions | two caps, not one — the window and the maximum output |
| every tool we have profiled | the full matrix of what to set and where |
Every one of these takes the same two values (a base URL and a key) and none of them require changing your code beyond where the client is constructed. Pointed at DeepSeek, that is the whole change. The differences that matter are in each tool's defaults, which is what each guide covers.
Other vendors
Every rate card here is built the same way, from the same price snapshot (2026-11-01), so the numbers are comparable across vendors:
Anthropic · OpenAI · Google · Alibaba · xAI · Zhipu · Moonshot · Meta · MiniMax · ByteDance
FAQ
How much does DeepSeek charge per million tokens?
Across the 34 priced text models in this catalogue, the blended rate (input plus output per 1M tokens) runs from $0.362375 on deepseek-v3.2 to $18 on deepseek-v4-pro-202606, as of 2026-11-01. That 50× spread is what matters: inside DeepSeek alone, picking the wrong tier moves the bill further than switching to another vendor would.
What is the cheapest DeepSeek model for high-volume work?
deepseek-v3.2 is the lowest blended rate here at $0.14495 input and $0.217425 output per 1M tokens. On a Heavy workload (500M input and 100M output tokens a month) that bills about $94.22. At the other end, the same workload on deepseek-v4-pro-202606 costs about $3,600.00.
Is DeepSeek cheaper through a gateway than buying direct?
We do not claim a discount on DeepSeek. None of its 34 text models has a list price published in a stable machine-readable form, so all 34 figures on this page are gateway rates with nothing official to compare them against. Check the DeepSeek number in your own dashboard before committing to a budget.
How does output pricing change a DeepSeek bill?
On DeepSeek output is billed at 1.5× to 4.0× the input rate, median 4.0×, so the input rate alone never predicts the bill. At 4.0× even a workload that is 80% input by token count lands most of its cost on the output column. Price your own split against deepseek-v4-pro's $0.66 input rate in the calculator rather than extrapolating from that headline.
What is the DeepSeek API price per 1M tokens?
DeepSeek quotes every model separately for input and output. deepseek-v4-pro, the one closest to this vendor's median rate, is $0.66 per 1M input and $1.98 per 1M output as of 2026-11-01. The lowest tier in this catalogue is deepseek-v3.2, at $0.14495 in and $0.217425 out.
How much does DeepSeek cost for a coding agent?
A heavy agent month — 500M input and 100M output tokens, the shape a coding assistant really produces because every turn resends the whole context (bills about $528).00 on deepseek-v4-pro. Output decides most of that figure: on DeepSeek the median model bills output at 4.0× its input rate, so extrapolating from the headline input rate understates the bill by close to that factor.
Is DeepSeek billed at the same rate all day?
No. DeepSeek publishes different rates for peak and off-peak windows and discounts cache hits heavily, so a single headline number is misleading. The figures on this page are standard-window rates; a batch job moved to off-peak hours can land below them.
See all 38 models → or use the cost calculator with your own token split.