DeepSeek V4 Pro API pricing & setup
As of 2026-10-17, the cheapest DeepSeek V4 Pro channel is OpenRouter: $0.20787 input / $0.41574 output per 1M tokens (blended $0.26). Context 1M.
→ DeepSeek hub: all prices, free access, setup
→ Is the DeepSeek API free? Pricing, off-peak hours & free routes
Context: 1M · Max output: 384K · Modalities: text · Listed: 2026-04-24
Channel comparison (per 1M tokens)
| Channel | Blended | Input | Output | Cached | Access & payment (this channel) | Notes | Source |
|---|---|---|---|---|---|---|---|
| OpenRouterThird-party host $0.20787 / $0.41574 | $0.26 | $0.208 | $0.416 | $0.017 | ✓CN direct✓Alipay✗ID✗Intl card conditions source2026-10-17 | Third-party host: Baidu (fp8) Licensed cloud alternative: Azure $1.91 / $3.83 | openrouter.ai 2026-10-17 |
Access & payment conditions are verified per channel (see the column above); unverified never counts as met.
How to use DeepSeek V4 Pro in Claude Code / Codex / OpenCode
Claude Code(Anthropic compatible): ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
OpenAI compatible base URL: https://api.deepseek.com · DEEPSEEK_API_KEY
Check the provider docs for exact model IDs. Source · Claude Code · Codex
Cheaper alternatives
Hunyuan HY3 ($0.231) · Qwen3.8 Omni Flash ($0.23) · ERNIE 4.5 Turbo 128K ($0.209) ·
Related comparisons
DeepSeek V4.1 Flash vs GPT-6 Luna · DeepSeek V4.1 Flash vs Qwen3.8 Flash · Doubao Seed 2.1 Pro vs DeepSeek V4 Pro (0813) · Compare any two →
Rankings: Cheapest LLM APIs · LLM APIs usable from mainland China · All DeepSeek models
Price history
- 2026-10-17 · OpenRouter · DeepSeek V4 Pro cached: $0.0174 → $0.01722 (OpenRouter basis change: model list price → Baidu (third-party host); not a provider price change)
- 2026-10-17 · OpenRouter · DeepSeek V4 Pro output: $0.4176 → $0.41574 (OpenRouter basis change: model list price → Baidu (third-party host); not a provider price change)
- 2026-10-17 · OpenRouter · DeepSeek V4 Pro input: $0.2088 → $0.20787 (OpenRouter basis change: model list price → Baidu (third-party host); not a provider price change)
- 2026-10-17 · OpenRouter · DeepSeek V4 Pro cached: $0.018009 → $0.0174 (Aligned with the raw OpenRouter API value (old record did not match the API at 2026-10-17 03:44 UTC))
- 2026-10-17 · OpenRouter · DeepSeek V4 Pro output: $0.432216 → $0.4176 (Aligned with the raw OpenRouter API value (old record did not match the API at 2026-10-17 03:44 UTC))
- 2026-10-17 · OpenRouter · DeepSeek V4 Pro input: $0.216108 → $0.2088 (Aligned with the raw OpenRouter API value (old record did not match the API at 2026-10-17 03:44 UTC))
- 2026-10-17 · OpenRouter · DeepSeek V4 Pro listed · $0.216108 / $0.432216
FAQ
How much does the DeepSeek V4 Pro API cost?
Cheapest channel (OpenRouter): $0.20787 input / $0.41574 output per 1M tokens, verified 2026-10-17.
Can I use DeepSeek V4 Pro from China?
OpenRouter: direct yes, Alipay yes, ID required no, overseas card no
Is DeepSeek V4 Pro free?
No free route or deal recorded for this model; pay-as-you-go.
What is DeepSeek V4 Pro's context window?
1M tokens