DeepSeek API Pricing (October 2026): Cost per 1M Tokens
DeepSeek API pricing (October 2026): DeepSeek V4.1 Flash 1017 $0.15/M input, $0.60/M output. Compare cache, context, source, and verified date.
Verified pricing data
DeepSeek API prices as of October 2026
Source: https://api-docs.deepseek.com/quick_start/pricing/
- As of
- Update cadence
- Checked daily; published only after source verification.
- Source policy
- Official provider pricing pages or APIs only.
- Machine-readable data
- /api/pricing.json
- Tracked sources
- https://api-docs.deepseek.com/quick_start/pricing/
Quick pricing answers
Cheapest input
DeepSeek V4.1 Flash 1017
$0.15/M input ยท $0.60/M output
Cheapest output
DeepSeek V4.1 Flash 1017
$0.60/M output
Best cached-input price
DeepSeek V4.1 Flash 1017
$0.003/M cached input
Widest context
DeepSeek V4.1 Flash 1017
1,000,000 tokens context
These answers are generated from 2 verified DeepSeek models as of October 2026. Use the calculator for workload-specific totals because output tokens and cache hit rate can change the cheapest choice.
| Model | Input / 1M | Cached input / 1M | Output / 1M | Context | Max output |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.15 | $0.0030 | $0.60 | 1,000,000 | 384,000 |
| DeepSeek V4 Pro 0813 | $0.66 | $0.022 | $1.98 | 1,000,000 | 384,000 |
Off-peak rates for DeepSeek-V4.1-Flash-1017, called with deepseek-flash. Peak rates are 2x: $0.006/M cache-hit input, $0.30/M cache-miss input, and $1.20/M output. Peak windows are 01:00-04:00 and 06:00-10:00 UTC on weekdays, excluding Chinese public holidays.
Off-peak rates for DeepSeek-V4-Pro-0813. Peak rates are 2x: $0.044/M cache-hit input, $1.32/M cache-miss input, and $3.96/M output. Peak windows are 01:00-04:00 and 06:00-10:00 UTC on weekdays, excluding Chinese public holidays.
Pricing questions
What is the cheapest DeepSeek API model in October 2026?
DeepSeek V4.1 Flash 1017 has the lowest verified DeepSeek input-token price at $0.15/M input tokens.
Which DeepSeek model is cheapest for generated output?
DeepSeek V4.1 Flash 1017 has the lowest verified DeepSeek output-token price at $0.60/M output tokens.
Where does TLDL get DeepSeek pricing data?
TLDL uses official DeepSeek pricing sources and records source URLs plus verification dates in the shared pricing dataset.
DeepSeek pricing changelog
2026-10-21
Replaced retired V4 Flash with DeepSeek V4.1 Flash 1017, updated V4 Pro rates, and recorded the active peak and off-peak pricing policy.
https://api-docs.deepseek.com/quick_start/pricing/2026-07-31
Verified unchanged V4 Flash and V4 Pro token prices after the DeepSeek-V4-Flash-0731 public-beta update. DeepSeek also announced a future 2x peak-hours policy, but has not set its effective date.
https://api-docs.deepseek.com/quick_start/pricing/2026-07-04
Verified DeepSeek V4 Flash and V4 Pro pricing from the official DeepSeek API pricing page.
https://api-docs.deepseek.com/quick_start/pricingDeepSeek now serves DeepSeek-V4.1-Flash-1017 through the deepseek-flash model ID and DeepSeek-V4-Pro-0813 through deepseek-v4-pro. The live table above shows the lower off-peak rate from DeepSeek's official price card; peak rates are exactly 2ร higher.
The same verified rows power the LLM API pricing comparison, public pricing API, and LLM cost calculator.
DeepSeek API prices at a glance
Prices are US dollars per 1 million tokens.
| Model | Time tier | Cache-hit input | Cache-miss input | Output |
|---|---|---|---|---|
| V4.1 Flash 1017 | Off-peak | $0.003 | $0.15 | $0.60 |
| V4.1 Flash 1017 | Peak | $0.006 | $0.30 | $1.20 |
| V4 Pro 0813 | Off-peak | $0.022 | $0.66 | $1.98 |
| V4 Pro 0813 | Peak | $0.044 | $1.32 | $3.96 |
Peak windows are 01:00โ04:00 UTC and 06:00โ10:00 UTC, Monday through Friday, excluding Chinese public holidays. All other times use off-peak pricing. Unlike the July announcement, this schedule is active now.
What changed since July
The July deepseek-v4-flash beta is retired. Since September, the supported Flash ID is deepseek-flash; DeepSeek says the legacy slug temporarily routes to V4.1, but new integrations should not depend on that compatibility alias. On October 17, DeepSeek updated the served version to DeepSeek-V4.1-Flash-1017 without changing its calling method or price.
V4 Pro became generally available in August and now supports the Responses API. DeepSeek also replaced its single-rate price table with an active peak/off-peak schedule.
Limits and API support
| Capability | V4.1 Flash 1017 | V4 Pro 0813 |
|---|---|---|
| API model ID | deepseek-flash | deepseek-v4-pro |
| Context window | 1M tokens | 1M tokens |
| Maximum output | 384K tokens | 384K tokens |
| Thinking and non-thinking | Yes | Yes |
| JSON and tool calls | Yes | Yes |
| Responses API | Yes | Yes |
| Anthropic API format | Yes | Yes |
| Vision input | Yes | No |
Search and Fetch API cost
DeepSeek lists Search and Fetch at $0.75 per 1,000 successful requests. Billing begins November 1, 2026 Beijing time. Until then, server-side calls made through DeepSeek Harness, Claude Code, and Codex are free under the provider's published terms.
Which DeepSeek model should you choose?
Start with V4.1 Flash for high-volume extraction, coding agents, multimodal work, and cost-sensitive routing. Choose V4 Pro when the task-quality gain survives your own evaluation and justifies roughly 3โ4ร higher uncached-input and output prices at the same time tier.
For predictable spend, either schedule batch work outside peak windows or calculate your worst case at the peak rate. Reasoning tokens are billed as output, so long thinking traces can dominate the total even when input is cheap.
Migration notes
DeepSeek exposes OpenAI-compatible and Anthropic-compatible interfaces. Most clients need a base-URL change and the current model name. Use deepseek-flash for Flash, keep the identifier configurable, and test tools, JSON output, and thinking mode before moving production traffic.
Related
Sources and methodology
Primary references used to verify the facts and data on this page.
Related Resources
Follow LLM pricing updates
Read website-published updates when TLDL verifies pricing changes, data refreshes, or useful cost comparisons.
Published on TLDL. Follow the newsletter RSS feed for lightweight updates.