Amazon SageMaker AI adds KV cache-aware routing for real-time endpoints
Published . About: Amazon (AWS AI).
What happened
Amazon SageMaker AI real-time endpoints now support KV cache-aware routing, a strategy that sends each request to an instance holding the longest cached match for its prompt. The company says it is aimed at teams serving large language models with multi-turn conversations, long shared prompts, or heavy load. It is enabled by adding an environment variable to the model and setting the routing strategy to KV_AWARE in the endpoint configuration.
Why it matters
It shows how cloud providers try to make AI models respond faster and cheaper by reusing work the model has already done on repeated text, a technique called KV caching.
Terms
- Inference
- Running a trained model to get an answer. Most of the cost of using AI day to day is inference.
- Large language model (LLM)
- An AI model trained on huge amounts of text to predict the next word. Chatbots such as Claude, ChatGPT and Gemini are built on LLMs.
- Retrieval-augmented generation (RAG)
- Looking up relevant documents first and giving them to the model, so its answer is based on them.
Sources
Summary written by AI and checked against the sources above.