In one line: PagedAttention pages the KV cache into fixed 16-token blocks with OS-style block tables, copy-on-write sharing, and swap/recompute preemption, lifting KV memory utilization from about 20 to 38% to 96% and the sustainable request rate 1.7 to 2.7x over the authors' own Orca reimplementation with oracle allocation (ShareGPT; 2 to 4x across the paper's baselines); it became the industry-standard KV layout and the foundation of vLLM.
How far to trust it: Believe the mechanism and the memory accounting: the waste figures reproduce from Table 1 and the paper's own length distributions, and paged KV caches became the default of every major serving stack. Treat the throughput multiples as the top of a range: they come from single runs against the authors' own reimplementation of Orca, and read off the paper's figures the gain over the strongest baseline is 1.5 to 2.4x on ShareGPT, about 1.3 to 1.8x on Alpaca, and near 1x where memory is not the bottleneck. The evidence, judged.
The idea in one sentence: store each request's KV cache in small fixed-size blocks that can sit anywhere in GPU memory, found through a per-request block table the way an operating system pages virtual memory, so memory is taken only as tokens arrive, each sequence wastes at most one partly filled block, and sequences share blocks with copy-on-write; more requests then fit in each batch, which is where the throughput comes from (the paper reports 2 to 4× over FasterTransformer and Orca; read off its own Figure 12, 1.5 to 2.3× over the ideal contiguous baseline on ShareGPT).
The paper's measured waste, drawn to scale
The floors show one iteration of this page's simulator (iteration 3,000 of a ShareGPT-like run, seed 1, the rules of §6.1; Simulate the KV cache), so its own shares (the line above, while a floor is in focus) move a little from iteration to iteration; the percentages above are the averages. Figure 2 is OPT-13B on ShareGPT (Figure 2), Figure 13a the same run's batch sizes (Figure 13).
You need: why a KV cache exists (The transformer from zero, section 9) and how big it is per token (Long context); why decode is memory-bound (Performance math). Continuous batching, paging, prefix caching, chunked prefill and preemption as they work today are taught on Batching, KV cache and scheduling in depth, and vLLM's current code on vLLM: inside the default engine; this page is the paper. New terms: KV block (a fixed number B of tokens' keys and values, 16 by default); block table (per request, logical block to physical block plus fill count); internal and external fragmentation (reserved slots never used; gaps between chunks no request can use); reference count, copy-on-write (how many sequences use a block; copy it only when one writes to a shared block); Orca (Max, Pow2, Oracle) (the authors' reimplementations of Orca reserving the maximum length, up to 2× the output, or exactly the true output); normalized latency (end-to-end latency over output length, seconds per token).
Decoding one request at a time is memory-bound: every step reads all the weights for one token, which "underutilizes the computation power of GPUs and limits the serving throughput" (§1). Batching shares each weight read across many requests, and how many fit is decided by the GPU memory left for their KV cache, the keys and values of every token so far (§2.2).
The cache is large. For OPT-13B one token's KV cache is 800 KB: 2 (key and value) × 5,120 (hidden size) × 40 (layers) × 2 bytes (FP16) = bytes, exactly 800 KiB (any model's bytes per token: Long context's calculator). OPT can generate sequences of up to 2,048 tokens, so one request can need as much as 1.6 GB ( GiB) (§3). On an A100 with 40 GB serving a 13B model, about 65% of memory holds the weights (26 GB) and the KV cache gets the rest: "close to 30%" in the text, ">30%" in Figure 1's label; activations take a small remainder (Figure 1). Table 1 makes it concrete: 12 GB for the KV cache, which is 15.7K token slots (Table 1; 12 GiB / 800 KiB = ). Even if all of memory went to the cache, "only a few tens of requests could be accommodated" (§3). And it will get worse: from A100 to H100 the FLOPS rose more than 2× while GPU memory stayed at 80 GB at most (§3).
Figure 1 (right), redrawn from the points in its vector graphics: memory against batch size for "existing systems" and vLLM, and the throughput a batch of that size reaches. The dotted lines are the paper's: where memory hits 40 GB, the batch size and therefore the throughput stop.
The diagnosis: existing systems (FasterTransformer, Orca) store each request's KV cache in one contiguous chunk, because deep learning frameworks want tensors contiguous, and since the output length is unknown they pre-allocate the chunk for the maximum possible length (§3.1). The KV cache, unlike ordinary tensors, "dynamically grows and shrinks over time" and its lifetime and length are not known in advance (§1).
That wastes memory three ways (Figure 3, §3.1):
The paper's profiling puts the result at "only 20.4% to 38.2% of the KV cache memory" holding actual token states (Figure 2). The Simulate the KV cache tab replays exactly this, the four systems on the same memory.


Even the oracle wastes most of its memory. Orca (Oracle) is the paper's idealised baseline: told every request's true output length in advance, it reserves exactly prompt + output and never over-provisions. Yet on the ShareGPT experiment only 38.2% of its KV cache memory holds actual tokens (Figure 2). Knowing the length removes internal fragmentation (zero for Oracle), but two wastes remain. The chunk for a request's future tokens is reserved from the start (25.2%), and the buddy allocator rounds every chunk up to a power of two and leaves gaps between chunks of different sizes (36.6% "external fragmentation and others"). vLLM, allocating 16-token blocks on demand, keeps 96.3% of the memory holding tokens.
The second problem is sharing. Parallel sampling (several outputs for one prompt, as in code assistants) and beam search keep several sequences per request that could share their prompt's KV cache, and beam candidates share much more, but with each sequence in its own contiguous chunk "memory sharing is not possible" (§1). In the paper's §6.3 experiment the prompt is 12% of the total KV cache under parallel sampling, and beam search can share enough to save up to 55% (§3). Compaction, the textbook fix for fragmentation, is "impractical" with a cache this large and would still not allow sharing (§3.1).
The third challenge is scheduling for unknown lengths: as outputs grow the cache can exhaust memory, and the system has to decide whose cache to delete or swap out (§3).
Generation has a compute-heavy prompt phase (the whole prompt at once) and a memory-bound generation phase (one token per iteration, reading every cached key and value), which dominates a request's latency (§2.2). Orca's iteration-level scheduling already lets requests join and leave the batch after every iteration; PagedAttention keeps it and attacks what still limits it: "the number of requests that can be batched together is still constrained by GPU memory capacity" (§3). Both mechanisms in general, with their visuals: Batching, KV cache and scheduling in depth.
A request's prompt (x1, ..., xn) and its generated tokens together form a sequence. Generation has two phases (§2.2). The prompt phase takes the whole prompt at once, computes the first new token and the keys and values k1..kn, v1..vn; it is a matrix-matrix computation that uses the GPU well. The autoregressive generation phase then adds one token per iteration, computing only the new token's key and value and reading all the cached ones; it is matrix-vector work, memory-bound, and "responsible for most portion of the latency of a single request". A token's KV cache depends on every token before it, so the same token at a different position has a different cache (§2.2).
Batching requests that arrive at different times with different lengths is the job of iteration-level scheduling (Orca; cellular batching before it): after every iteration finished requests leave the batch and new ones join, so a new request waits one iteration instead of a whole batch, and special kernels remove the need to pad inputs and outputs (§2.3). PagedAttention keeps this and attacks what still limits it: "the number of requests that can be batched together is still constrained by GPU memory capacity" (§3). The paper calls the two techniques complementary: Orca interleaves requests so more can run, vLLM raises memory utilisation so more fit (§9).
The move is the operating system's answer to fragmentation and sharing, virtual memory with paging (Kilburn et al., 1962): "one can think of blocks as pages, tokens as bytes, and requests as processes" (§1). PagedAttention splits each sequence's KV cache into KV blocks of a fixed number of tokens B, the block size, which need not sit next to each other in memory (§4.1). With key block Kj = (k(j−1)B+1, ..., kjB) and value block Vj likewise, attention for query qi becomes a sum over blocks (Eq. 4):
The output is exactly ordinary attention (Eq. 3): only where the operands live changes. In Figure 5 the query "forth" attends over three non-contiguous blocks, "Four score and seven", "years ago our fathers", "brought forth" (Figure 5).
A footnote adds that a block can hold one token's keys and values across all layers and heads, or each layer and head can have its own block and block table; "the two designs have no performance difference" and vLLM uses the second (§4.1, footnote 1).
What paging buys: small blocks allocated on demand remove reservation and bound internal fragmentation; one fixed block size eliminates external fragmentation; and blocks can be shared between sequences, within a request or even across requests (§1).
Block numbers, words and reference counts are the paper's own (Figures 6 to 9). Beam search shows block tables only, as Figure 9 does: each box is a block of four tokens. It plays by itself once in view; any control stops it.
A request's cache is a list of logical KV blocks, filled left to right, the last block's empty slots kept for future tokens. On each GPU worker a block engine takes one contiguous chunk of GPU memory and cuts it into physical KV blocks (the same on CPU memory, for swapping). The block manager keeps a block table per request: for each logical block, its physical block and the number of filled positions, exactly like a page table (§4.2). Beside this, the paper's Figure 6 walk-through (block size 4, the prompt "Four score and seven years ago our"), then its Figures 7, 8 and 9 on the same physical memory; pick a scenario above the drawing. The same mechanism on a larger pool, as engines run it today, is drawn in 3D on Batching, KV cache and scheduling in depth (its Fig. 3).
Each scenario, step by step
Every iteration, vLLM picks the sequences to batch, allocates the blocks they newly need, concatenates all the iteration's input tokens (whole prompts for prompt-phase requests, the latest token for the others) into one sequence for the model, and the kernel reads and writes the blocks through the tables (§4.3).
Since blocks are filled left to right and a new one is taken only when the last is full, a request's waste is at most one partly filled block, and its blocks are freed the moment it finishes (§4.3). Larger blocks let the kernel process more positions in parallel but fragment more; that trade-off is the block-size ablation (§7.2, below).
vLLM serves requests first come, first served, which ensures fairness and prevents starvation; when it must preempt, the latest arrivals go first (§4.5). When the physical blocks run out it faces the two classic paging questions. Which blocks to evict? Since all of a sequence's blocks are read every step, eviction is all-or-nothing per sequence, and the sequences of one request (the beams of a beam search) form a sequence group that is gang-scheduled, preempted and rescheduled together, because they share memory. How to bring them back? Two ways:
Which is faster depends on the CPU to GPU bandwidth and the GPU's compute (§7.3, below).
Models too large for one GPU run with Megatron-LM-style tensor parallelism: linear layers split for block-wise matrix multiplies, attention split by heads, the GPUs synchronising with all-reduce in an SPMD schedule. Every shard processes the same tokens and so needs the KV cache for the same positions; vLLM therefore keeps one KV cache manager in the centralised scheduler, and every worker uses the same logical-to-physical mapping while storing only its own heads' part of each block (§4.6). Each step the scheduler broadcasts the input token IDs and the block tables; the workers run the model, all-reduce among themselves without the scheduler, and send back the sampled tokens. Workers never coordinate on memory management (§4.6). Tensor parallelism at serve time in general, and the multi-node designs that came later: Distributed and disaggregated serving.
vLLM is 8.5K lines of Python and 2K lines of C++/CUDA, with a FastAPI frontend that extends the OpenAI API (each request can set its own sampling parameters, maximum length and beam width). The scheduler and block manager are Python; models (GPT, OPT, LLaMA) use PyTorch and Hugging Face Transformers; NCCL carries tensors between GPUs (§5). Three kinds of custom kernel make paging cheap (§5.1): a fused reshape-and-block-write, a fused block-read-and-attention (FasterTransformer's kernel reading through the block table), and a fused block copy for copy-on-write.
Setup (§6.1): OPT-13B, 66B and 175B and LLaMA-13B on A100s; synthetic Poisson traces with the lengths of ShareGPT (long) and Alpaca (short); baselines FasterTransformer and three reimplementations of Orca (Max, Pow2, Oracle; Orca was not public). The metric is normalized latency against request rate: a system's capacity is the rate where its curve turns up.
Setup (§6.1): OPT-13B, 66B and 175B and LLaMA-13B on Google Cloud A2 instances with A100 GPUs (Table 1: one A100-40GB, four A100s, eight A100-80GB). Workloads are synthesised from the input and output lengths of ShareGPT (user-shared ChatGPT conversations) and Alpaca (GPT-3.5 self-instruct data); ShareGPT's prompts are 8.4× longer and its outputs 5.8× longer on average, with more variance (Figure 11). Arrival times are Poisson at a chosen request rate, since the datasets have no timestamps. Baselines: FasterTransformer with a custom dynamic batching scheduler (batch size as large as memory allows), and Orca, which is not public, so the authors implemented their own, with a buddy allocator, in three versions: Oracle (knows the true output lengths, "infeasible to achieve in practice"), Pow2 (over-reserves outputs up to 2×, 25 becomes 32) and Max (always reserves the 2,048-token maximum). The metric is normalized latency (the mean of each request's end-to-end latency divided by its output length, as in Orca) against request rate, over 1-hour traces (15 minutes for OPT-175B, for cost).
Basic sampling (Figure 12, §6.2): each curve is flat until the rate passes the system's capacity, then latency explodes as the queue grows without bound. On ShareGPT vLLM sustains "1.7× to 2.7×" the request rate of Orca (Oracle) and "2.7× to 8×" that of Orca (Max) at similar latency, and up to 22× FasterTransformer's. The reason is the batch: on OPT-13B vLLM runs 2.2× as many requests at once as Orca (Oracle) and 4.3× as many as Orca (Max) (Figure 13; 30.42 / 13.62 = , 30.42 / 7.00 = ). Alpaca follows the same trend except OPT-175B, where 264 GB of KV memory and short sequences let even the Orca baselines batch a lot, and serving becomes compute-bound rather than memory-bound. The abstract says the gain "is more pronounced with longer sequences, larger models, and more complex decoding algorithms": true for longer sequences (ShareGPT over Alpaca) and for decoding, but not monotone in model size, since read off Figure 12 the lead over Orca (Oracle) on ShareGPT is largest at 66B and smallest at 175B. The curves, rebuilt reads every ratio off the paper's figures.
Parallel sampling and beam search (Figure 14, §6.3): the more sequences per request, the larger vLLM's lead; over Orca (Oracle) on OPT-13B and Alpaca it grows from 1.3× in basic sampling to 2.3× in beam search with width 6. Memory saved by sharing, "the number of blocks we saved by sharing divided by the number of total blocks without sharing": 6.1% to 9.8% (parallel sampling) and 37.6% to 55.2% (beam search) on Alpaca, 16.2% to 30.5% and 44.3% to 66.3% on ShareGPT (Figure 15).
Shared prefix (§6.4): LLaMA-13B translating WMT16 English to German with a shared instruction-and-examples prefix: 1.67× Orca (Oracle)'s throughput with a 1-shot prefix (80 tokens) and 3.58× with 5 shots (341 tokens) (Figure 16).
Chatbot (§6.5): OPT-13B answering ShareGPT conversation histories cut to the last 1,024 tokens, with at most 1,024 generated, and no KV cache kept between rounds: vLLM sustains "2× higher request rates" than all three Orca baselines, which behave alike because the buddy allocator makes each of them reserve 1,024 output slots regardless of its length prediction (Figure 17).
Kernel overhead (§7.1): reading the block table, extra branches and variable lengths make vLLM's attention kernel "20 to 26%" slower than FasterTransformer's in isolation (Figure 18a). The paper calls it small because only attention pays it, not the linear layers, and end to end vLLM wins anyway. Read off the figure, the overhead is 19% to 26% at batch size 32 but 25% to 44% at batch size 8 (Kernel overhead, rebuilt).
16 and 32 (Figure 18b, §7.2). Below 8 the kernel cannot use the GPU's parallelism; on Alpaca, larger blocks "significantly degrade the performance since the sequences become shorter than the block sizes". On ShareGPT, with longer sequences, 16 to 128 are all best. vLLM's default is 16, "large enough to efficiently utilize the GPU and small enough to avoid significant internal fragmentation in most workloads", and it still is (DEFAULT_BLOCK_SIZE = 16 in vLLM's cache config today). The right panel is the memory side of the trade-off from this page's simulator: the share of KV memory holding tokens, and the batch it allows, by block size.
Recomputation against swapping (Figure 19, §7.3): swapping many small blocks means many small CPU to GPU transfers, which throttles the effective PCIe bandwidth, so swapping is slow at small block sizes; recomputation does not touch the blocks and costs the same at every size. Recomputation wins for small blocks, swapping for large ones, and from 16 to 64 the two perform alike end to end. The paper's phrasing, "recomputation overhead is never higher than 20% of swapping's latency", cannot mean what it says: at block size 256 recomputation takes 39.1 ms against swapping's 33.4 ms, 117% of it. It holds read as "never more than 20% slower than swapping" (17% at most in the figure).
The authors are explicit about the limits (§8): paging pays off here because the workload allocates memory dynamically (output length unknown) and its performance is bound by GPU memory capacity. In DNN training tensor shapes are static and allocation can be planned ahead; serving non-LLM DNNs is mostly compute-bound, so better memory efficiency may buy nothing; in such cases the indirection and non-contiguous blocks "may rather degrade the performance". What vLLM adds to the OS idea is application knowledge: all-or-nothing eviction (a request needs all its tokens resident), recomputation as a recovery path (impossible for an OS), and fused kernels that hide the indirection (§8).
Related work (§9): general serving systems (Clipper, TensorFlow Serving, Nexus, InferLine, Clockwork; DVABatch, REEF, Shepherd, AlpaServe) ignore the autoregressive token state; Transformer-specific systems use kernel optimisations, advanced batching, model parallelism and parameter sharing, with Orca the closest. Swapping and recomputation were used before to cut training memory; FlexGen swaps weights and token states for offline inference on small GPUs, not online serving; OLLA optimises tensor lifetimes and placement but not at block level; FlashAttention tiles attention to cut its peak memory and IO. Block-level memory management for online serving is the paper's new idea.
What holds up.
What to discount.
Alpaca's batch is not purely memory-bound. The simulator's memory-limited vLLM batch on Alpaca is about 177 requests against Figure 13's 132.44, while Orca (Oracle) matches (72.6 against 72.75). At 30 requests/s vLLM is close to its capacity knee (Figure 12d), so its batch is likely set by arrivals, not memory; the 1.8× batch ratio there reflects the offered load, not the memory limit.
Paper and released code differ in places. §4.3 says each iteration concatenates prompt-phase and decode-phase tokens; the released scheduler did so in v0.1.0 (June 2023), but from v0.1.3 (2 August 2023) through v0.1.7 (11 September 2023, the day before the arXiv posting) a step with new prompts ran the prompts only. Not stated in the paper: the released defaults capped a step at 2,560 tokens and 256 sequences and kept 1% of blocks free as a watermark (v0.1.7 arguments, block manager).
Verdict: believe the mechanism and the memory numbers; they reproduce from first principles and the whole industry adopted the design. Treat "2 to 4×" as the top of a range measured against a baseline the authors built: the gain over an ideal contiguous allocator is real, about 1.5 to 2.4× on ShareGPT-like traffic, and shrinks toward 1× when memory is not the bottleneck.
pip install vllm (version and popularity, dated, in the closed block under Why it matters). Everything in the paper is released; the paper-era engine (V0) has since been replaced (see Then and now); the engine as it is today: vLLM: inside the default engine.This is the paper that made high-throughput LLM serving an open-source commodity, and it did it by importing operating-system ideas from the 1960s (paging, copy-on-write, swapping) rather than new mathematics. The paged KV cache became the standard layout: Hugging Face TGI's PagedAttention "leverages the custom cuda kernels developed by the vLLM Project", TensorRT-LLM enables a paged KV cache (8 to 128 tokens per block) by default, DeepSpeed-FastGen credits vLLM for "blocked KV caching", and SGLang's RadixAttention stores its prefix-cache tensors "in a non-contiguous, paged layout, where the size of each page is equivalent to one token". Continuous batching with a paged cache became the baseline later serving papers measure against: Sarathi-Serve, for one, reports its gains "as compared to vLLM".
Later work refined rather than replaced it. vAttention (2024) keeps the cache contiguous in virtual memory with CUDA's virtual memory APIs and reports up to 1.23× over paged kernels, measuring that paged prefill kernels run up to 37% (FlashAttention-2) and 42% (FlashInfer) slower than their non-paged versions. Sarathi-Serve's chunked prefill and DistServe's disaggregated prefill and decode attacked the prefill-decode interference that step-level scheduling leaves open. Multi-head latent attention (DeepSeek) shrinks the cache from the model side.
vLLM itself became the reference open engine, later rebuilt (the V1 engine) around a per-request token budget that treats prefill and decode alike, and a standard rollout engine for RL post-training; its block manager, scheduler and paged kernels still descend directly from §4.2 to §4.5, so this paper remains the right mental model of the core (the engine today: vLLM: inside the default engine; dated detail below).
vLLM itself became the reference open engine. It added automatic prefix caching, chunked prefill, speculative decoding, quantisation including a quantised KV cache, structured (guided) outputs, disaggregated serving and backends well beyond NVIDIA GPUs (README). The V1 engine (alpha January 2025, default from v0.8.0 in March 2025, the only engine from v0.11.0 in October 2025) rebuilt the scheduler around a per-request token budget that treats prefill and decode alike, made hash-based prefix caching nearly free, isolated the scheduler and executor in an EngineCore process, and delivered up to 1.7× the throughput of V0. vLLM became a PyTorch Foundation-hosted project on 7 May 2025, and llm-d (Red Hat with founding contributors CoreWeave, Google Cloud, IBM Research and NVIDIA) is "powered by a native Kubernetes architecture, vLLM-based distributed inference". It is also a standard rollout engine for reinforcement-learning post-training: verl integrates vLLM and SGLang, TRL documents a vLLM integration and OpenRLHF is built on "Ray + vLLM", so this memory model now sits inside training pipelines too. For anyone reading vLLM's code today, the block manager, scheduler and paged kernels descend directly from §4.2 to §4.5, and this paper is still the right mental model of the core.
Hardware: NVIDIA, AMD and Intel GPUs and x86, ARM and PowerPC CPUs, plus plugins for TPUs, Gaudi, Ascend and others (README).
The repository had about 93,000 GitHub stars on 3 October 2026; the latest release then was 0.30.0 on PyPI (22 September 2026, Python 3.10 to 3.14).
The same eight requests served from the same KV cache memory by the four systems of the paper's evaluation (§6.1): Orca (Max) reserves the maximum length for every request, Orca (Pow2) reserves prompt plus the output rounded up to a power of two, Orca (Oracle) knows each true output length, and all three take contiguous chunks from a buddy allocator. vLLM takes 4-slot blocks on demand. Every step every running request adds one token, as in iteration-level scheduling (§2.3), and a new request is admitted, first come first served, as soon as its memory can be found. Memory is drawn to scale: one square per token slot.
Try: Orca (Max) first: two requests run at a time and most of each chunk is red, reserved for a maximum length the request never reaches. Then Orca (Oracle): no red, but the pale reserved slots and the grey rounding of the buddy allocator still keep others out. Then vLLM: almost every slot holds a token, up to seven requests run at once, and the eight finish in about half the iterations; watch for a preemption, when blocks run out and vLLM evicts the latest request to recompute it later (§4.5).
Each system, stretch by stretch
Toy sizes, chosen so the whole memory fits on screen: 64 token slots, a maximum sequence length of 32, vLLM blocks of 4 (the paper's figures use 4 too; vLLM's default is 16). The eight requests (prompt + output tokens) are illustrative: A 7 + 6, B 3 + 9, C 12 + 4, D 5 + 14, E 9 + 3, F 4 + 8, G 10 + 7, H 6 + 5. The simulator is the same code that runs at the paper's scale below; see src/sim.py for every rule. It plays by itself once in view; any control stops it, and each step of the list plays its stretch of iterations.
The same simulator at the size of the paper's OPT-13B server: 12 GB of KV cache at 800 KB per token, 15,728 slots (Table 1), with requests whose prompt and output lengths are drawn from the paper's own ShareGPT or Alpaca histograms (Figure 11, read from its vector graphics) and filtered as the authors' released benchmark does. The queue never empties, as in Figure 13, where every system is past its capacity. Each system runs 6,000 steps; the averages skip the first 1,500.
What the simulator leaves out, so read its batch sizes as memory limits: time (it counts steps, not seconds; prefill, recomputation and the kernel cost nothing), arrivals (the queue is always full, so a system whose real batch is set by the arrival rate, as vLLM's probably is on Alpaca at 30 requests/s, comes out larger here), the pairing of prompt and output lengths in the real traces (drawn independently here), swapping (preemption is by recomputation, the released default for single sequences), and anything Orca's real implementation did that the paper's reimplementation did not. Limits it keeps from the released vLLM v0.1.0 code, not stated in the paper: 2,560 tokens and 256 sequences per step, and 1% of blocks kept free.
The paper has one table; its evidence is in its figures. The arXiv HTML ships them as vector graphics, so every line and bar here is read from the plotted paths, calibrated on each panel's own tick marks (worst tick residual below 0.001 of a unit; see src/extract_figs.py), not by eye. Printed labels are transcribed. Every derived number is recomputed in src/recompute.py.
The paper's throughput claims are read off curves of normalized latency against request rate: a system "sustains" a rate until its curve turns up. The paper does not say at which latency it compares. Here you choose: the table gives the rate at which each curve first crosses your threshold (linear between the plotted points) and vLLM's ratio to each baseline, beside what the text claims.
Model sizes and server configurations (Table 1), with the token slots recomputed from the KV cache memory and the KV size per token, 2 × hidden size × layers × 2 bytes, from the OPT configurations (13B: 5,120 × 40; 66B: 9,216 × 64; 175B: 12,288 × 96), reading GB as GiB.
The input to the simulator. Histograms of prompt and output lengths, read bar by bar from the vector graphics; the means recomputed from the bars (bin midpoints) agree with the printed means to within a quarter of a token.
What came before the paper, what it changed, and what has become of its design three years on. Each step has its source; dated facts were checked on 3 October 2026.
Orca (Yu et al., OSDI 2022) schedules at the granularity of one iteration, so finished requests leave and new ones join every step. It still stores each request's KV cache contiguously, sized for its maximum length. The paper's strongest baseline is a reimplementation of it (§6.1).
The announcement reports up to 24× the throughput of Hugging Face Transformers and up to 3.5× that of Hugging Face TGI, "a mere waste of under 4%" of memory, and up to 55% less memory for parallel sampling and beam search, which "can translate into up to 2.2x improvement in throughput". vLLM had served Chatbot Arena and the Vicuna demo for two months. Version 0.1.0 reached PyPI on 20 June 2023 (PyPI).
arXiv on 12 September 2023, SOSP in Koblenz on 23 to 26 October. The default block size of 16 was set here (§7.2).
The V1 alpha (January 2025) rebuilt the engine: a scheduler that gives each request a number of tokens per step under a fixed token budget, which makes chunked prefill, prefix caching and speculative decoding the same mechanism; "zero-overhead" hash-based prefix caching with LRU eviction; the scheduler and model executor in an isolated EngineCore process; FlashAttention 3 integrated; up to 1.7× the throughput of V0. V1 became the default in v0.8.0 (18 March 2025) and the only engine in v0.11.0 (2 October 2025). vLLM became a PyTorch Foundation-hosted project on 7 May 2025, and Red Hat launched llm-d for distributed serving on top of it with founding contributors CoreWeave, Google Cloud, IBM Research and NVIDIA.
v0.18.0 (20 March 2026) removed the swap_space parameter as part of retiring V0, leaving recomputation as the preemption path of §4.5; v0.19.0 (April 2026) added general CPU KV cache offloading with block-level preemption handling instead. The current release is 0.30.0 (22 September 2026); the default block size is still 16 (cache.py).
| The paper (2023) | Today |
|---|---|
| Fixed-size KV blocks, block tables, allocation on demand (§4.2) | Survived everywhere: vLLM, TGI, TensorRT-LLM, DeepSpeed-FastGen, SGLang. vAttention is the main dissent, keeping virtual contiguity. |
| Block size 16 (§7.2) | Still vLLM's default; TensorRT-LLM supports 8 to 128; SGLang pages one token at a time. |
| Reference counts and copy-on-write for parallel sampling and beam search (§4.4) | Survived; prefix sharing grew from provider-reserved prefixes into automatic, hash-based (vLLM) or radix-tree (SGLang) prefix caching across requests. |
| Iteration-level scheduling with prompt and decode tokens in one step (§4.3) | Generalised: V1's per-request token budget, with chunked prefill splitting long prompts. |
| Preemption by swapping or recomputation (§4.5) | Recomputation remains; swap space was removed in v0.18.0; CPU offloading returned as a separate KV cache tier. |
| Centralised KV manager over Megatron-style tensor parallelism (§4.6) | Extended to pipeline, data, expert and context parallelism and to disaggregated prefill and decode (README). |
| A fused paged attention kernel adapted from FasterTransformer (§5.1) | Replaced by FlashAttention, FlashInfer, TRTLLM-GEN, FlashMLA and Triton backends that read paged caches (README). |
Every link opens in a new tab. Reading time of the resources below: 3h 20m.
SOSP 2023, the paper itself; the HTML version has the anchors this page links to. abstract page, PDF.
(45 min)
the authors' serving engine, now a PyTorch Foundation project, Apache-2.0 licence (repo, about 25 minutes for the README and entry path).
(25 min)
the vLLM team: the authors' own short version, with the clearest animations of block tables and copy-on-write sharing, and the up-to-24x-over-Hugging-Face headline.
(10 min)
Anyscale: the best explanation of iteration-level (continuous) batching, the Orca idea that PagedAttention composes with; benchmarks vLLM against static-batching baselines.
(20 min)
Aleksa Gordić: a code-level walkthrough of the modern engine (scheduler, KV cache manager, paged attention kernels), the bridge from this paper to today's codebase.
(45 min)
the vLLM team: what the project learned in a year and a half of production, and how the rebuilt V1 engine changes the scheduler and cache manager described here.
(15 min)
Prabhu, Nayak, Mohan, Ramjee and Panwar (Microsoft Research India): the strongest critique: it measures what paging costs inside attention kernels and keeps the KV cache contiguous in virtual memory instead.
(40 min)
2017: the KV cache being paged here is the per-token key and value state of its self-attention.
2022: the complementary attention-systems paper; FlashAttention optimises compute and IO inside the kernel, PagedAttention where the KV operands live across requests. Modern engines use both (vLLM V1 integrated FlashAttention 3).
2019: vLLM's distributed execution uses Megatron-style tensor parallelism, with the KV cache manager centralised above it.
2024: multi-head latent attention shrinks the KV cache at the architecture level, the model-side attack on the same bottleneck; vLLM ships FlashMLA kernels for it.
2025: reinforcement-learning post-training generates rollouts with vLLM-class engines (verl, for one, integrates vLLM and SGLang).
2020: the 175B size of the largest model served here, and the source of Figure 10's few-shot translation prefix.
2019: the training-side counterpart, memory as the binding constraint and removed by not storing redundant state.
primary: continuous batching, PagedAttention and KV caching are named scope items.
the fused paged-attention, block-write and block-copy kernels.
a model systems paper: operating-system abstractions applied to a new resource.
the KV-cache size attack from the model side, with the MLA animation.
This page is one row of the Papers database; its properties (Paper, Takeaway, Topics, Year) live there.