All posts
    Heterogeneous Inference · 2026-10-29 · 7 min read

    Splitting prefill and decode across different chips

    Prefill is compute-bound and decode is memory-bandwidth-bound. Running them on different silicon is one of the clearest wins of heterogeneous inference — here is how it works and where it breaks.

    Two phases, two bottlenecks

    Every LLM request has a prefill phase, where the model reads the whole prompt in parallel, and a decode phase, where it generates output one token at a time. Prefill is limited mainly by raw compute. Decode is limited mainly by how fast weights and the KV cache can be read from memory.

    On one homogeneous cluster both phases compete for the same accelerators, so long prompts slow down everyone else's token stream. That is why time to first token and tokens per second often move in opposite directions under load.

    Fig. 1Anatomy of one request
    TIME →PREFILLWhole prompt, in parallelCOMPUTE-BOUNDTTFTDECODEOne token at a time, reading weights + KV cacheMEMORY-BANDWIDTH-BOUND
    Prefill reads the whole prompt at once and is limited by compute. Decode emits one token at a time and is limited by memory bandwidth. Time to first token is set by prefill; tokens per second by decode.

    Disaggregation: give each phase its own hardware

    Disaggregated serving runs prefill and decode on separate pools and moves the KV cache between them. Once they are separate, nothing forces both pools to use the same chip. Prefill can go to high-compute GPUs; decode can go to hardware with high memory bandwidth or capacity, or to inference-specific accelerators built for token generation.

    Fig. 2Disaggregated serving
    Prompt in
    Prefill pool
    High-compute GPU
    Reads the prompt, builds the KV cache.
    KV cache
    Decode pool
    High-bandwidth GPU
    Streams tokens from the cache.
    Tokens out
    Once prefill and decode run on separate pools, they no longer need the same chip. The KV cache has to move between them, so both pools should sit in one site on a fast network.

    Where it breaks

    The KV cache has to travel. If the network between pools is slow, or the two chips use incompatible cache formats, the transfer cost can erase the gain. Disaggregation works best inside one site with a fast fabric, and for prompts long enough that prefill is a meaningful share of the work.

    Short chat turns with small models often gain little. Measure before you split.

    Fig. 3Should you split?
    Likely to help
    • Long prompts (RAG, documents, code)
    • Both pools in one site on a fast network
    • Strict tokens-per-second targets under load
    • Large models where decode dominates cost
    Likely to gain little
    • Short chat turns
    • Small models that fit easily on one chip
    • Pools in different regions
    • Incompatible KV cache formats between chips
    A quick screen before running a measured test. Measure before you split.

    How QVolt approaches it

    QServe treats prefill and decode as separately placeable stages within a site, using a tuned runtime per chip. We publish our test method and will publish measured results per model and per hardware pairing; we do not quote speed-ups we have not measured.

    Put this into practice

    Bring us your workload and we will benchmark it on the accelerator and region you are considering.