Anuncio

Privum

Construimos, protegemos y operamos tu infraestructura digital.

Software, sistemas de IA, pruebas de penetración y nube segura para empresas.

Hablar con Privum

AWS Machine Learning Blog

AWS Machine Learning releases distributed KV caching agent skill for self-hosted LLM inference

395 palabras

Por ahora esta nota solo está disponible en inglés.

AWS Machine Learning announced a distributed KV caching agent skill that, according to the publisher, can cut self-hosted LLM inference costs by up to 40% and time to first token by up to 80% when paired with Amazon ElastiCache.

What the skill does

According to AWS Machine Learning, the skill adds the LMCache connector to existing vLLM or SGLang engines, including frameworks such as llm-d and Ray Serve. It works with Kiro, Claude Code, OpenAI Codex, and other coding agents that support Agent Skills.

AWS Machine Learning says returning conversations take 13 seconds for the first token because the GPU recomputes the full conversation history every turn, and that the GPU prefix cache hit rate can be above 90% with session affinity. The publisher also says the skill guides the agent to seek explicit approval for high-impact operations such as creating, changing, or deleting resources.

Requirements

The setup requires GPU instances that support EFA RDMA write, such as p5. On the software side, AWS Machine Learning lists LMCache 0.5.8rc1 or later and vLLM 0.11.1 or later, or SGLang 0.5.13 or later.

For the cache, ElastiCache for Valkey 9.1 or later on cache.i8ge.48xlarge nodes is required. In the published example, a fleet of 8 p5 instances serves 64,000-token prompts, and the agent recommended two cache.i8ge.48xlarge nodes for distributed KV caching.

Amazon models on OpenRouter

Amazon has 5 models listed on OpenRouter today, none of them free. The cheapest is Amazon: Nova Micro 1.0 at $0.035 per million input tokens and $0.14 per million output tokens, with a 128000-token context.

The newest is Amazon: Nova 2 Lite, released on 2025-12-02, at $0.3 per million input tokens and $2.5 per million output tokens, with a 1000000-token context. Neither model is open weights.

  • AWS Machine Learning says distributed KV caching with Amazon ElastiCache can cut self-hosted LLM inference costs by up to 40% and time to first token by up to 80%.
  • The skill requires EFA RDMA-capable GPU instances such as p5, LMCache 0.5.8rc1 or later with 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.
  • Amazon's cheapest model on OpenRouter today is Amazon: Nova Micro 1.0 at $0.035 per million input tokens; its newest is Amazon: Nova 2 Lite at $0.3 per million input tokens.
AWS Machine Learning releases distributed KV caching agent skill for self-hosted LLM inference