Get the daily emailDaily email
  1. Home
  2. Products
  3. This story

SageMaker AI real-time endpoints add KV cache-aware routing

Amazon SageMaker AI added a KV_AWARE routing strategy that sends each request to the instance holding the longest cached match for its prompt, as long as it isn't overloaded. The vLLM container reports cache store and evict events, and SageMaker maintains a…

Published Read the original

Ranked #16 of 30 on Wednesday, November 18

SageMaker AI real-time endpoints add KV cache-aware routing

Why it matters

Teams self-hosting LLMs on SageMaker can cut prompt-processing latency and cost without client changes.

What happened

1 min read

Amazon SageMaker AI added a KV_AWARE routing strategy that sends each request to the instance holding the longest cached match for its prompt, as long as it isn't overloaded. The vLLM container reports cache store and evict events, and SageMaker maintains a managed index of cache state. Unlike prefix-aware routing, it sees evictions and keeps short multi-turn conversations on the same instance, with a fallback to load-aware routing.

inscraper analysis

Our analysis

Cache-aware routing already exists in open-source stacks such as llm-d and NVIDIA Dynamo; this is a managed version inside SageMaker. It only works with AWS's vLLM container and at least two instances, and tokenizing in the request path adds a few milliseconds. Performance numbers are AWS's own benchmarks. Worth testing for chat and RAG workloads with long shared system prompts.

More in Products