DeepSeek V4 Flash API pricing and context window
DeepSeek V4 Flash costs $0.30 per 1M input tokens and $1.20 per 1M output tokens on the DeepSeek API. Cached input reads cost $0.006 per 1M. It accepts up to 1,000,000 input tokens and returns up to 393,216 output tokens. A typical chat request (10K input, 1K output) costs about $0.0042. Prices last updated November 27, 2026.
- Input
- $0.30 per 1M tokens
- Output
- $1.20 per 1M tokens
- Cached input
- $0.006 per 1M tokens
- Context window
- 1,000,000 tokens
- Max output
- 393,216 tokens
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.0042 |
| Codebase question (100K in + 2K out) | $0.032 |
| Same question with cached context (100K cached + 2K out) | $0.003 |
| Filling the whole context once (1M in) | $0.30 |
| 1M tokens a month (750K in + 250K out) | $0.525 |
Estimate your own workload in the calculator
Capabilities and details
- Image input: Yes
- Function calling: Yes
- Reasoning: Yes
- Prompt caching: Yes
- PDF input: Not listed
- Web search: Yes
- Structured output: Yes
- Endpoints: /v1/chat/completions
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| Codestral 25.08 | Mistral | $0.30 | $0.90 | 128K | 0% / -25% |
| GPT-5 mini | OpenAI | $0.25 | $2.00 | 272K | -17% / +67% |
| Mistral Large 3 | Mistral | $0.50 | $1.50 | 256K | +67% / +25% |
| DeepSeek V3.2 | DeepSeek | $0.28 | $0.40 | 160K | -7% / -67% |
| DeepSeek V4 Pro | DeepSeek | $1.32 | $3.96 | 1M | +340% / +230% |
Compare DeepSeek V4 Flash
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $0.30 | $1.20 | $0.006 |
Tracking started on November 21, 2026. A new row appears only when a price changes.
Embed this price badge
The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.
<a href="https://vibecodingturkey.com/models/deepseek-v4-flash"><img src="https://vibecodingturkey.com/models/badge/deepseek-v4-flash.svg" alt="DeepSeek V4 Flash API price" height="20"></a>[](https://vibecodingturkey.com/models/deepseek-v4-flash)
Questions
Does DeepSeek V4 Flash support prompt caching?
Yes. Cached input reads cost $0.006 per 1M tokens, 98% less than standard input.
How much does DeepSeek V4 Flash cost per 1M tokens?
$0.30 per 1M input tokens and $1.20 per 1M output tokens on the DeepSeek API, as of November 27, 2026.
What is the context window of DeepSeek V4 Flash?
DeepSeek V4 Flash accepts up to 1,000,000 input tokens and can return up to 393,216 output tokens in one response.
How much does a typical DeepSeek V4 Flash request cost?
A chat request with 10K input and 1K output tokens costs about $0.0042; a 100K-token codebase question with a 2K answer costs about $0.032.