DeepSeek API Pricing 2026: V4.1 Flash & V4 Pro Peak vs Off-Peak Rates and Real Costs
DeepSeek V4.1 Flash and V4 Pro prices per 1M tokens in USD and CNY, the weekday peak and off-peak rules, caching, search and fetch fees, three worked monthly bills, and how prices changed from the V4 launch through the August increase.
DeepSeek prices its API per million tokens, with separate rates for cache-hit input, cache-miss input and output, and every rate halves outside weekday peak hours. The short version, checked against DeepSeek’s pricing page on November 16, 2026:
- DeepSeek V4.1 Flash (
deepseek-flash) costs $0.30 input / $1.20 output at peak and $0.15 / $0.60 off-peak. Cache hits cost $0.006 / $0.003. - DeepSeek V4 Pro (
deepseek-v4-pro) costs $1.32 / $3.96 at peak and $0.66 / $1.98 off-peak. - Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday (09:00–12:00 and 14:00–18:00 Beijing time). Weekends and Chinese public holidays are off-peak all day.
- Both models have a 1M-token context and up to 384K output. V4.1 Flash accepts images; V4 Pro is text-only.
- Prices are higher than in spring 2026: DeepSeek raised V4 rates on August 17, then cut Flash again on September 10. The history is at the end of this guide.
Current DeepSeek Prices
USD per 1M tokens
| Model and period | Cache-hit input | Cache-miss input | Output |
|---|---|---|---|
| V4.1 Flash, off-peak | $0.003 | $0.15 | $0.60 |
| V4.1 Flash, peak | $0.006 | $0.30 | $1.20 |
| V4 Pro, off-peak | $0.022 | $0.66 | $1.98 |
| V4 Pro, peak | $0.044 | $1.32 | $3.96 |
CNY per 1M tokens (mainland China price list)
| Model and period | Cache-hit input | Cache-miss input | Output |
|---|---|---|---|
| V4.1 Flash, off-peak | ¥0.02 | ¥1 | ¥4 |
| V4.1 Flash, peak | ¥0.04 | ¥2 | ¥8 |
| V4 Pro, off-peak | ¥0.15 | ¥4.5 | ¥13.5 |
| V4 Pro, peak | ¥0.30 | ¥9 | ¥27 |
The USD and CNY lists are separate price lists, not conversions of each other. DevTk.AI’s calculator uses the peak rate as the conservative default.
Peak and Off-Peak Schedule
| Period | UTC | Beijing time |
|---|---|---|
| Peak window 1 | 01:00–04:00, Mon–Fri | 09:00–12:00, Mon–Fri |
| Peak window 2 | 06:00–10:00, Mon–Fri | 14:00–18:00, Mon–Fri |
| Off-peak | All other hours, all weekend | All other hours, weekends and Chinese public holidays |
Peak covers 7 hours of each weekday, or 35 of the week’s 168 hours. For a team in the Americas, both windows fall in the evening or at night, so most working hours are already off-peak. In Central Europe the second window covers the working morning (07:00–11:00 CET in winter). For a team working Beijing office hours, 7 of 9 office hours are at peak.
Models and IDs
| API ID | Served version | Context | Max output | Image input | Concurrency limit |
|---|---|---|---|---|---|
deepseek-flash | DeepSeek-V4.1-Flash-1017 | 1M | 384K | Yes | 2,500 |
deepseek-v4-pro | DeepSeek-V4-Pro-0813 | 1M | 384K | No | 500 |
Both support thinking (the default) and non-thinking modes, JSON output, tool calls, the Responses API and an Anthropic-compatible endpoint. The legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp still work, but they route to V4.1 Flash and bill at the Flash price. Use deepseek-flash for new integrations. The old deepseek-reasoner alias was retired on July 24, 2026.
Rules That Change Your DeepSeek Bill
1. Time of day. The same request costs twice as much at peak. Anything that can wait (back-fills, evaluations, nightly extraction) should be scheduled outside the peak windows.
2. Caching is automatic and best-effort. You pay no cache-write fee; repeated prefixes are cached when the system can. Cache hits cost 2% of the cache-miss rate on Flash and about 3.3% on Pro. Read the real hit rate from usage.prompt_cache_hit_tokens and usage.prompt_cache_miss_tokens rather than assuming a perfect cache. Stable system prompts, tool schemas and repository rules cache best.
3. No Batch discount. DeepSeek’s pricing page lists no Batch API discount. Off-peak scheduling is the equivalent 50% cut.
4. Search, fetch and file tools bill per use. Search and web fetch cost $0.75 per 1,000 calls (¥5 in China), whether called directly or through model tools. File parsing and OCR cost $0.225 per 1,000 pages.
5. Granted balance is spent first. If you have both a granted (free) balance and a topped-up balance, charges come from the granted balance first.
Worked Monthly Cost Examples
Token counts are assumptions; replace them with the usage fields from your own responses.
Example 1: One developer running a coding agent
- 440 agent tasks a month (20 a day × 22 working days)
- Each task: 2M input tokens across turns, 90% cache hits (1.8M), 10% cache misses (200K); 40K output tokens
Monthly tokens: 792M cache-hit input, 88M cache-miss input, 17.6M output.
| Model and period | Cache hits | Cache misses | Output | Total |
|---|---|---|---|---|
| V4.1 Flash, all off-peak | 792 × $0.003 = $2.38 | 88 × $0.15 = $13.20 | 17.6 × $0.60 = $10.56 | $26.14 |
| V4.1 Flash, all peak | 792 × $0.006 = $4.75 | 88 × $0.30 = $26.40 | 17.6 × $1.20 = $21.12 | $52.27 |
| V4 Pro, all off-peak | 792 × $0.022 = $17.42 | 88 × $0.66 = $58.08 | 17.6 × $1.98 = $34.85 | $110.35 |
| V4 Pro, all peak | 792 × $0.044 = $34.85 | 88 × $1.32 = $116.16 | 17.6 × $3.96 = $69.70 | $220.70 |
If half the work falls in peak hours, the bill lands in the middle: $39.20 on Flash and $165.53 on Pro. The cache matters as much as the clock: without cache hits, the 880M input tokens on Flash at peak would cost 880 × $0.30 = $264 instead of $31.15.
Example 2: A support chatbot billed in CNY
- 100,000 conversations a month, a 3,000-token system prompt that hits the cache, 500 new input tokens and 300 output tokens each
- Monthly tokens: 300M cache-hit input, 50M cache-miss input, 30M output
| Model and period | CNY | USD |
|---|---|---|
| V4.1 Flash, peak | 300 × ¥0.04 + 50 × ¥2 + 30 × ¥8 = ¥352 | 300 × $0.006 + 50 × $0.30 + 30 × $1.20 = $52.80 |
| V4.1 Flash, off-peak | 300 × ¥0.02 + 50 × ¥1 + 30 × ¥4 = ¥176 | 300 × $0.003 + 50 × $0.15 + 30 × $0.60 = $26.40 |
A customer-facing chatbot cannot choose its hours, so budget it at the blend of peak and off-peak that matches when your users are active.
Example 3: Nightly document extraction scheduled off-peak
- 200,000 documents a month, 8,000 input and 500 output tokens each, no shared prefix
- Monthly tokens: 1,600M input and 100M output
| Model | Peak | Off-peak |
|---|---|---|
| V4.1 Flash | 1,600 × $0.30 + 100 × $1.20 = $600 | 1,600 × $0.15 + 100 × $0.60 = $300 |
| V4 Pro | 1,600 × $1.32 + 100 × $3.96 = $2,508 | 1,600 × $0.66 + 100 × $1.98 = $1,254 |
Without shared prefixes, DeepSeek’s cache advantage disappears. For this kind of job, GPT-6 Luna in Batch ($105) and Gemini 2.5 Flash-Lite in Batch ($100) cost about a third of V4.1 Flash off-peak, so test them before defaulting to DeepSeek.
Which DeepSeek Model Should You Use?
| Job | Start with | Why |
|---|---|---|
| Coding agents and chat with long, repeated context | V4.1 Flash | Cache hits at $0.003–$0.006 make repeated context almost free |
| Image understanding | V4.1 Flash | V4 Pro does not accept images |
| Harder coding or reasoning steps after Flash fails | V4 Pro | 4.4x Flash’s input price; use it only where it cuts retries |
| Large jobs that can wait | Either, scheduled off-peak | Half price, the same as a Batch discount elsewhere |
| One-off extraction with no shared prefix | Compare first | GPT-6 Luna and Gemini Flash-Lite Batch can be cheaper |
How DeepSeek Prices Changed in 2026
| Date | Change |
|---|---|
| Spring 2026 | V4 Pro launched at a list price of $1.74 / $3.48 with a 75% launch discount; V4 Flash at $0.14 / $0.28 |
| May 31, 2026 | V4 Pro’s discounted $0.435 / $0.87 became the permanent price |
| Jul 24, 2026 | deepseek-reasoner alias retired |
| Aug 17, 2026 | Price increase and time-of-day pricing. V4 Flash: $0.14 / $0.28 → $0.44 / $1.32 peak ($0.22 / $0.66 off-peak). V4 Pro: $0.435 / $0.87 → $1.32 / $3.96 peak ($0.66 / $1.98 off-peak) |
| Sep 10, 2026 | V4.1 Flash replaced V4 Flash at lower rates: $0.30 / $1.20 peak, $0.15 / $0.60 off-peak, with image input |
| Oct 17, 2026 | DeepSeek-V4.1-Flash-1017 update at unchanged prices |
| Nov 1, 2026 | Per-request billing for search and fetch began |
Compared with May, today’s prices are:
| Model | Peak vs May | Off-peak vs May |
|---|---|---|
| V4.1 Flash (vs V4 Flash $0.14 / $0.28) | 2.1x input, 4.3x output | 1.07x input, 2.1x output |
| V4 Pro (vs $0.435 / $0.87) | 3.0x input, 4.6x output | 1.5x input, 2.3x output |
Output prices rose the most. Off-peak Flash input is almost back to the May price, so the August increase hurts output-heavy, daytime-in-Asia traffic most. Is DeepSeek still good value after all this? See the DeepSeek value analysis and the August 2026 price war. All changes are logged with sources in the AI API price change tracker.
API Examples
OpenAI-compatible:
from openai import OpenAI
client = OpenAI(
api_key="your-deepseek-api-key",
base_url="https://api.deepseek.com"
)
response = client.chat.completions.create(
model="deepseek-flash",
messages=[
{"role": "system", "content": "You are a careful coding assistant."},
{"role": "user", "content": "Explain this repository structure."}
],
)
print(response.choices[0].message.content)
print(response.usage) # includes prompt_cache_hit_tokens and prompt_cache_miss_tokens
Anthropic-format coding agents:
export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
export ANTHROPIC_AUTH_TOKEN=your-deepseek-api-key
Step-by-step setup: DeepSeek V4 in Claude Code and DeepSeek V4 with OpenCode, Codex, Cline and other agents.
DeepSeek vs Similar-Priced Models
At peak, V4.1 Flash ($0.30 / $1.20) costs more than GPT-6 Luna ($0.10 / $0.50) and GLM-5.3 Flash ($0.15 / $0.50), but its cache hits are far cheaper, which is why it wins cache-heavy agent work. See GLM-5.3 vs DeepSeek V4.1 vs Kimi K3, the Chinese AI model API price comparison and DeepSeek vs ChatGPT. To price your own traffic, use the AI Pricing Calculator.
Sources
Checked November 16, 2026:
- DeepSeek pricing (English): USD rates, peak windows, model IDs and versions, concurrency limits, search, fetch and OCR fees, balance deduction order
- DeepSeek pricing (Chinese): CNY rates
- DeepSeek context caching
- DevTk.AI price change tracker: V4 launch, May, August and September price changes
Next step
Related Posts
Codex + DeepSeek V4: How to Use DeepSeek in Codex CLI (Official Setup, 2026)
2026-11-16
GPT-6.1 Sol vs Opus 5.5: API Costs and Claude Pro Value
2026-10-06
Is DeepSeek Still Good Value After the V4.1 Flash Price Cut?
2026-08-17