Why DeepSeek Routes More Experts During Decode

Key Takeaways
- •V4.1-Flash activates 8B parameters per token at prefill and 16B at decode. The difference follows the bottleneck rather than a model-card error.
- •Examines prefill and decode are different problems, analyzing the structural bottlenecks and trade-offs in real-world deployments.
- •Provides engineering benchmarks and verification criteria for most of the stack is owned rather than borrowed.
The DeepSeek-V4.1-Flash model card lists 552 billion backbone parameters. It also lists two active-parameter counts: 8 billion per token at prefill, and 16 billion at decode.
Two numbers where most model cards give one is the detail worth pausing on. The difference describes how inference behaves across its two phases.
Prefill and decode are different problems
Prefill processes a long sequence at once. Many tokens arrive together, the work is dominated by large matrix multiplications, and arithmetic throughput sets the pace.
Decode processes one token per sequence per step. Arithmetic intensity collapses because each token requires reading weights that are then used for a small amount of computation, so memory bandwidth sets the pace rather than compute.
Allowing the router to spend a larger budget per token during decode follows from that difference. Where arithmetic is scarce, route fewer experts. Where bandwidth is scarce and each expert read is already being paid for, route more.
DeepSeek does not document that reasoning as such. The counts are in the model card, and the compute-bound versus bandwidth-bound explanation is inference from standard serving behaviour rather than a quoted rationale.
Most published mixture-of-experts descriptions quote a single active count, which hides the number that determines interactive latency.
Most of the stack is owned rather than borrowed
DeepInfer, the serving framework for this model, builds on FlashMLA, DeepGEMM, DeepEP, TileKernels, DeepSelect and TileLang. All are in-house, and the framework ships support for exactly one checkpoint.
That combination states where performance now comes from. When the attention kernel, the GEMM library, the expert-communication layer and the scheduling logic all have to agree to hit a latency target, an abstraction layer that supports forty architectures becomes a liability rather than an asset.
A single-model server is the shape aggressive co-design takes. The alternative, a general framework with per-model tuning bolted on, reaches acceptable performance more slowly and never quite closes the gap.
The same pattern appears in hardware support. DeepInfer covers Huawei Ascend 950 alongside NVIDIA SM100, so the coupling is to silicon families rather than to one vendor.
Operational settings that only exist under co-design
Speculative decoding runs through DSpark with confidence-scheduled verification, and DEEPINFER_USE_NEXTN_DECODE defaults to five. That default is a tuned constant rather than a first guess, and it treats speculation as a scheduling problem rather than a fixed multiplier.
Sliding-window attention uses bounded replay, set through a compact truncation mode with a keep budget of 140 tokens. A parameter of that kind exists when the serving engine and the model were designed against each other, because it encodes an assumption about how much context the model can safely reuse.
Batch-invariant inference is available as a switch on NVIDIA hardware. Identical input producing identical output at a fixed batch configuration is a prerequisite for debugging a production failure.
What is not established
No verified benchmark table maps these architecture choices to latency or throughput, and the figures here are structural rather than measured. Kernel component names are listed in the materials, and no per-kernel performance numbers were verified.
A throughput figure of 25,000 decode tokens per second circulates in press coverage and does not appear in the repository README. No retrieved material pairs it with a test condition.
No published explanation of the single-model design rationale was located, so the reasoning above is reconstruction from what the stack contains rather than a statement by its authors.
Launch dates are ambiguous across the sources consulted.
What the model card indicates
A card reporting two active-parameter counts states that inference has two regimes, and that a single number cannot describe both.
For anyone sizing a deployment, interactive latency depends on the decode figure rather than the prefill figure, and the two differ by a factor of two here. A capacity plan built from one number will be wrong for one of the two workloads.



