THE SIGNAL IN ONE SENTENCE

A language model can read the same enormous conversation twice and still charge you for acting surprised. That is the expensive little ritual AWS is trying to interrupt. When a model processes a prompt, it computes key-value state for the tokens it has read. That state is working memory for attention. The model can reuse it when the same prefix appears again instead of recomputing the whole history before generating the next token. The problem is location. GPU memory is fast and cramped. Host memory and local storage hold more, but they belong to one inference server. A returning conversation may land on a different server. A traffic spike may shift routing. A host may fail. The useful state stays behind, and the new GPU pays to rebuild it. On November 18, AWS made distributed key-value caching generally available through Amazon ElastiCache for Valkey. It adds a shared L2 tier beside a self-hosted GPU fleet so servers can reuse computed KV state across sessions, routing changes and host failures. AWS says the system can reduce inference cost by up to 40 percent and time to first token by up to 80 percent in its tested conditions. On November 20, AWS published an agent skill that helps coding agents decide whether the cache fits a workload, estimate savings with KVTrace, configure the infrastructure and troubleshoot transfers. That is a useful package. It also contains the two most dangerous words in infrastructure marketing: up to. The plain signal is this: price the miss, not the best case. A shared cache earns money only when reusable state exists, the system finds it, the transfer is faster than recomputation and the saved GPU time turns into actual capacity or fewer servers. Start with the workload. Measure prompt length, repeated-prefix length, time between turns, routing behavior, model family, tensor parallelism, cache data type and the share of requests that return after local state has disappeared. Short prompts may be cheaper to recompute than to load from a remote cache. Sessions pinned reliably to one server may already hit local caches. A workload with low prefix reuse may build a very sophisticated empty pantry. AWS says its agent skill checks those conditions before recommending infrastructure. It asks for details it cannot inspect and can stop when the fit is poor. Keep that stop button. Do not let an agent treat deployment as the successful ending to an evaluation. The correct result may be no purchase. Record four numbers before anything changes. First, measure time to first token for cold and warm requests. Second, measure GPU time spent on prefill. Third, measure the existing L0 and L1 cache hit rates. Fourth, calculate current cost per accepted request, including retries and abandoned sessions. Then trace a representative window. AWS provides KVTrace to record cache events from vLLM or SGLang and replay them offline against candidate shared-cache sizes. The company says the trace stores block hashes and token counts rather than prompt text. It recommends an anonymization key for sensitive prompts because block hashes still derive from token content. Run the trace across the whole fleet for a real business cycle, not a tidy hour after lunch. Include traffic peaks, quiet periods, returning users, routing changes, failures and long sessions. A legal assistant at 10 a.m. may look nothing like the same service during a filing deadline. Publish the hit and miss curve. Show how many requests hit L0, L1 and L2. Show the bytes transferred, state age, prompt length and first-token time for each path. Separate full hits from partial reuse. Then look closely at the misses. A miss may mean the prompt is new. It may mean the state was evicted. It may mean a hash or seed does not match across servers. It may mean the cache key includes a tenant boundary. It may mean the request arrived in another Availability Zone. It may mean the model, data type or layout changed. Each cause has a different fix and a different bill. The average hides that. Price the tail too. Report median, 95th percentile and 99th percentile time to first token for hits and misses. A cache that makes the average look lovely while adding unpredictable transfer delays can make an interactive agent feel broken. Include failure recovery. AWS documentation says the shared tier can preserve state through GPU host failures as long as the cache has not evicted it. Test that claim in the local architecture. Remove a host. Shift traffic. Add a cold server. Measure what survives and how long recovery takes. Do not confuse freed GPU time with saved money. AWS’s agent-skill post makes this point directly. Reclaimed compute becomes dollars only if the organization runs fewer servers or serves more useful traffic on the same fleet. If the GPU count stays fixed and demand does not grow, the cache may improve latency without cutting the bill. That can still be valuable. Call it latency value, not a cost reduction. Build a complete cost receipt. Include cache nodes, GPU hosts, networking, storage, observability, secrets, engineering time, maintenance, failed transfers and the extra capacity held for resilience. Include the cost of representative testing and rollback. Compare three scenarios: current local caching, distributed caching at realistic reuse and distributed caching during a low-reuse period. Use the same accepted-work denominator in each. Compatibility deserves its own gate. The November 20 skill post lists requirements including EFA-capable GPU 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. AWS documentation says vLLM and SGLang connect through the LMCache server. It notes that TensorRT-LLM support is in the LMCache development branch rather than a stable release. Record the exact versions in every result. An impressive benchmark on one connector version is not a promise about the next production upgrade. Validate output equality. AWS warns that a layout mismatch can produce healthy-looking hit counters and wrong answers. Its skill clears local tiers and checks that repeated cache-loaded runs produce the same output. That test belongs in the release gate. Run deterministic comparisons where possible. For nondeterministic generation, compare logits or another lower-level signal when the stack supports it, then add task-level checks. Test partial hits, long contexts, model restarts, mixed tensor-parallel settings and rolling upgrades. A fast wrong answer is not a cache optimization. It is a distribution system for mistakes. Tenant isolation needs more than a checkbox. Shared caches can create timing side channels. AWS notes that one tenant may infer whether another tenant sent the same text by observing response time. Its example recommends separate caches for cases requiring isolation and tenant identifiers in cache hashes when tenants share infrastructure. Model the threat explicitly. Decide which customers, cases or data classes may share state. Include tenant identity, model version, policy domain and other required boundaries in the key. Test whether response timing reveals shared prefixes. Keep sensitive workloads separate when the risk outweighs reuse. Protect the trace too. Block hashes and token counts are safer than raw prompts, but they are still operational data derived from user content. Restrict access, set retention, rotate anonymization keys and document who may replay the trace. Treat the agent skill as a change tool. The skill can inspect infrastructure, estimate capacity, create resources and troubleshoot security groups. AWS says it asks for approval before high-impact operations such as creating, changing or deleting resources. Keep read-only evaluation separate from mutation. Show every command and resource before approval. Estimate hourly and monthly cost. Name the Availability Zone, node count, security groups, secrets and rollback plan. Require a person to confirm production changes. Do not give the same credential broad discovery and broad mutation when narrower roles can do the work. Set the release gate before the demo. Define minimum hit rate, maximum added latency, output-equivalence requirements, cost ceiling, privacy boundary, failure recovery and rollback time. If the measured workload misses the gate, stop. Do not lower the threshold because the cluster already exists. Finally, publish the honest result. State the model, context distribution, repeat rate, routing, cache size, hardware, software versions, hit rate, miss causes, first-token latency, throughput, infrastructure cost and whether GPU count actually changed. Put the up-to number beside the local number. Distributed KV caching solves a real problem. Long conversations and agent sessions repeat vast prefixes. Local memory does disappear at server boundaries. Shared state can reduce waste and make returning sessions feel less like waking a machine from a coma. But the cache is not free memory. It is another distributed system with keys, evictions, networks, versions, tenants, failures and invoices. Measure the reuse. Price the transfer. Test the miss. Verify the output. Protect the tenant. Count the whole bill. The best-case cache hit makes the diagram. The miss decides whether the architecture belongs in production.

