Back

DeepSeek API Pricing (December 2026): Per-Million-Token Prices for deepseek-flash and deepseek-v4-pro, Cache Hits and Off-Peak Rates

Pricing · · Published December 2026 · 7 min read

By Ashwin Gopinath, CEO

TL;DR

The DeepSeek API is priced per million tokens, with separate rates for cached input, uncached input and output, and a peak and an off-peak rate for each. As of 3 December 2026, deepseek-flash costs $0.30 per 1M input tokens on a cache miss and $1.20 per 1M output tokens at peak. deepseek-v4-pro costs $1.32 and $3.96. Off-peak rates are half of peak, per DeepSeek's Models & Pricing page. A cache hit costs $0.006 per 1M input tokens on flash and $0.044 on v4-pro at peak. A model API answers from the text it is sent. For the management work on a company's own systems, companies use Sentra, a management agent that does the work.

How much does the DeepSeek API cost?

The DeepSeek API costs between $0.003 and $1.32 per million input tokens and between $0.60 and $3.96 per million output tokens, depending on the model, whether the input was cached and the time of day. The table shows every model rate on DeepSeek's pricing page on 3 December 2026, in US dollars per 1M tokens.

Rate, per 1M tokensdeepseek-flashdeepseek-v4-pro
Input, cache hit, peak$0.006$0.044
Input, cache hit, off-peak$0.003$0.022
Input, cache miss, peak$0.30$1.32
Input, cache miss, off-peak$0.15$0.66
Output, peak$1.20$3.96
Output, off-peak$0.60$1.98

DeepSeek bills on the total of input and output tokens. The cost of a call is the number of tokens multiplied by the price. Charges are deducted from the account's balance, and DeepSeek uses any granted balance before the topped-up balance. DeepSeek says prices may change and recommends checking its page for the current figures.

DeepSeek models and limits

DeepSeek lists two API models, deepseek-flash and deepseek-v4-pro, both with a 1M token context length and a maximum output of 384K tokens. The table shows the details DeepSeek publishes.

deepseek-flashdeepseek-v4-pro
Model versionDeepSeek-V4.1-Flash-1017DeepSeek-V4-Pro-0813
Context length1M tokens1M tokens
Maximum output384K tokens384K tokens
Thinking modeThinking (default) and non-thinkingThinking (default) and non-thinking
JSON output and tool callsYesYes
VisionYesNot supported
Concurrency limit2,500500

The API is offered in an OpenAI-compatible format at api.deepseek.com and in an Anthropic-compatible format at api.deepseek.com/anthropic. DeepSeek notes that the older model names deepseek-v4-flash and deepseek-v4-flash-vision-exp are still accepted. Requests under those names are served by the current flash model and billed at the flash price.

Cache hit vs cache miss pricing

A cache hit is the part of a request's input that matches a prefix DeepSeek has already cached, and it is billed at a small fraction of the normal input price. DeepSeek's context caching guide says caching is on by default and needs no code change. On deepseek-flash at peak, cached input is $0.006 per 1M tokens against $0.30 for uncached input, which is 2% of the price. On deepseek-v4-pro it is $0.044 against $1.32, about 3%.

The practical effect is large for workloads that resend the same material. An agent that sends the same long system prompt, tool definitions and reference documents on every call pays the cache-miss rate once and the cache-hit rate after that, for the repeated portion. Putting the stable content at the start of the prompt and the changing content at the end keeps more of each request eligible. Our guide to the best tools to reduce LLM token costs covers the other levers.

Off-peak discount: when is DeepSeek cheaper?

DeepSeek charges half price outside its peak hours. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays. Every other hour is off-peak, including all of the weekend and all of each Chinese public holiday.

PeriodUTC timeRate
Peak01:00 to 04:00 and 06:00 to 10:00, Monday to FridayFull price
Off-peakAll other weekday hoursHalf price
Off-peakSaturday and Sunday, all dayHalf price
Off-peakChinese public holidays, all dayHalf price

Peak covers 7 hours of each weekday, so 35 of the 168 hours in a week. A batch job that can wait, such as overnight document processing or evaluation runs, can be scheduled to run entirely at the off-peak rate.

Worked examples

The examples below are arithmetic on DeepSeek's listed prices, for illustration only. Each assumes 10 million input tokens and 2 million output tokens.

