DeepSeek API pricing
What DeepSeek charges for its two API models, in US dollars per million tokens, at peak and off-peak hours, with cache-hit input prices and the prices of its search, OCR and speech APIs.
Source: DeepSeek Models & Pricing and change log, checked 28 November 2026.
Model prices
| Model | Input, cache miss | Input, cache hit | Output | Off-peak miss | Off-peak hit | Off-peak output |
|---|---|---|---|---|---|---|
DeepSeek V4.1 Flashdeepseek-flash. Serves DeepSeek-V4.1-Flash-1017 | $0.30 | $0.006 | $1.20 | $0.15 | $0.003 | $0.60 |
DeepSeek V4 Prodeepseek-v4-pro. Serves DeepSeek-V4-Pro-0813 | $1.32 | $0.044 | $3.96 | $0.66 | $0.022 | $1.98 |
Per million tokens. The first three columns are peak prices. Both models have a 1M-token context window and up to 384K output tokens, and support thinking and non-thinking modes. Vision is supported on deepseek-flash only.
Peak and off-peak hours
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 are off-peak, including weekends and Chinese public holidays in full.
Context caching
Input tokens that hit the cache are billed at the cache-hit price; the rest at the cache-miss price. On deepseek-flash a cache hit costs $0.006 per million tokens at peak against $0.30 for a miss; on deepseek-v4-pro $0.044 against $1.32.
Legacy model names
The names deepseek-v4-flash and deepseek-v4-flash-vision-exp are still accepted, but those models are retired. Their requests are served by DeepSeek-V4.1-Flash-1017 and billed at the deepseek-flash price. Per the change log, the 17 October 2026 update to DeepSeek-V4.1-Flash-1017 kept the API name and price unchanged. Shutdown dates for every vendor: AI model deprecation tracker.
Search, OCR and speech APIs
- Search API (text): $0.75 per 1,000 successful requests.
- Fetch API: $0.75 per 1,000 successful requests.
- File parsing and OCR API: $0.225 per 1,000 pages.
- Text to speech (TTS): $0.45 list; $0.225 limited-time price (50% off) per 10,000 characters.
- Speech to text (ASR): $0.116 list; $0.058 limited-time price (50% off) per hour of audio.
From 18 November 2026 (12:00 Beijing time), the server-side search and web fetch tool calls a model makes are no longer billed per call; the results they return are added to the context and billed as tokens.
How billing works
Cost is the number of tokens times the price. Fees are deducted from a topped-up balance or a granted balance, with the granted balance used first when both are available. Concurrency limits are 2,500 for deepseek-flash and 500 for deepseek-v4-pro (AI API rate limits).
The same layout for other vendors: Claude API pricing, OpenAI API pricing, Gemini API pricing, Grok API pricing and Mistral API pricing. A monthly figure for your own traffic: AI token cost calculator.
Frequently asked questions
How much does the DeepSeek API cost per million tokens?+
At peak hours, DeepSeek V4.1 Flash costs $0.30 input (cache miss), $0.006 input (cache hit) and $1.20 output. DeepSeek V4 Pro costs $1.32, $0.044 and $3.96. Off-peak prices are half of these.
What are DeepSeek peak and off-peak hours?+
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 are off-peak, including weekends and Chinese public holidays. Off-peak rates are half of peak rates.
How much does DeepSeek V4 Pro cost?+
deepseek-v4-pro costs $1.32 per million input tokens on a cache miss, $0.044 on a cache hit and $3.96 per million output tokens at peak hours; $0.66, $0.022 and $1.98 off-peak.
Is the old deepseek-v4-flash model name still billed?+
DeepSeek’s pricing page says the legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp are still accepted, but those models are retired: the requests are served by DeepSeek-V4.1-Flash-1017 and billed at the deepseek-flash price.
How is DeepSeek API usage paid?+
Usage is deducted from a topped-up balance or a granted balance; when both are available the granted balance is used first. Cost is the number of tokens times the price.
Related: how to get a DeepSeek API key, Chinese AI models, AI model rankings.