DeepSeek API Pricing (November 2026)
DeepSeek API pricing depends on the model and on the hour. DeepSeek V4.1 Flash (deepseek-flash) costs $0.30 per million input tokens and $1.20 per million output tokens at peak. DeepSeek V4 Pro (deepseek-v4-pro) costs $1.32 and $3.96. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays. Every other hour bills at half: $0.15/$0.60 on Flash and $0.66/$1.98 on Pro. Each rate below was read on DeepSeek's pricing page on the date in its row.
| Model | Input /M | Cache read /M | Output /M | Batch in /M | Batch out /M | Context | Status | Checked |
|---|---|---|---|---|---|---|---|---|
DeepSeek V4.1 Flash deepseek-flash | $0.30 | $0.006−98% | $1.20 | — | — | 1M | Current | 2026-11-08 |
| DeepSeek V4 Pro | $1.32 | $0.044−97% | $3.96 | — | — | 1M | Flagship | 2026-11-08 |
| DeepSeek V4 Flash | $0.44 | $0.014−97% | $1.32 | — | — | 1M | Deprecated · → DeepSeek V4.1 Flash | 2026-10-28 |
US dollars per million tokens, list rates on DeepSeek's own API. Cache read is the price of a cached input token. Batch is the asynchronous API, where the vendor offers one. The date in each row is when we last read it on the vendor's pricing page; it links to that page.
DeepSeek API monthly cost estimates
What light use (10M input + 2M output tokens a month), medium use (100M input + 20M output tokens a month), heavy use (1B input + 200M output tokens a month) costs on each current model, at list price with no caching and no batch discount.
| Model | Input / output per 1M | Light · 10M + 2M | Medium · 100M + 20M | Heavy · 1B + 200M |
|---|---|---|---|---|
| DeepSeek V4.1 Flash | $0.30 / $1.20 | $5.40 | $54.00 | $540 |
| DeepSeek V4 Pro | $1.32 / $3.96 | $21.12 | $211 | $2,112 |
Prompt caching and the Batch API cut these figures; the next sections show by how much. For your own token counts, use the LLM API cost calculator.
DeepSeek API peak and off-peak pricing
DeepSeek bills every token at one of two rates, set by the hour the request runs. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday. Every other hour is off-peak at half the peak rate, and so are weekends and Chinese public holidays in full.
| Model | Hours | Input, cache miss | Input, cache hit | Output |
|---|---|---|---|---|
| DeepSeek V4.1 Flash | Peak | $0.30 | $0.006 | $1.20 |
| DeepSeek V4.1 Flash | Off-peak | $0.15 | $0.003 | $0.60 |
| DeepSeek V4 Pro | Peak | $1.32 | $0.044 | $3.96 |
| DeepSeek V4 Pro | Off-peak | $0.66 | $0.022 | $1.98 |
USD per 1M tokens. The price table at the top of this page stores the peak rate, because DeepSeek describes off-peak as half of the peak rates.
Peak time is China's working day: 09:00 to 12:00 and 14:00 to 18:00 in Beijing. In New York peak ends at 5:00 a.m. in winter and 6:00 a.m. in summer, so the US working day bills off-peak. The first window does land on US evenings, from 8:00 to 11:00 p.m. Eastern in winter, Sunday to Thursday. In Central Europe the second window covers 7:00 to 11:00 a.m. in winter.
That leaves 35 peak hours in a 168-hour week. DeepSeek's pricing page lists no Batch API discount, so the off-peak rate is how you pay less for evals, backfills and other work that can wait. The off-peak pricing entry explains how other vendors use time-of-day rates.
DeepSeek context caching: cache hit and cache miss prices
Context caching is on for every account and needs no code change. When a request repeats a prefix that DeepSeek has already stored on disk, those input tokens bill at the cache-hit rate. The rest bill as a cache miss, at the full input rate.
- No write or storage fee. DeepSeek's pricing page lists only the hit and miss rates. Anthropic and OpenAI charge for writing into the cache on their newer models.
- Whole prefix units only. A hit needs a full match with a stored prefix unit. DeepSeek stores one at the end of each request's input and output, at common prefixes it detects across requests, and at fixed intervals inside long inputs.
- Best effort. DeepSeek does not guarantee a hit rate. A cache nobody uses clears on its own, usually within a few hours to a few days.
- Visible per request. Each response reports
prompt_cache_hit_tokensandprompt_cache_miss_tokensin its usage block. - Per-user isolation. Passing a
user_idkeeps the cache of each of your end users separate.
The cache matters most for agents and chat, which resend the same system prompt and history on every turn. On V4.1 Flash a hit costs $0.006 per million at peak, against $0.30 for a miss. The prompt caching entry compares how the major APIs price it.
How DeepSeek bills: prepaid balance, refunds and HTTP 402
The DeepSeek API runs on a prepaid balance. You top up on the platform, and each request is deducted from that balance. DeepSeek's FAQ says it has one pricing standard and no tiered plans.
- Two balances. An account can hold a topped-up balance and a granted balance. Charges come out of the granted balance first.
- No expiry on top-ups. Topped-up funds do not expire, and an unused balance can be refunded from the Billing page.
- A hard stop at zero. When the balance runs out, the API returns
402 Insufficient Balanceuntil you add funds. Nothing bills beyond the balance.
The bill for a request is three products added together: cache-miss input tokens at the miss rate, cache-hit tokens at the hit rate, and output tokens at the output rate. Reasoning tokens from thinking mode are counted inside the output tokens. Images on V4.1 Flash count as input, at up to 1,024 tokens per image. The LLM API cost calculator runs this sum for a monthly volume.
DeepSeek API rate limits and concurrency
DeepSeek's published model limit is concurrency, not tokens per minute. Each account can hold 2,500 requests in flight on deepseek-flash and 500 on deepseek-v4-pro. The count covers every API key on the account, and a request holds its slot until the response is complete.
Requests above the limit get HTTP 429. DeepSeek raises the limit on request, matched to your actual traffic, and says the increase costs nothing extra. After an increase, the same per-model limit also applies to each user_id you pass. Search allows 100 requests per second and Fetch 25, counted apart from model traffic. See rate limits for how other APIs meter traffic.
DeepSeek Search and Fetch API pricing
Since October 17, 2026, DeepSeek sells two tools next to its models. The Search API returns web results from DeepSeek's own search engine. The Fetch API returns a single web page as Markdown. Each costs $0.75 per 1,000 successful requests, billed per request rather than per token.
- A request bills only when it returns HTTP 200 with a result. Failed requests, empty results and timeouts are free.
- The
countparameter sets how many results come back and does not change the price. - Since 16:00 UTC on October 31, 2026, calls made by server-side tools in DeepSeek Harness, Claude Code and Codex bill the same way.
DeepSeek API model IDs and what the old IDs bill now
The model name in each request decides what answers it, and DeepSeek changed those names twice in 2026. The table shows what each ID does today.
| API ID | Status | Served by | Billed at, peak |
|---|---|---|---|
deepseek-flash | Current | DeepSeek-V4.1-Flash-1017 | $0.30/$1.20 |
deepseek-v4-pro | Current | DeepSeek-V4-Pro-0813 | $1.32/$3.96 |
deepseek-v4-flash | Retired Sep 10, 2026, still accepted | DeepSeek-V4.1-Flash-1017 | $0.30/$1.20 |
deepseek-v4-flash-vision-exp | Retired Sep 10, 2026, still accepted | DeepSeek-V4.1-Flash-1017 | $0.30/$1.20 |
deepseek-chat | Inaccessible since Jul 24, 2026 | — | — |
deepseek-reasoner | Inaccessible since Jul 24, 2026 | — | — |
Checkpoint names as printed in the MODEL VERSION row of DeepSeek's pricing table.
DeepSeek calls the routing of the two retired V4 Flash IDs temporary, so code that still sends them should move to deepseek-flash. Until April 24, 2026, deepseek-chat and deepseek-reasoner served the V3 line, V3.2 at the end, in non-thinking and thinking mode. The retired models table keeps their last prices.
DeepSeek API price history
DeepSeek API price changes and releases
DeepSeek's API changes since V3, from its own change log and news posts. Launch-week prices come from archived copies of the pricing page.
deepseek-flash at unchanged prices, and the Search and Fetch APIs open to every account at $0.75 per 1,000 successful requestsdeepseek-flash with native vision, at $0.30/$1.20 at peak; V4 Flash and V4 Flash Vision Exp are retired and their IDs routed to itdeepseek-chat and deepseek-reasoner become inaccessible at 15:59 UTCdeepseek-chat and deepseek-reasoner in non-thinking and thinking modedeepseek-reasoner, with the DeepSeek chatbot launched alongside itdeepseek-chatRetired DeepSeek models and their replacements
3 DeepSeek models no longer answer on DeepSeek's API. The price is the last one DeepSeek listed; the replacement is the current end of the vendor's own succession chain.
| Model | Status | Last price in / out per 1M | Use instead |
|---|---|---|---|
| DeepSeek V4 Flash Vision (Exp) | Withdrawn Sep 10, 2026 | $0.44 / $1.32 | DeepSeek V4.1 Flash |
| DeepSeek V3 | Retired Aug 21, 2025 | $0.27 / $1.10 | DeepSeek V4.1 Flash |
| DeepSeek R1 | Retired Aug 21, 2025 | $0.55 / $2.19 | DeepSeek V4 Pro |
platform.deepseek.com sells the API on a prepaid balance, topped up by PayPal, bank card, Alipay or WeChat Pay. The endpoint speaks both the OpenAI and Anthropic formats, so existing SDKs work with a new base URL.
OPEN WEIGHTS · SELF-HOSTV4 Pro 0813 and V4.1 Flash 1017 are published under the MIT license. You can run them on your own hardware or cloud, with no per-token fee to DeepSeek.
THIRD-PARTY · HOSTSTogether, DeepInfra, Nebius and other hosts serve both current models from the open weights, at their own prices and in their own regions. OpenRouter lists who serves which checkpoint.
CONSUMER · APPchat.deepseek.com and the mobile apps run DeepSeek's current models. DeepSeek's site lists no paid plan for them, and they come with no API access.
OpenAI
GPT-6.1 Sol lists at $2.00/$10.00 per M and GPT-6 Luna at $0.10/$0.50. OpenAI bills the first write into its prompt cache on GPT-5.6 and later; DeepSeek lists no write fee.
FRONTIER RIVALAnthropic
Claude Opus 5.5 lists at $4.00/$20.00 per M and Claude Haiku 5.5 at $0.10/$0.50. Anthropic publishes no open weights.
FREE-TIER RIVALGoogle (Gemini)
Gemini 3.8 Flash lists at $0.75/$3.75 per M and Gemini 4 Argon at $2.00/$10.00. Google gives its Flash models a free API tier; DeepSeek has none.
CHINESE PEERAlibaba (Qwen)
Qwen3.8 Max lists at $2.00/$6.00 per M and Qwen3.7 Flash at $0.03/$0.13.
CHINESE PEERMoonshot (Kimi)
Kimi K3.1 Pro, Moonshot's flagship, lists at $2.00/$10.00 per M.
OPEN-WEIGHT PEERMistral
Mistral Large 4 lists at $1.36/$4.18 per M and Mistral Small 4 at $0.15/$0.60. Mistral is based in Paris.
DeepSeek API pricing FAQ
Short answers on what DeepSeek API usage costs. Every rate comes from the price table at the top of this page.
Q · 01 How much does the DeepSeek API cost?
+
$0.30 per million input tokens and $1.20 per million output tokens at peak. DeepSeek V4 Pro costs $1.32 and $3.96. Off-peak, which covers every weekday hour outside 01:00 to 04:00 and 06:00 to 10:00 UTC and all weekends, both models cost half. Input that hits the cache costs $0.006 on Flash and $0.044 on Pro at peak. The API is prepaid, with no plans or tiers. Q · 02 Is the DeepSeek API free?
+
Q · 03 When are DeepSeek's off-peak hours?
+
Q · 04 How does DeepSeek price a cache hit?
+
$0.006 per million on V4.1 Flash and $0.044 on V4 Pro at peak, half that off-peak. Everything else bills at the full input rate. DeepSeek lists no fee to write or store the cache, and a cache nobody uses clears within hours to days. The caching section explains when a hit counts. Q · 05 Does thinking mode cost extra on DeepSeek?
+
completion_tokens, so thinking bills as output. Thinking is on by default at high effort on both V4.1 Flash and V4 Pro. DeepSeek suggests low for simple tasks, high for everyday agent work and max for the hardest ones, and thinking can be switched off per request. The reasoning tokens entry covers how other APIs bill them. Q · 06 How are images billed on the DeepSeek API?
+
$0.30 per million at peak. JPEG, PNG, GIF and WebP are accepted. Q · 07 What do deepseek-chat and deepseek-reasoner cost now?
+
deepseek-flash, which is V4.1 Flash at $0.30/$1.20 at peak, or on deepseek-v4-pro. The older deepseek-v4-flash ID still answers, served by V4.1 Flash at the same rates. The model ID table lists every name. Q · 08 Is DeepSeek cheaper than OpenAI or Claude?
+
$1.32/$3.96 per million tokens at peak, against $2.00/$10.00 for GPT-6.1 Sol and $4.00/$20.00 for Claude Opus 5.5. At the low end, V4.1 Flash costs $0.30/$1.20 at peak and $0.15/$0.60 off-peak, against $0.10/$0.50 for GPT-6 Luna and $0.10/$0.50 for Claude Haiku 5.5. DeepSeek lists no cache-write fee, while OpenAI and Anthropic bill cache writes on their newer models. The OpenAI and Anthropic hubs list their full price tables. Q · 09 Can I run DeepSeek models outside China?
+
Q · 10 Why did DeepSeek API prices go up in August 2026?
+
DeepSeek was founded on July 17, 2023 in Hangzhou by Liang Wenfeng. It grew out of an AGI research lab that his quantitative hedge fund High-Flyer announced in April 2023. Liang co-founded High-Flyer in 2015 and also runs DeepSeek as CEO.
High-Flyer owns and funded DeepSeek for its first three years. In June 2026 the company took outside money for the first time: AFP, citing the Wall Street Journal and The Information, reported a round of more than 50 billion yuan at a valuation above $50 billion, with Liang as its largest investor.
The lab is known for mixture-of-experts models that are cheap to run. DeepSeek V3 arrived in December 2024 and R1 in January 2025, alongside the DeepSeek chatbot. V3.1 merged thinking and non-thinking modes in August 2025. The V4 preview of April 2026 paired V4 Pro, with 1.6T total and 49B active parameters, with the 284B V4 Flash, both with a 1M-token context. V4.1 Flash followed in September 2026 with native vision.
Every current model ships its weights under the MIT license on Hugging Face. That matters for buyers because DeepSeek's privacy policy says it stores personal data in the People's Republic of China. Teams that cannot send prompts there run the weights on their own hardware or through a host outside China. Against OpenAI and Anthropic, DeepSeek offers open weights and time-of-day pricing, but no audio, video or image generation.