DeepSeek V4 Flash 0731 API pricing & setup
As of 2026-10-17, the cheapest DeepSeek V4 Flash 0731 channel is OpenRouter: $0.05984 input / $0.17952 output per 1M tokens (blended $0.09). Context 1M.
Retired · third-party hostedDeepSeek changelog: the previous-generation V4 Flash (0731 was one of its updates) is retired; the legacy name is served and billed as V4.1-Flash. This row is a third-party OpenRouter host.Excluded from every “cheapest” ranking.api-docs.deepseek.com · checked2026-10-17 12:40 UTC+8
→ DeepSeek hub: all prices, free access, setup
→ Is the DeepSeek API free? Pricing, off-peak hours & free routes
Context: 1M · Max output: 944K · Modalities: text · Listed: 2026-07-31
Channel comparison (per 1M tokens)
| Channel | Blended | Input | Output | Cached | Access & payment (this channel) | Notes | Source |
|---|---|---|---|---|---|---|---|
| OpenRouterThird-party host $0.05984 / $0.17952 | $0.09 | $0.06 | $0.18 | $0.0019 | ✓CN direct✓Alipay✗ID✗Intl card conditions source2026-10-17 | Third-party host: Baidu (fp8) Quantized min $0.07 / $0.14 (fp4, Relace) | 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 Flash 0731 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
Qwen3.7 Flash ($0.055) ·
Related comparisons
DeepSeek V4.1 Flash vs Qwen3.8 Flash · DeepSeek V4.1 Flash vs GPT-6 Luna · 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 Flash 0731 cached: $0.014 → $0.001904 (OpenRouter basis change: model list price → Baidu (third-party host); not a provider price change)
- 2026-10-17 · OpenRouter · DeepSeek V4 Flash 0731 output: $0.14 → $0.17952 (OpenRouter basis change: model list price → Baidu (third-party host); not a provider price change)
- 2026-10-17 · OpenRouter · DeepSeek V4 Flash 0731 input: $0.07 → $0.05984 (OpenRouter basis change: model list price → Baidu (third-party host); not a provider price change)
- 2026-10-17 · OpenRouter · DeepSeek V4 Flash 0731 cached: $0.0065 → $0.014 (Correction: this row was hand-entered with wrong values; now re-fetched from the raw OpenRouter API (/api/v1/models))
- 2026-10-17 · OpenRouter · DeepSeek V4 Flash 0731 output: $1.28 → $0.14 (Correction: this row was hand-entered with wrong values; now re-fetched from the raw OpenRouter API (/api/v1/models))
- 2026-10-17 · OpenRouter · DeepSeek V4 Flash 0731 input: $0.0065 → $0.07 (Correction: this row was hand-entered with wrong values; now re-fetched from the raw OpenRouter API (/api/v1/models))
- 2026-10-17 · OpenRouter · DeepSeek V4 Flash 0731 listed · $0.07 / $0.14 (Hand-added at 2026-10-17 01:59 UTC; added to the catalog for automatic fetching at 03:47 UTC; the hand-entered values were wrong and were corrected from the OpenRouter API)
FAQ
How much does the DeepSeek V4 Flash 0731 API cost?
Cheapest channel (OpenRouter): $0.05984 input / $0.17952 output per 1M tokens, verified 2026-10-17.
Can I use DeepSeek V4 Flash 0731 from China?
OpenRouter: direct yes, Alipay yes, ID required no, overseas card no
Is DeepSeek V4 Flash 0731 free?
No free route or deal recorded for this model; pay-as-you-go.
What is DeepSeek V4 Flash 0731's context window?
1M tokens