Alignment No. 04 · Open Models

Essay · 6 min read

Twenty-seven percent of the FLOPs

DeepSeek-V4's card says Pro at 1M context uses 27 percent of V3.2's per-token inference FLOPs and 10 percent of the KV cache. The mechanism is hybrid CSA and HCA attention.

A million tokens is only a product if the cache still fits on the rack you have.

The reason V4 is an inference story as much as a weights story is a single comparison on the Hugging Face card. In the 1M-token setting, DeepSeek-V4-Pro requires 27 percent of DeepSeek-V3.2's single-token inference FLOPs and 10 percent of its KV cache. The news page calls this "peak efficiency" and says 1M is now the default across official DeepSeek services.

The mechanism is a hybrid attention stack. Compressed Sparse Attention (CSA) compresses the KV cache along the sequence and applies DeepSeek Sparse Attention, so a query attends to a top-k set of compressed entries. Heavily Compressed Attention (HCA) compresses much harder and uses dense attention over the compressed entries. The card lists a third upgrade, Manifold-Constrained Hyper-Connections (mHC), as a residual replacement for stabler deep signal flow, and a fourth, the Muon optimizer, for training. Pre-training used more than 32 trillion tokens. Post-training is two-stage: domain experts trained with SFT and GRPO, then merged by on-policy distillation.

The later technical report (arXiv:2606.19348) repeats those figures and adds the compression ratios that the Transformers docs also print: CSA pools at a low rate (default m=4) with a lightning indexer; HCA pools at a high rate (default m'=128) without an indexer. V4-Pro's default layer schedule, in the Transformers model doc, is two HCA bootstrap layers plus interleaved CSA and HCA. Those details are implementation facts, not independent speedups.

Long-context rows on the card are the company's own. Base models: LongBench-V2 51.5 for Pro-Base versus 40.2 for V3.2-Base. Instruct Pro-Max: MRCR 1M at 83.5 MMR, CorpusQA 1M at 62.0, against Gemini-3.1-Pro High at 76.3 and 53.8 on those two. Opus-4.6 Max is higher on both (92.9 and 71.7). A million tokens is not a sweep of the closed models. It is a claim that the open set can sit in the same context class.

Why agents care is mechanical. Skill-Inject's longest skills already strain short windows; the Skill-Inject authors said GPT-4 missed both task and payload when the file exceeded context. Bad Memory's standing files only help if they fit next to the repository. MCP list results now carry cache hints so a catalog can stay in a prefix. A 1M default makes those objects routine. It also makes a bad skill or a poisoned CLAUDE.md routine. Issue 08 is the security reading. This essay is the serving reading.

Local run notes on the card are easy to miss. Think Max wants at least 384K context. Temperature 1.0, top_p 1.0. Instruct weights are FP4 experts plus FP8, which is a GPU-generation bet. Base weights are FP8 throughout. If your serving stack cannot do that mix, you are not running the card's model.

Ten percent of the KV cache is the only reason 1M can be a default.

What is new is a published FLOPs and KV comparison against the previous open generation, plus a hybrid attention recipe other stacks can try to copy. Why it matters is cost. A hosted 1M window that billed like V3.2 would have stayed a demo. What is unresolved is whether 27 percent and 10 percent hold under a third-party serving stack, and whether MRCR and CorpusQA at 1M survive a contamination pass. DeepSeek is the author of both the architecture and the table.

The practical read is to size from the card, not from V3.2 folklore. If you serve Pro, plan KV for the compressed stack and confirm FP4 expert kernels. If you only need Flash, the same 1M default applies at 13 billion active. If you need a closed-model comparison on 1M, print Opus and Gemini from the same card and leave the rest of the marketing off the slide.

The technical report (arXiv:2606.19348) repeats the 27 percent FLOPs and 10 percent KV claims and describes CSA as pooling every m tokens then applying DSA with top-k, and HCA as pooling every m' (much larger) tokens with dense attention over the pool. Transformers' model doc gives defaults m=4 and m'=128 and a Pro schedule of two HCA bootstrap layers plus interleaving. Those defaults are how a serving team can try to reproduce the card. They are not a third-party speedup.

Issue 05's racks exist because someone has to hold even a compressed 1M window. Issue 08 exists because a 1M window will happily hold a malicious skill and a poisoned memory file at the same time. Size the cache from the card. Size the threat model from those later issues.

Long-context instruct rows are still DeepSeek's. MRCR 1M 83.5 and CorpusQA 1M 62.0 for Pro-Max sit behind Opus-4.6 Max (92.9 and 71.7) and ahead of Gemini-3.1-Pro High (76.3 and 53.8) on those two. A million tokens is a class, not a crown.

Local Think Max at 384K minimum context is a serving footgun. Teams that set 128K and wonder why Max looks like High have not read the card. Temperature 1.0 and top_p 1.0 are the other footgun for people who copied a 0.7 recipe from V3.

If you compress KV by 10x and then fill the window with untrusted skills, you have built a cheaper poisoned context. Issue 08 is required reading next to this one. If you bill 1M as if it were 128K, Issue 05 is required reading.

CSA plus HCA, mHC, Muon, 27 percent FLOPs, 10 percent KV versus V3.2 at 1M, m=4 and m'=128 in the Transformers doc, LongBench-V2 51.5 on Pro-Base: that is the efficiency claim.

Reproduce the mix precision. Do not bill 1M like 128K. Do not fill the cheap window with untrusted skills and then act surprised in Issue 08.

On the record, the Hugging Face card and arXiv:2606.19348 agree on 27 percent FLOPs and 10 percent KV versus V3.2 at 1M, CSA+HCA, mHC, Muon, 32T pre-train tokens. Transformers docs give m=4, m'=128, and a Pro layer schedule. Long-context instruct rows (MRCR 1M 83.5, CorpusQA 1M 62.0 for Pro-Max) are DeepSeek's and sit behind Opus-4.6 Max on those two.

Reproduce precision. Do not bill 1M as 128K. Do not treat a cheaper window as a safer window. Skills and memory files fit more easily now. That is Issue 08's problem and also yours.

A million tokens is a serving problem first. 27 percent FLOPs and 10 percent KV are why DeepSeek can call 1M a default. CSA and HCA are how. FP4 experts are the local-deploy tax. Think Max at 384K minimum is the silent footgun.

Size from the card. Do not bill like V3.2. Do not fill the cheap window with untrusted skills. Issue 05 holds the rack. Issue 08 holds the poison. This essay holds the compression claim.

This essay stays inside dated primary sources. Every percentage, date, and named person above is attached to a URL in the Sources list. If a figure is a vendor claim, it is labeled as one. If a figure is a paper table, the table number is given. If a parliamentary sentence was spoken rather than independently recounted, it is filed as spoken. Alignment does not invent quotes, people, or events to fill a word count.

The practical next step is documentary. Keep the URLs. Keep the dates. Keep the harness names. When a later issue reprints a related number, stack the dates instead of picking the flattering one. That habit is the whole magazine.

Notes

  1. 1DeepSeek-V4-Pro · Hugging Face
  2. 2DeepSeek-V4 Preview: Entering the Era of Affordable Million-Token Context · DeepSeek
  3. 3DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence · arXiv