DeepSeek in late 2026: V4 Pro, V4.1 Flash, sparse attention kernels and off-peak pricing
DeepSeek's line-up now centres on V4 Pro and V4.1 Flash, both with a 1M-token context and half-price off-peak hours on its API, while its open FlashMLA kernels moved to Blackwell and Huawei Ascend chips. This guide explains the models, the sparse attention behind them and the costs.
- Reading time
- 13 min
- Sections
- 9
- Code examples
- 2
- Tables
- 2
- Sources
- 7
- Published
- 23 Nov 2026
- What changed
- DeepSeek V4 Pro and V4 Flash launch
- Why it matters
- DeepSeek remains the price floor for capable models with a 1M-token context.
- What to do
- Move off legacy model names
DeepSeek has had a quieter November than its rivals: no new flagship in the last week, but a set of changes over the autumn that together reshape how its models are used. Its API now serves two main model lines, V4 Pro and V4 Flash, each with a 1-million-token context. The Flash line was upgraded to V4.1 in September and again in October. DeepSeek's prices include an off-peak discount that halves the cost during most hours outside China's working day. And its open-source attention kernels, FlashMLA, dropped support for NVIDIA's Hopper GPUs on 30 September in favour of Blackwell-class GPUs and Huawei's Ascend 950.
For developers, that adds up to three practical questions. Which model should I call? When should I call it? And if I self-host, which hardware can still run it efficiently? This guide answers them using DeepSeek's own GitHub repositories and the prices DeepSeek's documentation feeds into the LiteLLM catalogue. Where only press headlines support a claim, we say so.
There was no new model in the seven days before publication, so this is a guide to the current state rather than a launch report. The site already has a reference page on DeepSeek V4.1 and an explainer on multi-head latent attention, the technique behind FlashMLA's name.
What happened
DeepSeek V4 Pro and V4 Flash launch (24 April 2026)
Bloomberg, Al Jazeera and other outlets reported on 24 April 2026 that DeepSeek released V4, its first new flagship in a year, in two versions, V4-Pro and V4-Flash. The Next Web described the launch as open source. Heise reported a size of 1.6 trillion parameters. We could not read DeepSeek's model card for this article, so we treat the size as reported rather than confirmed.
DeepSeek V4.1 Flash and its attention kernels (10 September 2026)
DeepSeek's API news page announced "DeepSeek-V4.1-Flash: Smarter, Faster, More Efficient" on 10 September. The FlashMLA repository records the same date: "Release of DeepSeek v4.1's Attention Kernels", covering prefill and decoding "with FP8 or FP4 KV cache", plus a fused kernel. The weights are published as deepseek-ai/DeepSeek-V4.1-Flash on Hugging Face.
FlashMLA moves to Blackwell and Ascend and drops Hopper (30 September 2026)
The FlashMLA README carries a "breaking change notice": the 30 September release "removed support for the Hopper architecture and for earlier models (including DeepSeek V3 / V3.2 / V4.0)" and "changed the FP8 / FP4 KV cache format". The same release added sparse attention kernels for the Huawei Ascend 950 NPU that reach "up to 410 TFlops (95% hardware peak)" in prefill and "360 TFlops (83% of hardware peak)" in decoding.
V4.1 Flash 1017 update keeps prices flat (17 October 2026)
Press reports in mid-October described a "V4.1-Flash-1017" update with better scores, released "without raising API prices". Mistral's API also lists deepseek-v4-1-flash-1017 at the same $0.30 and $1.20 per million tokens as DeepSeek's own Flash price.
The DeepSeek line-up and prices
The table uses DeepSeek's prices as recorded in LiteLLM, which cites DeepSeek's pricing page.
| API model ID | Context | Max output | Standard price per 1M (input / output) | Off-peak price per 1M (input / output) | Cached input per 1M (standard) | Inputs | Weights and licence |
|---|---|---|---|---|---|---|---|
| deepseek-v4-pro | 1,000,000 | 393,216 | $1.32 / $3.96 | $0.66 / $1.98 | $0.044 | Text | Open weights reported; check model card |
| deepseek-v4-flash | 1,000,000 | 393,216 | $0.30 / $1.20 | $0.15 / $0.60 | $0.006 | Text, image | DeepSeek-V4.1-Flash weights on Hugging Face; check model card |
| deepseek-v4-flash-vision-exp | 1,000,000 | 393,216 | $0.30 / $1.20 | $0.15 / $0.60 | $0.006 | Text, image | Experimental API model |
| deepseek-v3.2 (older) | 163,840 | 163,840 | $0.28 / $0.40 | n/a | $0.028 | Text | MIT (V3.2-Exp repository) |
The aliases deepseek-flash-latest and deepseek-pro-latest point to the V4 Flash and Pro IDs. The legacy deepseek-chat and deepseek-reasoner names carry a deprecation date of 24 July 2026 in the catalogue, so code still using them should move. DeepSeek also sells a search tool at $0.00075 per query, which works out to $0.75 per thousand queries.
Cache pricing is extreme
The cached-input price for V4 Flash is $0.006 per million tokens, against $0.30 for fresh input: a 98% discount. For V4 Pro it is $0.044 against $1.32, about 97%. That is steeper than the other providers covered in this series: Anthropic and OpenAI list cache reads at about 95% to 97.5% below fresh input on their top models, and xAI at 75% on Grok 4.7. Any workload that reuses a long prefix, such as an agent with a large system prompt and tool list, should be designed around it. Our page on prompt caching explains how prefix caches work.
How off-peak pricing works
DeepSeek's catalogue entry lists off-peak windows in UTC. On weekdays, the discount applies from 00:00 to 01:00, from 04:00 to 06:00 and from 10:00 to midnight. At weekends it applies all day. During those windows, prices fall by half: V4 Flash drops to $0.15 and $0.60, V4 Pro to $0.66 and $1.98.
The peak hours that remain, 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays, correspond to 09:00 to 12:00 and 14:00 to 18:00 in Beijing. In other words, DeepSeek charges full price during China's working day and half price the rest of the time. It is the same logic as cheaper electricity at night: the hardware is fixed, so filling idle hours with discounted work raises its use.
A worked example
A team runs a nightly batch on V4 Pro: 200 million input tokens, of which 150 million are a cached prefix, and 20 million output tokens.
At standard prices: - Cached input: 150 × $0.044 = $6.60 - Fresh input: 50 × $1.32 = $66 - Output: 20 × $3.96 = $79.20 - Total: $151.80
At off-peak prices: - Cached input: 150 × $0.022 = $3.30 - Fresh input: 50 × $0.66 = $33 - Output: 20 × $1.98 = $39.60 - Total: $75.90
For a team in Europe, running at 20:00 UTC is off-peak; for a team in Beijing, running at 20:00 local time (12:00 UTC) is off-peak too. Scheduling the job is free money. Our guide to cost and latency budgets covers how to build such rules into a pipeline.
How DeepSeek's attention works
DeepSeek's efficiency comes from two attention ideas, stacked.
Multi-head latent attention
Standard attention stores a full key and value vector for every past token in every layer. Multi-head latent attention (MLA) stores a compressed "latent" vector instead and expands it when needed. The cache shrinks a lot, which matters at a 1M-token context. FlashMLA is DeepSeek's library of GPU kernels for this. The KV cache simulation shows why cache size limits long contexts.
DeepSeek Sparse Attention
Even with a small cache, attending to every one of a million past tokens is slow. DeepSeek Sparse Attention (DSA), introduced with V3.2-Exp, lets each new token attend only to a selected subset of earlier tokens. The V3.2-Exp README describes it as "fine-grained sparse attention" that delivers "substantial improvements in long-context training and inference efficiency while maintaining virtually identical model output quality". It backs that with a controlled comparison: V3.2-Exp was trained with the same configuration as V3.1-Terminus and scored, for example, 85.0 against 85.0 on MMLU-Pro and 79.9 against 80.7 on GPQA-Diamond. Those are DeepSeek's own numbers.
An analogy: a lawyer preparing for trial does not reread every page of a 10,000-page case file for each question. They use an index to find the 50 pages that matter and read those carefully. DSA's "indexer" plays the index, and the attention kernel reads only the selected tokens. Other labs have adopted the idea; the GLM-5 README says GLM-5 "integrates DeepSeek Sparse Attention".
What the kernel numbers mean
FlashMLA reports, on NVIDIA B200 with CUDA 13.3, up to 1,460 TFLOPS in prefill and 950 TFLOPS in decoding for its fused sparse kernel. On Huawei's Ascend 950 it reports 410 TFLOPS in prefill, 95% of the chip's peak. Reaching 95% of theoretical peak in a real kernel is unusually high. These are DeepSeek's measurements on its own benchmarks.
Self-hosting after the Hopper cut
The September breaking change matters more than any benchmark for teams that run DeepSeek themselves. The current FlashMLA needs NVIDIA SM100 or SM103 GPUs (the Blackwell generation, such as B200) with CUDA 13.1 or later, or a Huawei Ascend 950. On Hopper GPUs such as the H100 and H200, or for V3, V3.2 and V4.0 models, the README tells users to "switch to this commit", an older version with the previous KV cache format.
In practice:
| Your hardware | Model you want | What to do |
|---|---|---|
| B200 or other SM100/SM103 | V4.1 Flash | Use current FlashMLA through your serving engine |
| H100 or H200 | V4.1 Flash | Check whether your serving engine supports it without current FlashMLA; expect lower efficiency |
| H100 or H200 | V3.2 or V4.0 | Pin the older FlashMLA commit and the old KV cache format |
| Ascend 950 | V4.1 Flash | Use FlashMLA's Ascend build with a matching torch_npu |
Do not mix KV cache formats between versions; the README is explicit that the new release "is not compatible with previous ones". Our pages on the NVIDIA H100 and NVIDIA B200 cover the hardware.
Continue learning
How this article connects
8 pages link to or from it. Drag to turn, click a dot to open it.
Calling DeepSeek
DeepSeek's API follows the OpenAI format, so the standard client works with DeepSeek's base URL:
from openai import OpenAI
client = OpenAI(api_key="YOUR_DEEPSEEK_KEY", base_url="https://api.deepseek.com")
resp = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[
{"role": "system", "content": "You are a careful code reviewer."},
{"role": "user", "content": "Review this function for bugs: ..."},
],
)
print(resp.choices[0].message.content)
print(resp.usage) # check cached versus fresh input tokens
Keep the system prompt identical across calls so it hits the cache, and log the usage block to confirm the hit rate. If you route through a gateway or a third-party host such as Mistral's API, check that host's own cache pricing and model version, because the 98% discount and the off-peak windows are DeepSeek's own policies and may not carry over. For agent workloads, the prompt cache hits simulation shows how quickly a single changed byte at the start of a prompt can wipe out the savings.
What it means in practice
DeepSeek remains the price floor for capable models with a 1M-token context. V4 Flash at $0.30 and $1.20, or $0.15 and $0.60 off-peak, is a fraction of the price of Western mid-tier models. With a 98% cache discount, a well-designed agent can run very cheaply.
The trade-offs are real. Data goes to a provider in China, which some organisations cannot accept; self-hosting the open weights avoids that but now requires recent hardware for best efficiency. Independent evaluations of V4.1 Flash were not available to us in verifiable form, so quality must be measured on your own tasks.
The FlashMLA change also signals DeepSeek's direction: first-class support for Huawei Ascend alongside NVIDIA's newest chips. For anyone tracking how export controls shape AI infrastructure, that is a notable engineering choice.
What to do now
- Move off legacy model names. Replace
deepseek-chatanddeepseek-reasonerwithdeepseek-v4-flashordeepseek-v4-pro. - Schedule batch work off-peak. Run non-urgent jobs outside 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays to pay half price.
- Design for the cache. Keep system prompts and tool definitions byte-identical so they hit the 98% cache discount.
- Pin a dated model where you can. Use explicit IDs rather than
-latestaliases so updates such as Flash 1017 do not change behaviour silently. - Check your GPUs before self-hosting. On Hopper, pin the older FlashMLA commit or confirm your serving engine's support for V4.1.
- Evaluate Flash against Pro. At more than four times the price, Pro should be used only where your tests show a clear gain.
- Review data residency. Decide whether your data may go to DeepSeek's API, to a third-party host or only to self-hosted weights.
- Read the licence for each checkpoint. V3.2-Exp is MIT licensed; confirm the terms on the V4 and V4.1 model cards.
Risks and open questions
Some headline facts are only reported. The 1.6-trillion-parameter size and the open-source status of V4 come from press coverage we could not check against DeepSeek's model card.
Benchmarks are mostly DeepSeek's own. We found no independent, verifiable results for V4.1 Flash in our sources. Treat quality claims with care.
Off-peak windows can change. The schedule is a pricing policy, not a contract. Re-check it before you build a pipeline that depends on it.
Hardware lock-in is growing. Kernels tuned for B200 and Ascend 950 leave older GPUs behind, which raises the cost of self-hosting.
Watch next: a V4.1 Pro or V5 release, independent evaluations of V4.1 Flash, any change to the off-peak schedule, and FlashMLA support for newer NVIDIA and Huawei chips.
Frequently asked questions
What is the difference between DeepSeek V4 Pro and V4 Flash?
They are two lines of the V4 generation. On DeepSeek's API, Pro costs $1.32 and $3.96 per million tokens and takes text, while Flash costs $0.30 and $1.20 and also accepts images. Both have a 1M-token context and up to 393,216 output tokens.
When is DeepSeek's off-peak discount?
According to the pricing data we used, on weekdays from 00:00 to 01:00, 04:00 to 06:00 and 10:00 to 24:00 UTC, and all day at weekends. Prices are halved during those windows.
Why did FlashMLA drop Hopper support?
The 30 September 2026 release refocused the kernels on DeepSeek V4.1 for NVIDIA SM100 and SM103 GPUs and Huawei Ascend 950, and changed the KV cache format. Users on Hopper or older models are told to pin an earlier commit.
What is DeepSeek Sparse Attention?
It is a method, introduced with DeepSeek V3.2-Exp, that lets each token attend to a selected subset of earlier tokens rather than all of them. DeepSeek reports large efficiency gains at long context with almost unchanged quality.
Can I use the OpenAI SDK with DeepSeek?
Yes. DeepSeek's API is OpenAI-compatible: set the base URL to DeepSeek's endpoint, use your DeepSeek key and pass a model name such as deepseek-v4-flash.
Summary
DeepSeek's current line-up is V4 Pro at $1.32 and $3.96 per million tokens and V4 Flash, now on the V4.1 generation, at $0.30 and $1.20, both with a 1M-token context, cache discounts of about 97 to 98% and half-price off-peak hours outside Beijing working time. Its efficiency rests on multi-head latent attention and DeepSeek Sparse Attention, implemented in the open FlashMLA kernels, which since 30 September target Blackwell-class GPUs and Huawei's Ascend 950 and no longer support Hopper. Move off legacy model names, schedule batch work off-peak, design for the cache and check your hardware before self-hosting.
Sources
- Code DeepSeek: FlashMLA repository and news
- Code DeepSeek: DeepSeek-V3.2-Exp and DeepSeek Sparse Attention
- Docs DeepSeek: DeepSeek-V4.1-Flash, Smarter, Faster, More Efficient
- News Bloomberg: DeepSeek unveils flagship AI model a year after breakthrough
- Web Dataconomy: DeepSeek updates V4.1 Flash without raising API prices
- Code BerriAI: LiteLLM model prices and context windows
- Code Z.ai: GLM-5 repository README
Cite this article
Kelahmet, Ö. C. (2026, November 23). DeepSeek in late 2026: V4 Pro, V4.1 Flash, sparse attention kernels and off-peak pricing. Özer Cem KELAHMET. https://www.ozercemkelahmet.com/articles/deepseek-v4-guide-sparse-attention-pricing
BibTeX
@online{kelahmet2026deepseek,
author = {Kelahmet, {\"O}zer Cem},
title = {{DeepSeek in late 2026: V4 Pro, V4.1 Flash, sparse attention kernels and off-peak pricing}},
year = {2026},
month = {nov},
url = {https://www.ozercemkelahmet.com/articles/deepseek-v4-guide-sparse-attention-pricing}
}Version historyfirst version
- Published
Factual corrections are listed here with what changed. Wording and formatting edits are not listed.