01

WHAT ACTUALLY CHANGED

AWS made fully managed distributed KV caching generally available through Amazon ElastiCache for Valkey on November 18, 2026.

The shared L2 tier lets GPU inference servers reuse KV state across sessions, routing changes, traffic spikes and host failures.

AWS reports reductions of up to 40 percent in inference cost and up to 80 percent in time to first token under its tested conditions.

On November 20, AWS published an Agent Toolkit skill that can evaluate fit, estimate savings, configure the cache and troubleshoot transfers.

KVTrace can record cache events from a workload and replay them offline against candidate cache sizes without storing prompt text or token IDs.

The production architecture requires compatible inference engines, LMCache, Valkey 9.1, cache.i8ge.48xlarge nodes and appropriate GPU networking.

02

WHY THIS MATTERS

Long prompts and returning agent sessions can repeatedly consume GPU time rebuilding state the fleet already computed.

A shared cache helps only when reusable prefixes exist and loading them costs less than recomputation.

Freed GPU time reduces spending only if the organization removes servers or converts the capacity into useful additional traffic.

Configuration or layout mismatches can produce apparent cache hits while returning incorrect output.

Shared state can create tenant-isolation and timing-side-channel risks that require explicit keying and separation.

The agent skill can mutate infrastructure, so estimates, commands, approvals, credentials and rollback need visible controls.

FIG. 702FROM REPEATED PROMPT TO AN HONEST CACHE RECEIPT
1MEASURE PROMPT LENGTH, REUSE AND CURRENT LOCAL HITS→
2TRACE A REPRESENTATIVE WINDOW ACROSS THE FLEET→
3REPLAY CANDIDATE CACHE SIZES BEFORE BUYING→
4SEPARATE L0, L1, L2 HITS AND EVERY MISS CAUSE→
5VERIFY OUTPUTS, TENANT BOUNDARIES AND FAILURE RECOVERY→
6COUNT CACHE, GPU, NETWORK AND OPERATING COST→
7DEPLOY ONLY IF REAL SAVINGS CLEAR THE RELEASE GATE
A shared KV cache earns production only when measured reuse survives misses, failures, privacy boundaries and the complete bill.

03

WHERE IT COULD HELP

  • Measure cold and warm first-token latency, prefill GPU time, local hit rates and cost per accepted request before deployment.
  • Run KVTrace across a representative business cycle with peaks, failures, routing changes and returning sessions.
  • Publish L0, L1 and L2 hit rates, partial reuse, transfer volume, state age and miss causes.
  • Price cache nodes, GPUs, networking, storage, observability, engineering, resilience and rollback together.
  • Verify exact model, engine, LMCache, Valkey, connector, tensor-parallel and KV data-type versions.
  • Test output equality across cache-loaded runs, rolling upgrades, partial hits and host failures.
  • Define tenant-sharing boundaries, include tenant identity in keys and test timing leakage.
  • Separate read-only evaluation credentials from approved infrastructure mutations.
  • Set minimum hit rate, latency, cost, privacy, recovery and rollback gates before the cluster is created.
  • Compare the local result with AWS’s up-to claims using the same workload and accepted-work denominator.

KEEP A HAND ON THE WHEEL

AWS’s November 18 launch materials and November 20 agent-skill post establish the architecture, prerequisites, tools and vendor-reported performance ranges. Current ElastiCache documentation explains L0, L1 and L2 behavior, placement, transport and connector support. The reviewed sources do not provide independent production results across customer workloads. The headline savings depend on prompt length, prefix reuse, routing, cache size, hardware, software versions and whether freed GPU capacity changes fleet size or throughput. Watch for independent benchmarks, stable TensorRT-LLM connector support, measured miss penalties, tenant-isolation guidance, version-compatibility results, long-running cost studies and evidence that estimated savings survive real traffic and failures.

04

TERMS WORTH KEEPING

SOURCES AND VERIFICATION STATUS

This article was written from the materials below. Product claims and dates were checked against those sources on November 22, 2026.

THE PUBLICATION ENGINE

WANT A SIGNAL OF YOUR OWN?

We build source-grounded publications, private briefings, and editorial systems for organizations with something useful to say.

WORK WITH US