LMCache Reuses KV Cache For Up To 10.7x LLM Inference Speedup
Reactions from ranked influencers
2 postsRepeated prefill is one of the quietest wastes in LLM serving. LMCache tackles the problem by saving and getting back KV cache. - 10K+ Github stars - Benchmark shows up to to a 10.7x speedup - And vLLM plus LMCache delivers 3-10x improvements on AMD MI300X. 💾 LMCache is a KV cache management layer for LLM inference. LMCache allows the serving stack to reuse the heavy attention state from the first read of a long prompt, so the GPU doesn’t have to do that work twice. That attention state is called the KV cache, where KV means key-value tensors from the model’s attention layers. Normally, this cache lives like short-term memory inside the serving engine, so it can vanish when the engine restarts, fill up GPU memory, or stay stuck to 1 machine. LMCache turns it into a managed layer that can sit across GPU high-bandwidth memory, CPU RAM, local storage, and remote storage. That gives you 3 useful advantage: lower time-to-first-token, higher throughput, and cheaper long-context serving. My favorite part is that LMCache does more than basic prefix caching, which means that the text that needs to be cached has to appear at the beginning of the prompt. It can reuse repeated KV blocks from repeated or overlapping text. This is the same pattern you see in coding agents, retrieval augmented generation, long document QA, and multi-turn assistants. And it is not locked to NVIDIA GPUs either. vLLM with LMCache runs on AMD MI300X through ROCm, AMD’s GPU software stack. Also, there are separate non-CUDA paths for work that only needs to run on CPU or other accelerators. 🧵 1.
vLLM and LMCache delivered a 2.8x speedup for repeated prompts without any GPU. Their GitHub has 10K stars. LLMs repeatedly calculate KV cache tensors for prompt tokens before generating each new token. Shared system prompts and documents therefore force identical work across many requests. LMCache stores those tensors in memory as L1 or external systems as L2. LMCache is vendor-neutral. i.e. it can be used as a KV cache layer for a range of mainstream open-source serving engines, inference frameworks, hardware vendors, storage systems, and infrastructure providers.
𝐍𝐨 𝐆𝐏𝐔? 𝐍𝐨 𝐩𝐫𝐨𝐛𝐥𝐞𝐦. We just published a starter guide for developing vLLM + LMCache on a MacBook. LMCache's multi-platform design decouples the GPU from most core data paths, so a single laptop is enough to clone, build, run unit tests, and verify a real cache hit on CPU. The guide walks through the environment setup in ~10 minutes and points to four concrete areas where you can start contributing. If not having a GPU was your only blocker, it is not anymore. Read the guide and join us in building the KV cache layer for faster LLM inference: https://blog.lmcache.ai/en/2026/06/23/vllm-lmcache-a-starter-guide-no-gpu-required/ #LMCache #vLLM #LLM #AIInfrastructure #OpenSource
Combined views
2 posts, first seen 17h ago