/p/2026-09-08 · explainer
Paper explainer · 2609.04748 · Aditi Patodiya
Same request. Same seed.
The cache is the input you didn't send.
Prefix caching reuses the stored attention state of a shared prompt across requests. It is on by default in the major open-source serving stacks and treated as a transparent speedup. Holding the model, the decoding parameters, the seed and the request order fixed, turning it on changed an agent's trajectory on 36.2% of episodes at 16-bit weights and 75.0% at four-bit — while with it off, repeated execution was bit-identical in all 800 episodes. Cached serving is perfectly deterministic given the cache's contents. Those contents are not part of your request, are not reported back, and are never reset.
Aditi Patodiya · 2026 · 80-episode multi-turn tool-use workload · two serving engines, four weight formats · Qwen2.5-7B, Qwen2.5-14B, Llama-3.1-8B on one consumer GPU
the warm path — served from cache state left behind by earlier traffic
the cold path — recomputed from the request alone, and reproducible