DeepSeek: DeepSeek V4.1 Flash 1017 API pricing
$0.036 per 1M input tokens and $0.50 per 1M output tokens on OpenRouter. Context window: 1,048,576 tokens.
$0.036input / 1M tokens
$0.50output / 1M tokens
$0.01cached input / 1M
1Mcontext
text+image->textmodality
What it costs in practice
| Workload | Cost |
|---|---|
| Chatbot: 10,000 messages (1,500 in / 400 out tokens each) | $2.54 |
| RAG: 1,000 queries (8,000 in / 600 out each) | $0.588 |
| Summarize 100 long documents (50,000 in / 1,000 out each) | $0.230 |
Cross-check against the provider's list price
No first-party entry for this model in LiteLLM's price map, so this price comes from OpenRouter only.
Price history
No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.
Run it yourself instead
The open weights are on Hugging Face. See the VRAM DeepSeek V4.1 Flash 1017 needs and which GPUs fit it →
Cheaper alternatives with similar context
Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Ricursive: Ripple 65B Preview | $0.10 | $0.30 | 1M |
| Qwen: Qwen3 30B A3B Instruct 2507 | $0.10 | $0.30 | 256K |
| Mistral: Mistral Small 3.2 24B | $0.10 | $0.30 | 250K |
| Meta: Llama 4 Scout | $0.10 | $0.30 | 1.25M |
| Mistral: Ministral 3 8B 2512 | $0.15 | $0.15 | 256K |
| Google: Gemma 3 27B | $0.08 | $0.35 | 128K |
| Z.ai: GLM 4.7 Flash | $0.0605 | $0.40 | 195K |
| Google: Gemma 4 26B A4B | $0.09 | $0.30 | 256K |
Source: OpenRouter listing via the public models API. Prices checked Nov 17, 2026. Model ID deepseek/deepseek-v4.1-flash-1017, listed Oct 17, 2026. Report an error.