Reduce LLM Inference Cost up to 40% Using a KV Cache With Valk...
summary
Claim: using Valkey as a KV cache with vLLM and a Mooncake connector reduces GPU prefill work so cold prefill drops from ~26s to under 1s on long prompts and cloud tests show up to 40% cost reduction, 16% higher throughput, 11%–14% more completed turns, 27% P90 TTFT improvement and ~50% P90 end-to-end latency reduction. Benchmarks serve 70k cached tokens, find a crossover near ~60k prompt tokens where serving cache beats recompute, and show cache tuning (LMCache vs Valkey) and shims matter.
AI-written summary · about
chapters (15)
- 0:00Introduction & The GPU Cost Challenge
- 1:16How Inference Works in Agentic Workloads
- 2:40GPU Compute: Prefill vs. Decode
- 3:55What Happens With and Without KV Caching
- 4:57On-Premises Law Firm Benchmark (Carlos Rolo)
- 7:18Technical Optimizations: Gated Delta Layers & vLLM Connector
- 9:43Local Benchmark Results & Throughput Gains
- 12:26Why Mooncake & Valkey Instead of LM Cache
- 16:02Cloud Scale Experiments (AWS P5 / H100s)
- 17:30Claude Code Agents Benchmark Results
- 20:26Stress Testing: Traffic Spikes & GPU Failures
- 23:09Kimi Chat Benchmark & Side-by-Side Demo
- 25:15Why Short Prompts Behave Differently (Network vs. Recompute)
- 27:12Decision Framework: Optimizing for TTFT, Throughput, or Cost
- 30:05Key Takeaways & Summary
