Skip to content

Prefill vs decode

Prefill reads an LLM prompt in parallel and is compute-bound. Decode emits one output token per step and is memory-bound.

  • prefill phase
  • decode phase
  • prefill vs decode meaning
  • disaggregated serving
  • prefill decode disaggregation
  • compute-bound vs memory-bound
  • chunked prefill
  • xPyD
  • NIXL KV transfer
  • LLM inference phases