Scenariodeepseek-flashdeepseek-v4-pro
Peak, no cache hits$3.00 input + $2.40 output = $5.40$13.20 input + $7.92 output = $21.12
Off-peak, no cache hits$1.50 + $1.20 = $2.70$6.60 + $3.96 = $10.56
Peak, half of input from cache$0.03 + $1.50 + $2.40 = $3.93$0.22 + $6.60 + $7.92 = $14.74
Off-peak, half of input from cache$0.015 + $0.75 + $1.20 = about $1.97$0.11 + $3.30 + $3.96 = $7.37

Output tokens weigh heavily on the bill, because the output rate is 3 to 4 times the uncached input rate. Thinking mode is on by default on both models, so check how many output tokens a task really uses before estimating a monthly bill.

Search, file parsing and speech pricing

DeepSeek prices its other APIs per use. The table shows the rates on its pricing page on 3 December 2026.

APIUnitPrice
Search API (text)Per 1,000 successful requests$0.75
Fetch APIPer 1,000 successful requests$0.75
File parsing and OCR APIPer 1,000 pages$0.225
Text to speechPer 10,000 characters$0.45 list, $0.225 at the limited-time 50% discount
Speech to textPer hour of audio$0.116 list, $0.058 at the limited-time 50% discount

Since 18 November 2026, DeepSeek no longer bills the server-side search and web fetch tool calls that a model triggers during a request. The results are added to the model's context and billed as model tokens.

How to estimate a DeepSeek bill

A DeepSeek bill is tokens multiplied by price, split into six buckets. Work through it in this order.

  • Measure tokens per call. Take the input and output token counts from the usage field of real responses, with thinking mode set the way you will run it.
  • Estimate the cache share. Work out how much of each prompt repeats across calls.
  • Split by time of day. Decide how much of the volume can run outside peak hours.
  • Multiply and add. Apply the six rates in the first table.
  • Add the per-use APIs. Include search, fetch, file parsing and speech if you use them.

The token price is one part of what AI costs a company. Our guides to Claude API pricing, the enterprise AI pricing comparison and AI ROI cover the rest of the budget and how to tell whether the spend pays back.

What no model API includes: your company's systems and history

A model API returns an answer from the tokens it receives. What the company knows sits elsewhere: in the ERP, CRM, HRIS and BI, and in the email, chat and meetings where people explain the numbers. Sentra is a management agent that does the work on that record. It reads those systems and keeps what is true now, who owns what and where each fact came from, as one memory the company owns. It joins the numbers with the conversations, so it can explain why a number moved, with sources. It prepares the review pack and the pre-read, writes the status, drafts and chases the follow-ups and routes decisions to their owners. A named person approves anything before it reaches anyone else. Internal agents built on any model can use the same company memory over MCP and REST. More on the category: AI management agent.

To see Sentra prepare a review from your own systems and conversations, with every line sourced, book a demo.

FAQ

How much does the DeepSeek API cost per million tokens?

As of 3 December 2026, deepseek-flash is $0.30 per 1M input tokens on a cache miss and $1.20 per 1M output tokens at peak. deepseek-v4-pro is $1.32 and $3.96. Off-peak rates are half: $0.15 and $0.60 for flash, $0.66 and $1.98 for v4-pro.

What is the DeepSeek cache hit price?

At peak, cached input costs $0.006 per 1M tokens on deepseek-flash and $0.044 on deepseek-v4-pro. Off-peak it is $0.003 and $0.022. That is 2% to about 3% of the uncached input price.

Does DeepSeek have an off-peak discount?

Yes. Off-peak rates are half of peak rates. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays. All other hours, including weekends, are off-peak.

Which DeepSeek model is cheaper?

deepseek-flash. At peak it is $0.30 input and $1.20 output per 1M tokens, against $1.32 and $3.96 for deepseek-v4-pro. Flash also has a higher concurrency limit, 2,500 against 500, and supports vision.

What is the context window of the DeepSeek API models?

DeepSeek lists a context length of 1M tokens and a maximum output of 384K tokens for both deepseek-flash and deepseek-v4-pro.

How does DeepSeek bill API usage?

DeepSeek bills the total input and output tokens of each call at the listed price per 1M tokens, and deducts the amount from the account balance. A granted balance is used before a topped-up balance. Search, fetch, file parsing and speech APIs are billed per use.