Pre/decode disaggregation has moved from a research idea to a standard architecture: run compute-heavy prefill on one pool, memory-heavy decode on another, and move state between them. The architecture diagram is simple. Deploying it on a domestic heterogeneous fleet — and keeping it stable while real traffic arrives — is where most of the work actually lives.
This note lays out that path in the order we encounter it. For the architectural background, start with the heterogeneous P/D primer.
Step 1: Match hardware to phase, honestly
Prefill is throughput-bound on matrix math; decode is bound by memory bandwidth and grows with context length. That asymmetry is why a mixed fleet beats a uniform one — but only if the assignment reflects measured behavior on the devices you actually have, not vendor spec sheets. Our guide to the trade-off is in Why Prefill and Decode Want Different Hardware.
Step 2: Treat KV cache transfer as a first-class cost
The moment you separate prefill from decode, the KV cache must travel. Transfer volume grows with context length and concurrency, so the interconnect becomes a capacity-planning constraint, not a detail. Layout, compression and tiering decisions made here bound what the rest of the stack can achieve — see KV cache transfer in disaggregated serving.
Rule of thumb If the KV handoff costs more than the prefill it saves, the deployment is not disaggregated — it is just distributed.
Step 3: Simulate before you scale
Every new model, device type or parallelism setting multiplies the configuration space. Simulating runtime behavior across those combinations — we describe the approach as virtual–physical isomorphism — lets teams find the configurations worth deploying before committing capacity. Live traffic then corrects the simulation, and the two stay in a continuous loop.
Step 4: Keep the model set small
Each model added to production multiplies adaptation, tuning and quality-monitoring work. Consolidating to a few models and optimizing them deeply is what makes the fleet manageable; the argument is in Fewer Models, Better Systems, and the selection criteria in Choosing a Model Family for Production.
Step 5: Validate quality, not just latency
A fast token that is wrong is still a cost. Production serving needs checks on output quality alongside throughput metrics — quantization and cache handling both influence what comes out, as covered in KV cache and token quality and Quantization and token quality.
What the path adds up to
Done well, the result is capacity that behaves like supply: predictable latency, metered output, stated quality, manageable cost. That is the difference between owning inference infrastructure and operating a token service — the distinction we set out in What Is Token as a Service?
Heterogeneous P/D is not a shortcut past engineering. It is a way of organizing the engineering so that the same hardware returns more usable output.