Mooncake
The open-source LLM serving platform behind Moonshot AI's Kimi. Its defining feature is **disaggregated prefill** — separate prefill and decode compute pools with KV-cache state shuttled between them over a dedicated DRAM / NVMe / S3-compatible storage layer.
Current as of 2026-08-31 · v0.3.13.post1
Summary
The open-source LLM serving platform behind Moonshot AI's Kimi. Its defining feature is **disaggregated prefill** — separate prefill and decode compute pools with KV-cache state shuttled between them over a dedicated DRAM / NVMe / S3-compatible storage layer.
A KV-cache-centric serving architecture, and one of the load-bearing examples of object storage acting as an *active* inference tier rather than cold archive. It increasingly interoperates with vLLM/SGLang (its transfer engine plugs into them) rather than strictly replacing them.
- Mooncake is a serving architecture plus a KV transfer engine, not a drop-in inference server you swap for vLLM. Reading
competes_withas "pick one" misses that the transfer engine is adopted inside vLLM deployments. - Disaggregated prefill pays off for long-context, prefill-heavy, multi-tenant traffic. For short-prompt, decode-bound workloads the extra KV-transfer hop can cost more than it saves.
scoped_toAI Memory Infrastructure + S3 — KV-cache transfer rides an object-storage substratesolvesPrefill Tax — dedicated prefill pools stop decode-heavy traffic from starving prefillsolvesHigh Cloud Inference Cost — hardware-shape-matched servingcompetes_withvLLM, SGLang — overlapping serving scope, increasingly interoperable
Definition
The open-source LLM serving platform for Kimi, Moonshot AI's leading LLM product. Repository: github.com/kvcache-ai/Mooncake. Mooncake's architectural distinguishing feature is disaggregated prefill — separating the prefill compute pool from the decode compute pool, with KV-cache state transferred between them via a dedicated storage layer (DRAM, NVMe, or S3-compatible object storage). This pattern is the structural answer to the "prefill is expensive, decode is memory-bound, they have different optimal hardware" tension.
Production LLM serving at scale (Moonshot AI claims hundreds of thousands of concurrent users on the Kimi service) requires architecture that doesn't waste prefill compute on decode-heavy workloads and vice versa. Mooncake formalized the disaggregated-prefill pattern in open-source form, making the architecture reproducible outside Moonshot AI's internal infrastructure.
High-scale LLM serving with disaggregated prefill/decode, KV-cache transfer over object-storage substrates, Kimi-style long-context model serving, multi-tenant LLM platforms targeting cost-per-token optimization.