vLLM prefix caching on Qwen3-8B: 9.58x at 32K shared, nothing past the cache
Fields
kv-efficiency/vllm-qwen3-8b-prefix-reuse-32k-a100Notes
Third-party measurement, not a vendor claim. Closes the measured-hit-rate gap for automatic prefix caching: the collection has two SGLang radix rows but nothing for vLLM APC, and nothing that shows the speedup scaling with prefix length. MEASURED REUSE: wall-clock speedup of 1.00x at 512 shared tokens, 1.62x at 2,048, 3.02x at 8,192 and 9.58x at 32,768 shared tokens. The 9.58x is a prefill speedup, not a capacity gain; the post is explicit that the cache holds the same number of tokens either way. THE CLIFF: a working set of 64 documents totalling 540,672 tokens against a 400,032-token cache, only 35 percent over capacity, gave a second-pass speedup of 0.996x. First pass 49.458 seconds, second pass 49.652. Crossing the cache boundary did not cost a fraction of the benefit, it cost all of it, because every document had been evicted before it came around again. That is the number a long-context deployment on a small card needs: prefix caching pays only while the working set fits. CAVEAT: the card is an A100 80GB. The shape of the result (speedup grows with prefix length, then drops to nothing past capacity) is a property of the cache policy and transfers; the absolute 9.58x does not, because it depends on prefill cost on that GPU.