Glossary · term

Prefill-Decode Disaggregation

Prefill-decode disaggregation separates the two phases of LLM inference onto different worker instances or GPU pools. Prefill processes the prompt and produces a key-value (KV) cache; decode uses that state to generate output tokens. Separating the phases lets operators tune time to first token (TTFT) and latency between output tokens independently. It can reduce interference from long prompts, but adds KV-cache transfer and scheduling costs. Its value depends on the workload, hardware and latency targets.

Also known as: Disaggregated Prefill and Decode, PD Disaggregation, Disaggregated LLM Serving

LLMOps2023-11-30R4Maturity: 3/5

Origin and context

Splitwise appeared as a preprint on 30 November 2023 and was published at ISCA 2024. DistServe was submitted on 18 January 2024 and published at OSDI 2024. The papers examined separate resource allocation for prompt processing and token generation, with different optimization objectives and evaluations. Mooncake later described a KV-cache-centered serving platform with separate prefill and decode clusters. A September 2026 vLLM guide describes how to run disaggregated serving and where transfer overhead can defeat its benefits; implementation details should be checked against the version deployed.

Sources: s1, s2, s3, s4

Why it matters

Prefill is often compute-intensive, while decode often depends heavily on memory bandwidth; batch size and model architecture affect both. Sharing resources can couple prompt-processing latency to ongoing generation. Separate workers make different parallelism and capacity choices possible. DistServe evaluates goodput: requests served within both TTFT and per-token latency limits. That is different from raw tokens per second. The vLLM guide cautions that splitting the same GPUs does not necessarily increase raw throughput. A deployment decision should compare latency targets, KV-transfer time and resource use on the same workload, rather than assume a universal speedup.

Sources: s1, s2, s4

Example

For an illustrative assistant handling long documents, a router first assigns a request to a prefill worker. That worker computes the prompt state and transfers the KV cache to a decode worker, which generates the answer. Compare this path with colocated serving at the same arrival rate and prompt/output length distribution. Measure time to first token, tail inter-token latency, transfer bytes and transfer time, and requests meeting both latency targets. Queueing or KV transfer can still delay the answer. The example specifies a measurement plan, not a verified production configuration or guaranteed improvement.

Sources: s1, s2, s4

Maturity and evidence

Maturity remains 3: the architecture has peer-reviewed systems research and accessible implementations, including Mooncake and vLLM. These establish that the technique can be implemented and evaluated, not that it suits every service. The vLLM guide documents both benefits and transfer overhead in a specific configuration. Smaller services, shorter prompts and constrained interconnects may favor colocated serving; compare systems under the intended workload before adopting a split architecture.

Sources: s1, s2, s3, s4

Limits and open questions

KV-transfer volume depends on the model, sequence length, KV representation and cache reuse. A suitable network or fabric must carry that state within the latency budget; bandwidth alone does not describe queueing, contention or connector behavior. Likewise, CPU memory or SSD cache tiers are not automatically the best choice: moving state through an extra tier can save GPU capacity but adds transfer work. Benchmark the deployed connector and memory path, and account for imbalance between prefill and decode pools. Disaggregation does not remove these bottlenecks.

Sources: s1, s3, s4

References

Last updated: 2026-11-06

In the Skills Atlas

This term is also covered in the Skills Atlas as llm inference serving skill.

In the Skills Atlas

This term is also covered in the Skills Atlas as inference optimization skill.

In the Skills Atlas

This term is also covered in the Skills Atlas as gpu acceleration skill.

In the Skills Atlas

This term is also covered in the Skills Atlas as vllm skill.

Serving implementation guide

Read the vLLM implementation guide: Taking vLLM Apart: A Practical Guide to Disaggregated Serving.

Cite or link to this resource · CC BY 4.0
Free to quote, link, and reuse with attribution

Referencing this analysis in documentation, research, or an engineering write-up? Copy a formatted link or citation below:

Show citation text & canonical URL
Markdown: [Prefill-Decode Disaggregation — AI Glossary — Skills Intelligence](https://www.skillsintelligence.tools/glossary/term/prefill-decode-disaggregation)
APA: Skills Intelligence. (2026). Prefill-Decode Disaggregation — AI Glossary. Skills Intelligence AI Glossary. Retrieved from https://www.skillsintelligence.tools/glossary/term/prefill-decode-disaggregation