AIToday
Large Language ModelsOpen-Source AIDaily Dose of Data SciencePublished: Nov 27, 2026, 06:01 JST

LMCache cuts agent latency 14x by moving KV cache out

Send on LINE
LMCache cuts agent latency 14x by moving KV cache out

3 Key Points

  1. What happened

    Stanford researchers found ~62% of what's sent to an AI agent on every call is repeated content, and LMCache, an open-source project (10k+ stars), moves cache management outside the inference engine, delivering up to 14x faster time-to-first-token on H200 GPUs.

  2. Why it matters

    Because most of what agents process is redundant re-sent context, separating cache I/O from inference lets teams avoid paying to recompute identical prompts and tool definitions, addressing the cost overruns behind Gartner's forecast that 40% of AI agent projects will be cancelled by 2027.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The cost problem LMCache targets is structural rather than a matter of per-token pricing. Even as token prices fell, agentic workflows re-send the same system prompts, tool definitions, and documents at every step, so volume outran the price cuts and total bills rose. Uber's experience illustrates the pattern: after rolling out Claude Code across its engineering org, it burned through its entire 2026 AI budget in just 4 months, and Gartner forecasts that 40% of AI agent projects will be cancelled by 2027 because of cost overruns alone.

Prompt caching was the industry's first answer, and it works well when the start of a request never changes: Anthropic's own implementation gives a 90% cost reduction on cached input tokens, with hit rates of 60 to 85% achievable for stable workloads. But prefix caching requires an exact, byte-for-byte match, so multi-document RAG, reordered documents, and growing conversation histories all trigger full cache misses. Alibaba Cloud's production data shows the waste: 10% of KV cache blocks serve 77% of all hits.

LMCache's architectural split addresses the performance side, and CacheBlend, which won the EuroSys 2025 Best Paper Award, addresses the matching limitation by selectively recomputing only the few tokens that carry cross-document connections. The engineering details suggest production readiness rather than a prototype: Prometheus and OpenTelemetry integration, a Kubernetes operator, and failure modes where neither a cache crash nor an engine crash takes the whole system down.

FAQ
How much faster is LMCache than in-process caching?
On H200 GPUs with the Qwen3-235B model and 50 concurrent users, LMCache delivers 14x faster time-to-first-token and 4x faster decoding, while startup time drops from over 3 minutes to about 30 seconds.
Does LMCache work with existing inference engines and hardware?
LMCache integrates with all major inference engines (vLLM, SGLang, TensorRT-LLM) and supports both NVIDIA and AMD GPUs.
What is CacheBlend and how does it relate to LMCache?
CacheBlend is the LMCache team's research paper, which won the EuroSys 2025 Best Paper Award, and it selectively recomputes only a few tokens to recover cross-document understanding, giving 2 to 4x faster processing for multi-document queries without quality loss.
Daily Dose of Data ScienceRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleScott Aaronson: AI producing math proofs is the real bombshell