How much DeepSeek V4.1 Flash reads and writes
DeepSeek V4.1 Flash reads up to a million tokens and, on Wild West, writes up to 262,144 of them in a single reply, more than any model on the line but Kimi K3.1 Pro Outlaw.
The two numbers
| DeepSeek V4.1 Flash 1017 Outlaw | |
|---|---|
| Context window | 1,048,576 tokens |
| Longest reply | 262,144 tokens |
The window is shared: the prompt and the reply have to fit in it together. A 900,000-token prompt leaves about 148,000 tokens for the answer, whatever max_tokens asks for. DeepSeek's model card recommends a max_tokens of at least 256K, because the reasoning is written into the same budget as the answer.
Why a million tokens is practical here
Long context is usually limited by what it costs to serve rather than what the model can read. DeepSeek says V4.1 Flash needs a quarter of the GPU memory and an eighth of the SSD storage for its KV cache compared with the previous generation (announcement), which is the part of serving that grows with context. Cached input is billed at its own lower rate, so an agent that re-sends the same history every turn pays the cached price for the repeated part.
Against the rest of the line
| Model | Context | Longest reply |
|---|---|---|
| Kimi K3.1 Pro Outlaw | 1,048,576 | 943,718 |
| Slingshooter | 1,048,576 | 131,072 |
| Hipshooter | 1,048,576 | 32,768 |
| DeepSeek V4.1 Flash 1017 Outlaw | 1,048,576 | 262,144 |
| High Noon | 1,048,576 | 65,536 |
| Sidewinder | 1,010,000 | 32,768 |
Every model reads about a million tokens. The difference is how much each writes back in one go: Kimi K3.1 Pro writes the longest replies on the line, and DeepSeek V4.1 Flash's longest reply is twice GLM 5.3's and eight times GLM 5.3 Flash's, which matters for long reports, large generated files and reasoning-heavy answers.
Long replies and spend caps
A large max_tokens does not mean a large bill. Wild West prices the worst case before the model runs, holds it against the key's cap, and lowers max_tokens to what the hold covers, then charges only what was written. See max_tokens clamping and per-key spend caps.
FAQ
What is the context window of DeepSeek V4.1 Flash?
1,048,576 tokens, shared between the prompt and the reply.
What is the maximum output of DeepSeek V4.1 Flash 1017 Outlaw?
262,144 tokens in a single reply. Only Kimi K3.1 Pro Outlaw writes longer replies on Wild West.
Does reasoning count against the output limit?
Yes. Reasoning is written into the same output budget as the answer, which is why DeepSeek recommends a max_tokens of at least 256K.