How-to guide
DeepSeek API pricing: cost per million tokens for every model
DeepSeek V4.1 Flash costs $0.30 per million uncached input tokens, $0.006 per million cached input tokens and $1.20 per million output tokens at peak. V4 Pro costs $1.32, $0.044 and $3.96 at peak. Off-peak rates are half, including all weekends and Chinese public holidays.
Checked against each company’s own pages. We make Bearly, which this guide also covers.
Bearly has Claude, GPT, Gemini, Grok and DeepSeek models in one app, and its API calls Claude, GPT and Grok with the OpenAI or Anthropic SDK. No provider keys needed.
DeepSeek's own API has two models on its price list. Both charge by the token, with separate rates for new input, cached input and output. The rates below are in US dollars per million tokens and apply to requests sent directly to DeepSeek.
DeepSeek API prices per model
“Input” is DeepSeek's cache-miss rate. “Cache read” is its cache-hit rate.
| Model | Input | Output | Cache read |
|---|---|---|---|
| DeepSeek V4.1 Flash, peak deepseek-flash | $0.30 | $1.20 | $0.006 |
| DeepSeek V4.1 Flash, off-peak deepseek-flash | $0.15 | $0.60 | $0.003 |
| DeepSeek V4 Pro, peak deepseek-v4-pro | $1.32 | $3.96 | $0.044 |
| DeepSeek V4 Pro, off-peak deepseek-v4-pro | $0.66 | $1.98 | $0.022 |
- Cache hits apply to the part of the prompt that matches a cached prefix. DeepSeek caches prefixes automatically and reports how many input tokens hit or missed the cache in the response's usage fields.
- Context and output limits: Both models have a 1 million-token context window and a maximum output of 384,000 tokens.
- Off-peak discount: All three token rates are 50% lower off-peak. Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday, excluding Chinese public holidays. All other hours are off-peak, including entire weekends and Chinese public holidays.
DeepSeek's rate card and context caching guide explain the rates and cache usage fields.
How DeepSeek bills
- Balance: Top up your API balance and DeepSeek deducts charges as you use it. If you have both granted credits and topped-up funds, DeepSeek uses the granted balance first. You can check both balances with the balance endpoint.
- Tokens: Multiply each of the three token counts by its per-million rate and divide by one million. Output includes tokens generated in thinking mode.
- Rate limits: DeepSeek lists 2,500 concurrent requests for Flash and 500 for V4 Pro, per account across API keys. A request counts until its response completes. Requests above the limit return HTTP 429. See DeepSeek's concurrency rules.
- Tool charges: Standalone text Search and Fetch each cost $0.75 per 1,000 successful requests. When the model triggers server-side search or fetch, the results added to its context count toward token usage and the tool call itself has no separate fee. DeepSeek lists separate rates for file parsing, OCR and speech.
What a request costs
These examples use 10,000 input tokens and 2,000 output tokens, including any thinking tokens. The cached example assumes 8,000 cache hits and 2,000 cache misses.
| Request | DeepSeek V4.1 Flash | DeepSeek V4 Pro |
|---|---|---|
| Peak, all input uncached | $0.0054 | $0.02112 |
| Peak, 8,000 input tokens cached | $0.003048 | $0.010912 |
| Off-peak, all input uncached | $0.0027 | $0.01056 |
| Off-peak, 8,000 input tokens cached | $0.001524 | $0.005456 |
For example, a peak Flash request with 8,000 cache hits costs $0.000048 for those tokens, $0.0006 for the remaining input and $0.0024 for the output.
DeepSeek API price changes
Selected changes to DeepSeek's rates, model IDs and discounts. All token prices in the table are per million tokens. Each date links to its row.
| Date | Model | Change | Source, last checked |
|---|---|---|---|
| Nov 18, 2026 | Server-side search and web fetch | At 12:00 Beijing Time (UTC+8), DeepSeek stopped charging for search and fetch calls triggered by the model. Results added to context still count toward model token usage. Standalone Search and Fetch APIs are billed separately. | DeepSeek, Dec 4 |
| Oct 17, 2026 | DeepSeek V4.1 Flash | The deepseek-flash ID moved to DeepSeek-V4.1-Flash-1017. API prices stayed the same. | DeepSeek, Dec 4 |
| Sep 10, 2026 | DeepSeek V4.1 Flash | At 04:00 UTC, V4.1 Flash launched at $0.30 uncached input, $0.006 cached input and $1.20 output at peak, half that off-peak. The retired V4 Flash and V4 Flash Vision Exp IDs began routing to V4.1 Flash at its prices. | DeepSeek, Dec 4 |
| Aug 16, 2026 Announced Aug 13, 2026 | DeepSeek V4 Flash and V4 Pro | At 16:00 UTC, peak and off-peak pricing began. Peak rates were $0.44 uncached input, $0.014 cached input and $1.32 output for Flash, and $1.32, $0.044 and $3.96 for Pro. Off-peak rates were half those prices. | DeepSeek, Dec 4 |
| Jul 24, 2026 Announced Apr 24, 2026 | deepseek-chat and deepseek-reasoner | DeepSeek retired both aliases after 15:59 UTC. Since the V4 preview launch they had pointed to V4 Flash in non-thinking and thinking mode, respectively. | DeepSeek, Dec 4 |
| Apr 24, 2026 | DeepSeek V4 Flash and V4 Pro preview | V4 Flash launched at $0.14 uncached input, $0.028 cached input and $0.28 output. V4 Pro launched at $1.74 uncached input, $0.145 cached input and $3.48 output. | DeepSeek, Dec 4 |
| Sep 29, 2025 | DeepSeek V3.2 Exp | At 10:00 UTC, deepseek-chat and deepseek-reasoner moved to V3.2 Exp. Uncached input fell from $0.56 to $0.28, cached input from $0.07 to $0.028 and output from $1.68 to $0.42. | DeepSeek, Dec 4 |
| Sep 5, 2025 Announced Aug 21, 2025 | DeepSeek V3.1 | At 16:00 UTC, the earlier off-peak discounts ended and V3.1 pricing took effect at $0.56 uncached input, $0.07 cached input and $1.68 output. | DeepSeek, Dec 4 |
| Aug 2, 2024 | DeepSeek API context caching | DeepSeek introduced automatic disk caching for repeated prompt prefixes. At launch, cached input cost $0.014 and uncached input cost $0.14. | DeepSeek, Dec 4 |
DeepSeek models that route to newer models
Requests using deepseek-v4-flash or deepseek-v4-flash-vision-exp go to DeepSeek-V4.1-Flash-1017 and are billed at the Flash rate. DeepSeek lists deepseek-flash as the current ID. The older deepseek-chat and deepseek-reasoner aliases previously routed to V4 Flash in non-thinking and thinking mode, respectively. DeepSeek retired them after July 24, 2026, at 15:59 UTC. Both modes are available on deepseek-flash.
DeepSeek announced a September 14 reroute for V4 Pro, then confirmed it would keep V4 Pro available at the same rates. The current rate card lists deepseek-v4-pro separately, serving DeepSeek-V4-Pro-0813.
DeepSeek in Bearly
You can chat with DeepSeek V4 Pro and DeepSeek V4.1 Flash in Bearly, alongside Claude, GPT, Gemini and Grok. Choose a model for each chat or rerun a message on another model to compare the responses. Bearly's API supports Claude, GPT and Grok.
See model selection in Bearly and Bearly API access. We make Bearly, so weigh this with that in mind.
Questions people ask
How much does the DeepSeek API cost?
At peak, DeepSeek V4.1 Flash costs $0.30 uncached input, $0.006 cached input and $1.20 output per million tokens. DeepSeek V4 Pro costs $1.32 uncached input, $0.044 cached input and $3.96 output. All three rates are half as much off-peak.
Is the DeepSeek API free?
DeepSeek charges for API use by the token. If DeepSeek grants credits to your account, it uses those first, then deducts charges from your topped-up balance.
Is the DeepSeek API cheaper than the OpenAI API?
It depends on the model and the tokens you use. At peak, both DeepSeek models cost less per million uncached input and output tokens than GPT-6.2 Sol's Standard short-context rates of $2 and $10. GPT-6 Luna costs $0.10 uncached input and $0.50 output at Standard short-context rates, below even Flash's off-peak uncached input and output rates. See the OpenAI API pricing guide for other rates.
When is DeepSeek's off-peak discount?
The peak windows are 01:00–04:00 and 06:00–10:00 UTC on weekdays, excluding Chinese public holidays. Outside those windows, including every weekend and Chinese public holiday, DeepSeek cuts its cache-hit input, cache-miss input and output rates in half.
How does DeepSeek's cache pricing work?
DeepSeek automatically checks for a previously cached prefix. It bills matching input tokens at the cache-hit rate, and the rest at the cache-miss rate. At peak, a million cache-hit input tokens cost $0.006 on Flash or $0.044 on V4 Pro. The response reports the counts as prompt_cache_hit_tokens and prompt_cache_miss_tokens.
What happened to deepseek-chat and deepseek-reasoner?
Those IDs were retired on July 24, 2026. The current deepseek-flash ID supports thinking and non-thinking modes. Flash uses thinking mode by default.
Related
- Claude API pricing
- OpenAI API pricing
- Gemini API pricing
- AI model shutdown dates
- DeepSeek privacy
- DeepSeek alternatives
- ZDR in Bearly
Sources
All checked December 4, 2026.
- DeepSeek, Models & Pricing, Change Log, Rate Limit & Isolation, Context Caching and Thinking Mode
- OpenAI, API pricing