Explains how agentic traffic (95%+ cached tokens) drives routing design: sticky-until-saturated cache-aware routing, PD disaggregation, power-of-two choices, and cross-region load balancing. Useful for anyone operating or costing Large language modelA model trained on large amounts of data to process and generate language.Full definition → inference.
Key takeaways · AI-distilled
Zhang says agentic traffic averages 95-99% cached input, so routers must keep a session on the replica holding its KV cacheThe memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.Full definition →. The policy he describes is 'sticky until saturated': route by shared prefix, but spill to another engine once the preferred one is overloaded.
Per Zhang, decode is elastic because continuous batching absorbs bursts along the interactivity-throughput curve, while prefill caps out at a fixed token throughput, so bursts queue requests and time to first tokenThe delay between sending a model request and receiving the first piece of its response.Full definition → explodes. Disaggregation scales each phase separately.
Cache hit rate drives cost sharply: falling from 95% to 90% at the same input rate doubles uncached input tokens. A vLLM post Zhang cites raised hit rates from 93% to 96% with NVMe-backed KV cache, roughly halving prefill compute.
In Zhang's example of 1,000 requests over 20 engines, random routing gives 37-64 concurrent requests per engine while power-of-two choices gives 48-51, and it avoids the herd effect where pure least-load routing floods a cold engine.
Across regions, the GMSR and DLB methods route by each pool's processing-rate derivative, with DLB adding network round-trip time. Zhang contrasts OpenAI's black-box feedback loop, which could thrash sessions between regions and break cache hits if poorly tuned.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.
model routing — Sending each request to a model chosen by the difficulty of the task, rather than using one model for everything.
time to first token — The delay between sending a model request and receiving the first piece of its response.