Amazon SageMaker Inference has received prefix-aware routing. Requests with identical prompt beginnings are directed to the same instance to keep the KV cache warm.

In benchmarks on Llama 3.1 70B, this scheme reduced P50 time-to-first-token by up to 77%. The KV cache hit rate increased from approximately 25% to more than 80%.

The practical implication is potentially faster response times for services where queries regularly use a shared prefix. The source does not report how these metrics behave in other scenarios or with different models.