DeepSeek model API pricing
DeepSeek deepseek-v4-flash API pricing
Direct answer
As of June 27, 2026, DeepSeek's deepseek-v4-flash lists at $0.0028 per 1M input tokens and $0.280 per 1M output tokens in the ByteCosts pricing index (A+ confidence, source last checked 2026-06-27), with a 1M-token context window, which is a planning estimate you should verify against the provider source before billing, because output volume, retries, and prompt-cache hit rate move the real deepseek-v4-flash bill far more than the headline input rate.
Estimate deepseek-v4-flash monthly cost - Open the calculator with your traffic →
deepseek-v4-flash price card
List prices per million tokens from the ByteCosts pricing index, graded A+ confidence. Output tokens are the expensive side of almost every bill.
| Price field | Value |
|---|---|
| Input | $0.0028 / 1M tokens |
| Output | $0.280 / 1M tokens |
| Cached input (read) | $0.0028 / 1M tokens |
| Cache write | not published |
| Cache write (1h) | not published |
| Context window | 1M tokens |
Context window and output limits
What deepseek-v4-flash can hold in a single request, and where ByteCosts stops short of a source-backed claim.
- Context window: 1M tokens of combined input plus output per request.
- Maximum output tokens: not a field in this committed pricing record. ByteCosts only states source-backed numbers, so treat the provider documentation as authoritative for the per-response output cap.
- The large 1M window suits long-document, whole-repository, and multi-turn agent workloads, but long prompts multiply the input-token line, so cache the shared prefix where you can.
What it costs at real workloads
Each row is computed from this record's committed input and output token prices with the ByteCosts cost engine. Assumptions are shown inline.
| Workload | Assumed monthly tokens | Estimated token cost |
|---|---|---|
| Light reference | 1M input + 250K output tokens/month | $0.073 / month |
| Production reference | 10M input + 2.5M output tokens/month | $0.728 / month |
| Heavy reference | 100M input + 25M output tokens/month | $7.28 / month |
Best-fit workloads for deepseek-v4-flash
Where this price profile is cost-effective, and where it is not, derived from the committed input, output, cache, and context fields.
- Good fit: Repeated-prefix agents and chat with a stable system prompt: cached input reads list at $0.0028 per 1M, well below the $0.0028 fresh-input rate.
- Good fit: Input-heavy, short-output work (RAG, extraction, classification, reranking pre-filters): output costs about 100.0x input here, so keeping responses tight protects the budget.
- Good fit: Long-context tasks that need the 1M window in one request.
- Not ideal: High-volume long-form generation: output is about 100.0x the input price ($0.280 vs $0.0028 per 1M), so verbose or reasoning-heavy responses dominate the invoice.
deepseek-v4-flash pricing across providers
deepseek-v4-flash is listed by 4 providers in the ByteCosts index. Per-million-token list prices, lowest input first.
| Provider | Input / 1M | Output / 1M |
|---|---|---|
| DeepSeek (this page) | $0.0028 | $0.280 |
| Deep Infra | $0.100 | $0.200 |
| NovitaAI | $0.140 | $0.280 |
| Vivgrid | $0.150 | $0.280 |
When deepseek-v4-flash is cost-effective
deepseek-v4-flash ranks 1 of 2 DeepSeek records by combined list price ($0.283 for 1M input plus 1M output tokens). That puts it in the lower-priced third of this provider's committed records.
Cached input reads are listed at $0.0028 per 1M tokens, 100% of the fresh input rate, so repeated cached prompts have a lower committed input-token cost than fresh prompts.
The committed context window is 1M; use that as the only long-context signal on this page, not as a quality or latency claim.
Cheaper alternatives
Records with a lower combined input plus output list price than this one. Same-provider and same-model cross-provider records are preferred where available.
| Record | Input / 1M | Output / 1M | Combined / 1M + 1M | Detail page |
|---|---|---|---|---|
| OpenCode Zen MiniMax M3 Free | $0 | $0 | $0 | /tools/ai-provider-pricing/opencode--minimax-m3-free |
| routing.run route/deepseek-v3.2 | $0 | $0 | $0 | /tools/ai-provider-pricing/routing-run--route-deepseek-v3.2 |
| SiliconFlow (China) PaddlePaddle/PaddleOCR-VL-1.5 | $0 | $0 | $0 | /tools/ai-provider-pricing/siliconflow-cn--paddlepaddle-paddleocr-vl-1.5 |
Evidence, freshness, and limitations
ByteCosts grades this DeepSeek deepseek-v4-flash row A+: Read from the provider's official pricing page. The record was first tracked on 2026-05-30 and last checked on 2026-06-27, and the source URL stays attached so you can verify the provider source before a purchasing or architecture decision.
Every number here is a planning estimate, not a quote. Real invoices can differ because taxes, negotiated and volume discounts, minimum commitments, batch and priority tiers, gateway and observability fees, and non-token charges are excluded unless they appear in the committed record. Verify the provider source and quote the last-checked date with any copied figure, because model prices change often.
Hidden costs to watch
Flags attached to this source-backed record. They do not change the list price but they change the effective bill.
- No hidden-cost flags are attached to this source-backed record, but always budget for output-token blow-up, retries, and cache misses.
Frequently asked questions
How much does DeepSeek deepseek-v4-flash cost per 1M tokens?
deepseek-v4-flash lists at $0.0028 per 1M input tokens and $0.280 per 1M output tokens in the ByteCosts index, with cached input reads at $0.0028 per 1M. Output is about 100.0x the input price, so completion length drives the bill. See the price card and cost examples above for current per-workload figures.
Is deepseek-v4-flash cheaper than the alternatives?
On combined list price, 3 records in the index come in lower than deepseek-v4-flash, listed in the cheaper-alternatives table. Whether one is actually cheaper for you depends on your token mix, cache hit rate, and quality bar, so compare on your real workload in the calculator.
How fresh is this deepseek-v4-flash price and where is it from?
The price comes from DeepSeek's official source, normalized into the ByteCosts pricing index, graded A+ confidence, and last checked 2026-06-27. Prices are list prices and exclude negotiated discounts; verify the provider source before production billing.
Cite this page
DeepSeek deepseek-v4-flash API pricing. ByteCosts. Updated 2026-06-27. https://bytecosts.com/pricing/deepseek/deepseek-v4-flash/