AIAny
AI Infra2024
Icon for item

Mooncake

Disaggregated LLM serving architecture that splits prefill and decode into separate clusters and pools spare CPU, DRAM, and SSD into a distributed KVCache. Powers Kimi in production, handling 75% more requests under the same SLOs.

Introduction

When a chatbot's traffic explodes, the instinct is to buy more GPUs. Mooncake's bet is the opposite: trade cheap, idle storage for expensive compute. By treating accumulated KVCache as a first-class, reusable asset rather than per-request scratch space, it turns the GPU cluster's underused CPU, DRAM, and SSD into a shared cache pool — so repeated prefixes are recomputed far less often.

Key Findings
  • Splitting prefill and decode into separate clusters lets each scale and schedule independently, instead of fighting over the same GPU between two workloads with very different latency profiles.
  • A KVCache-centric scheduler balances cache reuse against latency SLOs under real overload, rather than just maximizing raw throughput — the difference between a benchmark win and surviving a traffic spike.
  • In Moonshot AI's production Kimi service it absorbed roughly 75% more requests under the same SLOs, and reported up to a 525% throughput gain in simulated long-context scenarios.
  • The Transfer Engine (RDMA) and Mooncake Store are open-sourced and already wired into vLLM, SGLang, LMDeploy, and LMCache, so the ideas are reusable outside Kimi.
Who It's For

Great fit if you run a high-traffic, long-context inference service and are bottlenecked on prefill recomputation or GPU cost, and you can invest in RDMA networking and tiered storage to make a disaggregated KVCache pay off. Look elsewhere if your workload is low-volume, short-context, or single-node — the operational complexity of separate prefill/decode clusters and a distributed cache tier will outweigh the savings. The work won Best Paper at FAST 2025, so the design is well-documented for teams wanting to study rather than deploy it.

Information

  • Websitekvcache-ai.github.io
  • OrganizationsMoonshot AI, Tsinghua University
  • AuthorsMooncake Team, Moonshot AI (Kimi)
  • Published date2024/06/26

More Items

GitHub
AI Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

Hugging Face
AI Model2026

Packages Inkling 2 Mini for local inference with Strata in three sizes for different memory budgets. The largest pack matched the original model’s next-token predictions in the reported tests.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.