DeepSeek API Pricing 2026: V4 Pro and V4.1 Flash Rates
AIHub
DeepSeek API pricing depends on the time of day. The two current models are deepseek-flash (DeepSeek V4.1 Flash) at $0.30 per million input tokens and $1.20 per million output tokens, and deepseek-v4-pro at $1.32 and $3.96, during peak hours. Outside peak hours, which is about four fifths of the week, every rate is exactly half: $0.15 and $0.60 for Flash, $0.66 and $1.98 for V4 Pro. Repeated input that hits DeepSeek’s automatic cache costs 2 percent of the normal input rate on Flash and about 3 percent on V4 Pro.
Those are list prices from DeepSeek’s own Models and Pricing page, read on 2026-11-25. Most pages that rank for “deepseek api pricing” today quote older models (V3, R1) or reseller rates, and none of the top ten results checked for this guide mention the peak and off-peak split, which is the single biggest lever on a DeepSeek bill. Below: the full rate card, the hours in your time zone, what six real jobs cost, how caching and thinking change the numbers, the per-call fees for search, OCR and speech, and how DeepSeek compares with OpenAI and Anthropic on the same day.
DeepSeek API prices per million tokens
| Model name in the API | Model version | Cache hit input | Cache miss input | Output |
|---|---|---|---|---|
| deepseek-flash, peak | DeepSeek-V4.1-Flash-1017 | $0.006 | $0.30 | $1.20 |
| deepseek-flash, off-peak | DeepSeek-V4.1-Flash-1017 | $0.003 | $0.15 | $0.60 |
| deepseek-v4-pro, peak | DeepSeek-V4-Pro-0813 | $0.044 | $1.32 | $3.96 |
| deepseek-v4-pro, off-peak | DeepSeek-V4-Pro-0813 | $0.022 | $0.66 | $1.98 |
US dollars per million tokens, from DeepSeek’s pricing page on 2026-11-25. The page lists no separate fee for writing to the cache, no batch tier and no long-context surcharge of the kind OpenAI applies above 272,000 input tokens.
Two naming details matter if you have older code. deepseek-flash is the name to use now. The legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp are still accepted, but DeepSeek has retired those models: requests sent to them are served by DeepSeek-V4.1-Flash-1017 and billed at the Flash price. So an application that still calls the old name gets the new model at the same rate, which is worth knowing before you compare old and new outputs.
Peak and off-peak hours
DeepSeek’s 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 weekends and Chinese public holidays in full. Seven peak hours on five days is 35 of the 168 hours in a week, so 79 percent of the week bills at half price.
| Time zone (November) | Peak window 1 | Peak window 2 |
|---|---|---|
| UTC | 01:00 to 04:00 | 06:00 to 10:00 |
| Beijing (UTC+8) | 09:00 to 12:00 | 14:00 to 18:00 |
| Central Europe (UTC+1) | 02:00 to 05:00 | 07:00 to 11:00 |
| US Eastern (UTC-5) | 20:00 to 23:00, previous day | 01:00 to 05:00 |
| US Pacific (UTC-8) | 17:00 to 20:00, previous day | 22:00 previous day to 02:00 |
The pattern is simple once you see it in Beijing time: peak is the Chinese working day. For a team in the Americas that means peak lands in the evening and overnight, starting Sunday evening and ending early Friday morning local time, and the whole US working day is off-peak. For a team in Europe the second window covers the first hours of the morning. The US rows shift by an hour when daylight saving time starts in March, because the UTC windows do not move.
The practical use is scheduling. Anything that can wait (nightly enrichment, evaluation runs, bulk summarisation, embedding-style preprocessing with a chat model) should run outside the two windows. DeepSeek has no batch API discount, and the off-peak rate does the same job: a 50 percent cut for work that does not need an answer right now.
What common jobs cost
The token counts below are the ones used across this site’s guides, so they line up with OpenAI API pricing and Claude API pricing. Thinking tokens are not counted, and nothing is cached unless the row says so.
| Job (tokens in / out) | Flash off-peak | Flash peak | V4 Pro off-peak | V4 Pro peak |
|---|---|---|---|---|
| Short question (1,000 / 500) | $0.0005 | $0.0009 | $0.0017 | $0.0033 |
| Ten-turn conversation (39,000 / 5,000) | $0.009 | $0.018 | $0.036 | $0.071 |
| 1,500 word article with one edit (4,000 / 4,000) | $0.003 | $0.006 | $0.011 | $0.021 |
| Summary of a 100-page PDF (65,000 / 1,000) | $0.010 | $0.021 | $0.045 | $0.090 |
| 30-step coding agent task (600,000 / 30,000) | $0.11 | $0.22 | $0.46 | $0.91 |
| Same agent task, 80% of input from cache | $0.04 | $0.07 | $0.15 | $0.30 |
V4 Pro costs 4.4 times Flash for input and 3.3 times for output, so on input-heavy jobs it is about four times the price of Flash, and on writing jobs closer to three and a half. The clock moves the bill almost as much as the model choice does: at the same hour V4 Pro costs three to four times what Flash costs, but V4 Pro off-peak costs only about twice what Flash costs at peak.
Context caching: the cheapest token on the list
DeepSeek’s context caching is on by default for every account, with no code changes and no write fee. Each request builds a disk cache, and when a later request starts with the same prefix, that part is read from the cache and billed at the cache hit rate: $0.006 per million tokens on Flash and $0.044 on V4 Pro at peak, half that off-peak.
The rule that decides whether you get the discount is stricter than on some other APIs. A request only hits the cache when it fully matches a stored prefix unit. DeepSeek stores units at the end of each user input, at the end of each model output, at fixed token intervals in long inputs, and for common prefixes it detects across requests. In a normal multi-turn chat, where each request is the previous one plus a new message, the whole earlier conversation hits. If you change one word early in the system prompt, nothing after it hits until a new unit is stored.
The effect on agent work is large. The 30-step coding task above drops from 91 cents to 30 on V4 Pro at peak when 80 percent of the input is served from cache, and to 15 cents off-peak. Keep the system prompt, tool definitions and reference files byte-identical at the start of every request, and put anything that changes at the end. The user_id parameter also isolates the cache per end user, which you may want for privacy, but it means users no longer share cached prefixes.
Thinking mode and the output bill
Both models run in thinking mode by default, with the effort set to high. Before the final answer the model writes a chain of thought, returned in the reasoning_content field next to content. DeepSeek bills on the total input and output tokens the model produces, so that reasoning is part of the output bill even when your application never shows it.
The job table above is therefore a floor. A short question that returns 500 visible tokens after 2,000 tokens of reasoning costs about 0.3 cents on Flash at peak instead of 0.09, and about 1.1 cents on V4 Pro instead of 0.33. Thinking is switched with {"thinking": {"type": "enabled"}} or "disabled", and the effort with reasoning_effort set to low, high or max (in the Responses API format, reasoning.effort of none, low, high or max, where none turns thinking off). Requests for minimal map to low, medium and xhigh to high, and ultra to max.
Three behaviours to know before you budget. In thinking mode temperature, presence_penalty and frequency_penalty are accepted but ignored. In a multi-turn chat without tools, earlier reasoning_content is not fed back into the context, so old reasoning does not inflate later input. With tools, the reasoning of earlier turns should be passed back and is concatenated into the context, which makes agent loops grow faster than plain chat. Run a sample of real requests at the effort you plan to use and read the usage figures before trusting any per-task estimate, including the ones on this page.
Flash or V4 Pro: the differences on paper
| deepseek-flash | deepseek-v4-pro | |
|---|---|---|
| Model version | DeepSeek-V4.1-Flash-1017 | DeepSeek-V4-Pro-0813 |
| Context length | 1M tokens | 1M tokens |
| Maximum output | 384K tokens | 384K tokens |
| Vision (image input) | yes | not supported |
| JSON output, tool calls | yes | yes |
| Responses API and Anthropic API formats | yes | yes |
| FIM completion (beta) | non-thinking mode only | non-thinking mode only |
| Concurrency limit per account | 2,500 | 500 |
DeepSeek publishes no benchmark claims on its pricing page, so this table only lists what the page states. Two rows decide more choices than the price does. If your requests include images, Flash is the only option. If you run many requests in parallel, V4 Pro’s limit of 500 concurrent requests per account (across all API keys) is the one you hit first; above it the API returns HTTP 429. DeepSeek says capacity expansion requests carry no extra cost.
Both models accept the OpenAI chat format at https://api.deepseek.com and the Anthropic format at https://api.deepseek.com/anthropic, so switching an existing client usually means changing the base URL, the key and the model name. Prompts are a different matter: what transfers from ChatGPT and what to drop for a reasoning model is covered in DeepSeek and Grok prompts.
Search, fetch, OCR and speech
| Service | Unit | Price |
|---|---|---|
| Search API (text) | 1,000 successful requests | $0.75 |
| Fetch API | 1,000 successful requests | $0.75 |
| File parsing and OCR | 1,000 pages | $0.225 |
| Text to speech | 10,000 characters | $0.45 list, $0.225 limited-time |
| Speech to text | 1 hour of audio | $0.116 list, $0.058 limited-time |
One change took effect last week. Since 12:00 Beijing time on 2026-11-18, the search and fetch calls the model triggers on its own (through DeepSeek’s web tools or the web_search tool in the Anthropic and Responses formats) are no longer billed per call. Instead, the results they return are appended to the model’s context and billed as input tokens. Calling the Search or Fetch API directly still costs 0.75 dollars per 1,000 successful requests. For a model-driven search the bill now depends on how much text comes back, so a search that pulls in 20,000 tokens of pages costs about 0.6 cents of input on Flash at peak.
OCR is cheap enough to change how you handle scanned documents: a 100-page scanned contract is 2.25 cents to parse, and the summary from the job table adds 1 to 9 cents depending on model and hour. Usage is deducted from a prepaid balance, and any granted balance is used before the balance you topped up.
DeepSeek against OpenAI and Anthropic
| Model | Input | Cached input | Output | Ten-turn conversation |
|---|---|---|---|---|
| deepseek-v4-pro, off-peak | $0.66 | $0.022 | $1.98 | $0.036 |
| deepseek-v4-pro, peak | $1.32 | $0.044 | $3.96 | $0.071 |
| GPT-6.1 Terra | $1.00 | $0.05 | $5.00 | $0.064 |
| GPT-6.2 Sol | $2.00 | $0.10 | $10.00 | $0.128 |
| Claude Sonnet 5.5 | $2.00 | $0.10 | $10.00 | $0.128 |
| deepseek-flash, off-peak | $0.15 | $0.003 | $0.60 | $0.009 |
| deepseek-flash, peak | $0.30 | $0.006 | $1.20 | $0.018 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 | $0.006 |
| Claude Haiku 5.5 (prompts up to 100K tokens) | $0.10 | $0.01 | $0.50 | $0.006 |
All rates read from each vendor’s own pricing page on 2026-11-25, standard tier, short-context rates. Claude’s cached input is the cache hit rate; OpenAI’s is the cached input rate before any cache write fee.
Two conclusions, and the second one surprises people. At the top end DeepSeek is clearly cheaper: V4 Pro off-peak costs 28 percent of what GPT-6.2 Sol or Claude Sonnet 5.5 cost for the same conversation, and even at peak it is 56 percent. At peak, though, V4 Pro is slightly more expensive than GPT-6.1 Terra on input-heavy work (7.1 cents against 6.4 for the conversation), because its input rate is higher. At the small end DeepSeek is no longer the cheapest: GPT-6 Luna and Claude Haiku 5.5 both list below deepseek-flash, even off-peak. Haiku 5.5’s rate rises to 0.50 and 2.50 dollars for prompts over 100,000 tokens, so for very long single prompts Flash wins again.
Price is half the decision; the other half is whether the cheaper model does your job well enough, and that can only be measured on your own prompts. The method in how to compare AI models side by side takes an afternoon. For the whole market rather than four vendors, the LLM API pricing statistics put every paid model on OpenRouter in one distribution, and the AI model API pricing table lists the headline price of one to three models per vendor.
How to keep a DeepSeek bill small
- Schedule anything that can wait outside 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays. It is the same model at half the price.
- Start on deepseek-flash and move a task to V4 Pro only when Flash’s answer is measurably worse. The gap is about 4x on input.
- Keep the start of every request byte-identical (system prompt, tools, reference files) so it is read from the cache at 2 to 3 percent of the input rate.
- Turn thinking off, or set the effort to low, for extraction, classification and formatting jobs. Reasoning is billed as output.
- Watch model-driven web search. Since 2026-11-18 its results are billed as input tokens, so long pages pulled into context cost more than the old flat fee on some jobs.
- Check the model names in production. Old Flash names still work but now run the V4.1 Flash model.
If you would rather not manage keys, balances and the peak clock at all, AI chat aggregators explain the ways those apps bill per message. AIHub is one of them, so read that with the disclosure in mind: it carries DeepSeek V4 Pro and V4.1 Flash next to models from seven other vendors, billed in credits at OpenRouter list prices, which are fixed and do not follow DeepSeek’s peak and off-peak hours.
Every figure on this page is dated 2026-11-25. DeepSeek says its prices may change and recommends checking its pricing page regularly; do that before you commit a budget.