DeepSeek V4.1 Flash 1017 API pricing & setup
deepseek-v4.1-flash-1017 · deepseek/deepseek-v4.1-flash-1017
As of 2026-11-19, the cheapest DeepSeek V4.1 Flash 1017 channel is Official (China): ¥2 input / ¥8 output per 1M tokens (blended $0.524). Context 1M.
→ DeepSeek hub: all prices, free access, setup
→ Is the DeepSeek API free? Pricing, off-peak hours & free routes
Channel comparison (per 1M tokens)
| Channel | Blended | Input | Output | Cached | Access & payment (this channel) | Notes | Source |
|---|---|---|---|---|---|---|---|
| Official (China) ¥2 / ¥8 | $0.524 | $0.299 | $1.2 | $0.006 | Direct access from mainland China: yesAlipay: yesReal-name ID required: yesOverseas card required: no conditions source2026-10-17 | Peak price shown; off-peak ~50% off Off-peak: ¥1 / ¥4 | api-docs.deepseek.com 2026-11-19 |
| Official (Intl) $0.3 / $1.2 | $0.525 | $0.3 | $1.2 | $0.006 | Direct access from mainland China: UnverifiedAlipay: UnverifiedReal-name ID required: UnverifiedOverseas card required: Unverified | Peak price shown; off-peak ~50% off Off-peak: $0.15 / $0.6 | api-docs.deepseek.com 2026-11-19 |
| OpenRouter $0.3 / $1.2 | $0.525 | $0.3 | $1.2 | $0.006 | Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no conditions source2026-10-17 | Original vendor endpoint: DeepSeek Quantized min $0.045 / $0.25 (fp4, Ambient) | openrouter.ai 2026-11-20 |
Access & payment conditions are verified per channel (see the column above); unverified never counts as met.
How to use DeepSeek V4.1 Flash 1017 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
GPT-5.6 Luna ($0.45) · Hunyuan HY3 Preview ($0.285) · ERNIE X1.1 Preview ($0.262) ·
Compare
DeepSeek V4.1 Flash 1017 vs Qwen3.8 Flash · DeepSeek V4.1 Flash 1017 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-11-06 · OpenRouter · DeepSeek V4.1 Flash 1017 cached: $0.008 → $0.006 (OpenRouter basis change: Morph → DeepSeek (original vendor); not a provider price change)
- 2026-11-06 · OpenRouter · DeepSeek V4.1 Flash 1017 output: $0.192 → $1.2 (OpenRouter basis change: Morph → DeepSeek (original vendor); not a provider price change)
- 2026-11-06 · OpenRouter · DeepSeek V4.1 Flash 1017 input: $0.05 → $0.3 (OpenRouter basis change: Morph → DeepSeek (original vendor); not a provider price change)
- 2026-11-01 · OpenRouter · DeepSeek V4.1 Flash 1017 cached: $0.006 → $0.008 (OpenRouter basis change: DeepSeek → Morph (third-party host); not a provider price change)
- 2026-11-01 · OpenRouter · DeepSeek V4.1 Flash 1017 output: $1.2 → $0.192 (OpenRouter basis change: DeepSeek → Morph (third-party host); not a provider price change)
- 2026-11-01 · OpenRouter · DeepSeek V4.1 Flash 1017 input: $0.3 → $0.05 (OpenRouter basis change: DeepSeek → Morph (third-party host); not a provider price change)
- 2026-10-27 · Official (Intl) · DeepSeek V4.1 Flash 1017: Fetch failed; kept last good price (2026-10-26 07:05 UTC+8)
- 2026-10-26 · Official (Intl) · DeepSeek V4.1 Flash 1017: Fetch failed; kept last good price (2026-10-26 07:05 UTC+8)
- 2026-10-17 · Official (China) · DeepSeek V4.1 Flash 1017 listed · ¥2 / ¥8
- 2026-10-17 · Official (Intl) · DeepSeek V4.1 Flash 1017 listed · $0.3 / $1.2
- 2026-10-17 · OpenRouter · DeepSeek V4.1 Flash 1017 listed · $0.3 / $1.2
FAQ
How much does the DeepSeek V4.1 Flash 1017 API cost?
Cheapest channel (Official (China)): ¥2 input / ¥8 output per 1M tokens, verified 2026-11-19.
Can I use DeepSeek V4.1 Flash 1017 from China?
Official (China): direct yes, Alipay yes, ID required yes, overseas card no; Official (Intl): direct Unverified, Alipay Unverified, ID required Unverified, overseas card Unverified; OpenRouter: direct yes, Alipay yes, ID required no, overseas card no
Is DeepSeek V4.1 Flash 1017 free?
No free route or deal recorded for this model; pay-as-you-go.
What is DeepSeek V4.1 Flash 1017's context window?
1M tokens