Products & Tools

Valkey 9.2 adds distributed KV caching for AI inference

Valkey 9.2 adds a shared KV cache for AI inference, claiming up to 40% lower spending and up to 80% lower first-token latency. Multiverse served 50% more requests on the same GPUs.

Valkey 9.2 adds distributed KV caching for AI inference
AI-generated
By Elena Vasquez5 min read

Why it matters

  • November 19, 2026: Valkey released 9.2 with distributed KV caching for AI inference.
  • Valkey claims up to 40% lower inference spending and up to 80% lower first-token latency on existing GPUs.
  • Multiverse Computing served 50% more requests on the same GPUs while meeting a one-second median first-token target.
  • Valkey’s synthetic test produced about 25% more requests and 28% more output tokens, while adding about 15% to the GPU bill.
  • Valkey 9.2 adds Path Hash, forkless snapshots and B+ tree-backed sorted sets.

Valkey 9.2 can cut inference spending by up to 40% and first-token latency by up to 80% on existing GPU infrastructure, the project said on November 19, 2026.

The release adds a distributed key-value cache for AI inference fleets. It targets a costly bottleneck: repeated context can make an inference server redo the same prefill work before producing another token. For operators running open-weight models, that work comes directly out of existing GPU budgets.

What does distributed KV caching change?

Valkey’s October 20 technical post describes a shared cache tier beyond GPU and host memory. It stores the key-value tensors generated when a model processes prompt instructions, tool definitions and conversation history.

Prefill is the processing stage before an engine generates new output. Valkey says inference engines can reuse cached tensors for repeated context instead of recomputing them during prefill. The shared tier spans GPU servers, so any node can load a conversation that local memory has evicted.

Self-managed deployments running open-weight models can connect through the LMCache connector. Valkey says it supports vLLM and SGLang with a configuration change and no application-code updates.

Valkey 9.2 also introduces Path Hash, a radix-tree-backed data type. The type supports exact lookup, longest-prefix matching and prefix traversal. Valkey positions it as a lightweight index for finding the longest matching cached prefix and its location. Larger AI data remains in GPU or host memory.

How much capacity did Multiverse recover?

Multiverse Computing’s director of AI platform, Ennio Pastore, described the company’s result: “Distributed KV caching on Valkey let the company serve 50% more requests on the same GPUs while meeting its one-second target for median time to first token.”

Valkey reports that median first-token latency fell 23% at normal traffic and 95% at peak traffic. Multiverse also contributed LMCache connector improvements intended to make distributed caching more resilient.

Valkey’s synthetic benchmark provides a separate test. It used 100 concurrent conversations with 12,000 to 28,000 tokens of context and reached 8 requests per second across two GPU nodes, each with eight H100 accelerators. The nodes served Llama-3.1-70B through vLLM and LMCache.

A three-shard Valkey 9 cluster sat in the same availability zone as the shared cache. Valkey measured about 25% more requests and about 28% more output tokens. The cache added about 15% to the GPU bill, a visible tradeoff against the higher throughput.

The benchmark and the Multiverse deployment do not produce the same gain. Valkey reports 50% more requests for Multiverse, but about 25% more in its synthetic setup. The difference makes workload mix, cache reuse and memory pressure central to any deployment decision.

When does the cache stop helping?

Valkey’s testing and deployment guidance draws firm boundaries. The shared cache offers little benefit when the working set already fits in GPU and host memory. It also offers little benefit when requests lack repeated context. That leaves the feature best suited to fleets that repeatedly process similar prompts, tool definitions or conversation histories while evicting material from local memory.

The cache cannot create GPU compute when new-token prefill becomes the bottleneck. Valkey says it helps with repeated prefill, not with every stage of inference. If new output requires all available GPU time, a larger cache cannot free that compute.

Placement also matters because the cache sits on the first-token path. Valkey recommends running it in the same availability zone as the GPU fleet. Cross-zone traffic can add both latency and transfer charges. The extra network hop may erase the response-time benefit the cache is meant to create.

What changes beyond AI inference?

Valkey 9.2 targets the datastore’s own infrastructure costs too. Opt-in forkless snapshots and full replica synchronizations now use a background thread instead of a separate server process. Valkey says that avoids copy-on-write memory overhead during write-heavy work.

The feature adds four bytes per key. Valkey’s prefer-forkless policy falls back to forking when necessary, preserving a route for cases where background-thread snapshots do not work.

Ongoing replication compression is negotiated separately with each replica. Older or opted-out replicas continue receiving plaintext, which lets operators adopt the feature without changing every node at once.

In a Valkey benchmark with 3 million keys of about 315 bytes each, LZ4 reduced replication bandwidth by 52% with less than 1% throughput overhead. Whole-stream snapshot compression supports both LZ4 and Zstandard. Zstandard requires a build-time option and targets cross-region replication, where network costs run high relative to compute.

Large sorted sets now use a B+ tree instead of a skiplist. Valkey reports per-member memory overhead falling 36% to 43% in a test with 5 million members containing 20-byte elements. The change attacks one of the data structure’s biggest deployment costs without altering its core role.

Operational additions include server-side hot-key detection and reusable access-control roles. Valkey also added priority handling for cluster heartbeats and replication, plus reserved administrative connections. Operators can optionally throttle writes when a replica falls behind.

Is 9.2 a safe upgrade?

The 9.2.0 release record marks the first stable version in the 9.2 series. Valkey’s download page lists Docker tags and platform-specific binary artifacts. The project describes 9.2 as a minor release without breaking changes, which keeps the upgrade path straightforward for existing deployments.

One compatibility warning remains. Append-only file bases written with LZ4 or Zstandard compression require a compatible Valkey version if an operator later downgrades. Valkey flags that restriction in its release guidance rather than treating the newer compression formats as universally reversible.

What should operators test next?

Valkey’s own limits point to a workload-specific decision. The strongest case sits with repeated context, local-memory pressure and prefill work that the cache can avoid. Requests without repetition offer little to recover, and saturated new-token prefill remains outside the feature’s reach.

Self-managed open-weight operators can trial the connector with vLLM or SGLang through configuration changes, without application-code updates. They should also test in the same availability zone as the GPU fleet. The next production question is whether throughput gains survive varied traffic without surrendering the roughly 15% GPU-bill overhead seen in Valkey’s synthetic test.

Source: unite.ai

Share this article:

More from Elena Vasquez

Elena Vasquez

Show full bio

Market editor covering technology and product news in artificial intelligence and machine learning at AI In Context.

1,000 articles

Related articles

  1. AWS Adds KV Cache-Aware Routing to SageMaker AI Endpoints
  2. AWS Reports 2.05x Throughput Gain From NVIDIA Dynamo on SageMaker HyperPod
  3. OpenAI cuts GPT-6 agent costs with smarter prompt caching
  4. DeepSeek Open-Sources DeepInfer, the Engine Behind DeepSeek-V4.1-Flash
  5. A Busy GPU Is Not a Productive GPU: New Scorecard Rewrites AI Inference Metrics

« Previous articleNext article »