Learn AI Math

Prefill-Decode Disaggregation

What is Prefill-Decode Disaggregation?

In one sentence: Prefill-decode disaggregation runs the prefill and decode phases on separate machines, each tuned for its job.

Prefill is compute-heavy and decode is memory-heavy, so mixing them on the same GPUs can slow both down. Splitting them lets each group of machines be used efficiently. The KV cache is passed from prefill machines to decode machines.

What does Prefill-Decode Disaggregation look like?

A large AI service might send prompts to "prefill" GPUs and then hand off to "decode" GPUs for writing answers.

Why does Prefill-Decode Disaggregation matter?

It helps big AI services run faster and cheaper at scale.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.