Skip to content
LATEST
Technology

AWS claims 40% LLM inference cost cut for ElastiCache

The new Agent Toolkit skill targets GPU waste in self-hosted AI systems by reusing cached model state across inference servers.

AWS claims 40% LLM inference cost cut for ElastiCache

Amazon Web Services said in a company blog post on Nov. 21 that a new Agent Toolkit skill for distributed key-value caching can cut self-hosted large-language-model inference costs by up to 40%.

AWS also said the approach can reduce time to first token, the delay before a model starts responding, by up to 80%, a latency measure that matters for agentic and chat-based AI applications.

“Distributed KV caching with Amazon ElastiCache can cut self-hosted LLM inference costs by up to 40%,” AWS said in the post, referring to a method that lets servers reuse key-value attention states instead of recomputing them.

The company said the skill helps coding agents evaluate, configure and troubleshoot distributed KV caching. It is designed for use with the Agent Toolkit for AWS and can work with coding agents including Kiro, Claude Code and OpenAI Codex, according to the post.

AWS said the KVTrace tool gives workload-specific estimates before infrastructure is deployed. The tool uses a customer’s model and traffic patterns to assess potential gains, and AWS said it is available at no additional charge.

The release addresses a common cost problem in self-hosted inference: GPU fleets may repeat prefill work when long prompts or conversation histories move across servers. AWS said a shared cache tier beside the GPU fleet can preserve reusable state across sessions, routing changes and server failures.

The company said the skill can add the LMCache connector to existing vLLM or SGLang engines, including vLLM workers under llm-d and Ray Serve. That matters for operators that want inference optimization without replacing their serving frameworks.

AWS also set technical prerequisites. The flows require GPU instances that support Elastic Fabric Adapter remote direct memory access write, such as p5 instances; LMCache 0.5.8rc1 or later; vLLM 0.11.1 or later, or SGLang 0.5.13 or later; and ElastiCache for Valkey 9.1 or later on cache.i8ge.48xlarge nodes when setting up the cache.

The company cautioned that benefits depend on model choice, user traffic and prompt routing. AWS said short prompts may not benefit if loading cached state takes longer than recomputing it, and the skill is designed to stop when expected savings do not cover cache costs.

AWS also identified isolation risks for multi-tenant systems. It said separate caches or tenant identifiers in the cache hash may be needed where response times could reveal that another tenant used the same text.

Source: company blog post, Amazon Web Services, Nov. 21

More stories

Latest news