$T TokenCostDB
Verified: 2026-11-30 OpenRouter Gateway Pricing Provider: DeepSeek

DeepSeek: DeepSeek V4.1 Flash 1017 API Pricing & Monthly Cost Calculator

DeepSeek: DeepSeek V4.1 Flash 1017 by DeepSeek is priced at $0.15 per 1M input tokens and $0.6 per 1M output tokens with a 1.05M context window. Prompt caching reduces repeated prefix reads to $0.003/1M (98% savings). Batch API lowers rates to $0.035 in / $0.149 out.

Standard Input / 1M
$0.15
Standard Output / 1M
$0.6
Cache Read / Write
$0.003 / —
Context / Max Output
1.05M / 393.2K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for deepseek/deepseek-v4.1-flash-1017.

Channel Input / 1M Output / 1M Cache Read
Direct Official Unmatched Unmatched —
OpenRouter Gateway $0.15 $0.6 $0.003
Gateway routing preserves unified fallback across providers. Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $0.26 $0.18 $0.06
10M tokens $2.63 $1.80 $0.64
100M tokens $26.25 $17.98 $6.35
1B tokens $262.50 $179.81 $63.50

Interactive DeepSeek: DeepSeek V4.1 Flash 1017 Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$45.79
Cache Hit %60%
Input: $14.40Cache Read: $0.43Output: $28.80Per 1K reqs: $0.76

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
OpenAI: GPT-4o-mini $0.15 $0.6 128K
OpenAI: GPT-4o-mini (2024-07-18) $0.15 $0.6 128K
Mistral: Mistral Small 4 $0.15 $0.6 262.1K
DeepSeek: DeepSeek V3 $0.28 $0.42 163.8K
DeepSeek: DeepSeek V3.2 $0.28 $0.4 163.8K
Qwen: Qwen3.8 Omni Flash $0.15 $0.47 1M

Optimize Inference & Self-Hosting

Compare DeepSeek: DeepSeek V4.1 Flash 1017 against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Model Specifications & FAQs

DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the `deepseek-flash` API model name. V4.1 Flash is a sparse mixture-of-experts model...

How much does DeepSeek: DeepSeek V4.1 Flash 1017 API cost per 1M tokens?

DeepSeek: DeepSeek V4.1 Flash 1017 costs $0.15 per 1M input tokens and $0.6 per 1M output tokens (OpenRouter gateway rate), verified on 2026-11-30.

Does DeepSeek: DeepSeek V4.1 Flash 1017 support prompt caching or batch discounts?

Yes, cached input reads cost $0.003 per 1M tokens (98% off standard input). Batch API reduces rates to $0.035 input and $0.149 output per 1M tokens.

What is the context window and max output for DeepSeek: DeepSeek V4.1 Flash 1017?

DeepSeek: DeepSeek V4.1 Flash 1017 supports a 1,048,576-token context window and up to 393,216 output tokens per completion.