{T}
TokenMath.net
Verified against DeepSeek Official API Pricing
DeepSeekbalancedGenerally AvailableActive Production

DeepSeek-V4.1-Flash API Pricing & Cost Calculator

Flagship 1M context architecture with tiered peak/off-peak pricing (Cache hit: $0.006/M peak, $0.003/M off-peak) Need a token count first? Use the DeepSeek token counter.

Legacy Identifier Aliasing: Requests using deprecated endpoints (deepseek-v4-flash, deepseek-v4-flash-vision-exp) automatically route to deepseek-flash and are billed at current DeepSeek-V4.1-Flash rates.
Standard Input / 1M
$0.30
Prompt tokens
Cached Input / 1M
$0.006
Prompt caching rate
Output / 1M
$1.20
Generation completion
Context Window
1.05M
Max out: 384k
Peak vs Off-Peak Rate Schedule
Peak Hours (Mon-Fri 01:00-04:00 & 06:00-10:00 UTC)
$0.30 in / $1.20 out
Cached: $0.006/1M
Off-Peak Hours (Mon-Fri 00:00-01:00, 04:00-06:00, 10:00-24:00 UTC & All Weekends) — 50% Off
$0.15 in / $0.60 out
Cached: $0.003/1M
API & Developer Integration Details
generally available
API Model Stringdeepseek-flash
Provider & FamilyDeepSeek (deepseek)
Prompt Caching Rules64 min tokens (98% off)
Long-Context TiersStandard flat rate throughout full window
First-party audit timestamp: 2026-10-11 07:55 UTCOfficial Documentation

Interactive Cost & Token Simulator for DeepSeek-V4.1-Flash

Live Calculation
Input Tokens2,500
Output Tokens800
Requests / Day5,000
Prompt Caching Ratio (50%)$0.006/M cached rate
Cost / Request$0.00134
Daily Spend (5,000 reqs)$6.7125
Monthly Run-Rate (30d)$201.37

Standard Workload Cost Scenarios

ScenarioInput TokensOutput TokensUncached CostWith Prompt Caching
Short Chat Query1,000500$0.00090$0.00061
Document Summarization10,0002,000$0.00540$0.00246
Codebase & Context Analysis100,00020,000$0.0540$0.0246
Batch Corpus Processing1,000,000100,000$0.4200$0.1260
Technical Architecture & Pricing VerificationVerified: 2026-10-11 07:55 UTC
Model ArchitectureDeepSeek-V4.1-Flash
Provider OrganizationDeepSeek
Tokenizer EncodingDeepSeek Byte-Level BPE (100k vocabulary)
API ConnectivityOpenAI-compatible REST API (/v1/chat/completions) with disk-backed KV cache. Active API model: deepseek-flash (deepseek-v4-flash is a retired alias).
Batch API 50% DiscountSupported (50% off input & output)
0
Tier 1 Rate Quota (Free-Tier Reference)200 RPM · 2M TPM

Tier 1 (free tier) reference limits — your account's actual quota may be higher.

Blended 3:1 Cost / 1M Tokens$0.52
Official DeepSeek-V4.1-Flash with tiered peak/off-peak schedule. Peak: Mon-Fri 01:00–04:00 & 06:00–10:00 UTC ($0.30 in / $0.006 cache hit / $1.20 out). Off-peak (50% off): all other weekday hours and entire weekends ($0.15 in / $0.003 cache hit / $0.60 out).DeepSeek Official API Pricing

Verified Pricing History

2026-09-15 15:30 UTC: $0.3/M input · $1.2/M output ($0.006/M cached)
Upgraded to official DeepSeek-V4.1-Flash rates ($0.30/$1.20 peak, $0.15/$0.60 off-peak).
September 12, 2026: $0.44/M input · $1.32/M output ($0.014/M cached)
Calibrated to active deepseek-v4-flash API specification with tiered peak/off-peak pricing ($0.44/$1.32 peak, $0.22/$0.66 off-peak).
September 8, 2026: $/M input · $/M output
August 2026: $0.27/M input · $1.1/M output ($0.028/M cached)
DeepSeek V4.1 Flash release with enhanced MoE architecture.

When to Choose DeepSeek-V4.1-Flash

Ideal for production workloads demanding balanced capabilities, deep context depth (1.05M tokens), and reliability from DeepSeek. Excellent when predictable tokenomics and prompt caching support are paramount.

When Another Model May Be Better

If your use-case requires sub-second streaming latency or ultra-high frequency classification at micro-cent pricing, consider lighter budget options such as Gemini Flash-Lite or Claude Haiku. For deep formal logic, consider dedicated reasoning models like o3.

Frequently Asked Questions About DeepSeek-V4.1-Flash

How much does 1 million tokens cost with DeepSeek-V4.1-Flash?

For DeepSeek-V4.1-Flash, 1 million input tokens costs $0.30, while 1 million output tokens costs $1.20. If using prompt caching, repetitive input prefixes are discounted to $0.006 per million.

What is the context window for DeepSeek-V4.1-Flash?

DeepSeek-V4.1-Flash features a maximum context window of 1,048,576 tokens (~786,432 words), with a maximum output limit of 384,000 tokens per completion.

Which tokenizer does DeepSeek-V4.1-Flash use?

DeepSeek-V4.1-Flash utilizes the DeepSeek Byte-Level BPE (100k vocabulary). Token counting on TokenMath runs client-side to ensure maximum privacy.

Does DeepSeek-V4.1-Flash support prompt caching discounts?

Yes. DeepSeek-V4.1-Flash supports prompt caching with a cached input rate of $0.006/1M (saving up to 98% on repeated input context).