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.
deepseek-flash and are billed at current DeepSeek-V4.1-Flash rates.deepseek-flash| Scenario | Input Tokens | Output Tokens | Uncached Cost | With Prompt Caching |
|---|---|---|---|---|
| Short Chat Query | 1,000 | 500 | $0.00090 | $0.00061 |
| Document Summarization | 10,000 | 2,000 | $0.00540 | $0.00246 |
| Codebase & Context Analysis | 100,000 | 20,000 | $0.0540 | $0.0246 |
| Batch Corpus Processing | 1,000,000 | 100,000 | $0.4200 | $0.1260 |
Tier 1 (free tier) reference limits — your account's actual quota may be higher.
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.
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.
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.
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.
DeepSeek-V4.1-Flash utilizes the DeepSeek Byte-Level BPE (100k vocabulary). Token counting on TokenMath runs client-side to ensure maximum privacy.
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).