# Amazon sage maker AI introduces KV cache-aware routing

Digest AI · Enterprise & Industry · published 2026-11-17T21:11:51Z

Canonical: https://digestai.news/story/amazon-sage-maker-ai-introduces-kv-cache-aware-routing

## Summary

Amazon SageMaker AI announced a new routing strategy for real-time endpoints that uses the cache state reported by the model container. The feature, called KV-aware routing, directs requests to instances that already hold a matching prefix of the prompt and are not heavily loaded. It is enabled by setting an environment variable in the model and selecting RoutingStrategy=KVAWARE in the endpoint configuration. Benchmarks on Llama 3.1 70B running on seven ml.p5.48xlarge instances show that KV-aware routing can cut the time to first token by up to 97% and raise throughput by up to 234%, while boosting the cache hit rate from 3–48% to 80–93%. The benefit is greatest for long, multi-turn conversations and retrieval-augmented generation workloads that reuse large prefixes. The feature requires the AWS vLLM Deep Learning Container v0.33.0 or later, prefix caching enabled, and the SMVLLMKVEVENTSCONFIG environment variable to publish cache events. It works only with at least two instances or inference component copies, and falls back to load-aware routing when no suitable cache match is found.

## Key points

- Amazon SageMaker AI adds KV-aware routing to real-time endpoints.
- Benchmarks show up to 97% faster first-token time and 234% higher throughput on Llama 3.1 70B.
- Requires AWS vLLM 0.33.0+, prefix caching on, and SMVLLMKVEVENTSCONFIG env var.

## Why it matters

By reusing GPU cache more precisely, KV-aware routing reduces latency and increases throughput for LLM-based chat, RAG, and agent services. This can lower operational costs and improve user experience, especially for workloads with long prompts or high concurrency, making SageMaker AI more competitive for enterprise LLM deployments.

## Sources

1. [Amazon SageMaker AI real-time endpoints now support KV cache aware routing](https://aws.amazon.com/blogs/machine-learning/amazon-sagemaker-ai-real-time-endpoints-now-support-kv-cache-aware-routing) (AWS Machine Learning Blog, 2026-11-17, primary source)

Part of the developing story: [Optimizing LLM Costs via Distributed KV Caching](https://digestai.news/thread/amazon-sage-maker-ai-introduces-kv-cache-aware-routing) (2 stories)

## Cite

Digest AI, "Amazon sage maker AI introduces KV cache-aware routing", 17 November 2026, https://digestai.news/story/amazon-sage-maker-ai-introduces-kv-cache-aware-routing

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/amazon-sage-maker-ai-introduces-kv-cache-aware-routing.json
