Mooncake/docs/source/index.md

6.2 KiB

Welcome to Mooncake

:::{figure} ./image/mooncake-icon.png :align: center :alt: Mooncake :class: no-scaled-link :width: 60% :::

:::{raw} html

A KVCache-centric Disaggregated Architecture for LLM Serving.

Star Watch Fork

:::

Mooncake is the serving platform for Kimi, a leading LLM service provided by Moonshot AI. Now both the Transfer Engine and Mooncake Store are open-sourced! This repository also hosts its technical report and the open sourced traces.

🔄 Updates

  • Sept 10, 2025: SGLang officially supports Mooncake Store as a hierarchical KV caching storage backend. The integration extends RadixAttention with multi-tier KV cache storage across device, host, and remote storage layers.
  • Sept 10, 2025: The official & high-performance version of Mooncake P2P Store is open-sourced as checkpoint-engine. It has been successfully applied in K1.5 and K2 production training, updating Kimi-K2 model (1T parameters) across thousands of GPUs in ~20s.
  • Aug 23, 2025: xLLM high-performance inference engine builds hybrid KV cache management based on Mooncake, supporting global KV cache management with intelligent offloading and prefetching.
  • Aug 18, 2025: vLLM-Ascend integrates Mooncake Transfer Engine for KV cache register and disaggregate prefill, enabling efficient distributed inference on Ascend NPUs.
  • Jul 20, 2025: Mooncake powers the deployment of Kimi K2 on 128 H200 GPUs with PD disaggregation and large-scale expert parallelism, achieving 224k tokens/sec prefill throughput and 288k tokens/sec decode throughput.
  • Jun 20, 2025: Mooncake becomes a PD disaggregation backend for LMDeploy.
  • May 9, 2025: NIXL officially supports Mooncake Transfer Engine as a backend plugin.
  • May 8, 2025: Mooncake x LMCache unite to pioneer KVCache-centric LLM serving system.
  • May 5, 2025: Supported by Mooncake Team, SGLang release guidance to deploy DeepSeek with PD Disaggregation on 96 H100 GPUs.
  • Apr 22, 2025: LMCache officially supports Mooncake Store as a remote connector.
  • Apr 10, 2025: SGLang officially supports Mooncake Transfer Engine for disaggregated prefilling and KV cache transfer.
  • Mar 7, 2025: We open sourced the Mooncake Store, a distributed KVCache based on Transfer Engine. vLLM's xPyD disaggregated prefilling & decoding based on Mooncake Store will be released soon.
  • Feb 25, 2025: Mooncake receives the Best Paper Award at FAST 2025!
  • Feb 21, 2025: The updated traces used in our FAST'25 paper have been released.
  • Dec 16, 2024: vLLM officially supports Mooncake Transfer Engine for disaggregated prefilling and KV cache transfer.
  • Nov 28, 2024: We open sourced the Transfer Engine, the central component of Mooncake. We also provide two demonstrations of Transfer Engine: a P2P Store and vLLM integration.
  • July 9, 2024: We open sourced the trace as a jsonl file.
  • June 27, 2024: We present a series of Chinese blogs with more discussions on zhihu 1, 2, 3, 4.
  • June 26, 2024: Initial technical report release.

Documentation

% How to start using Mooncake?

:::{toctree} :caption: Getting Started :maxdepth: 2

getting_started/build getting_started/quick-start getting_started/plugin-usage/3FS-USRBIO-Plugin getting_started/examples/lmcache-integration getting_started/examples/lmdeploy-integration-v0.9 getting_started/examples/sglang-integration-v1 getting_started/examples/sglang-integration/hicache-integration-v1 getting_started/examples/vllm-integration/index :::

% Making the most out of Mooncake

:::{toctree} :caption: Performance :maxdepth: 1

performance/sglang-benchmark-results-v1 performance/vllm-benchmark-results-v0.2 performance/vllm-benchmark-results-v1 performance/sglang-hicache-benchmark-results-v1 performance/allocator-benchmark-result.md :::

% API Documentation

:::{toctree} :caption: Python API Reference :maxdepth: 1

python-api-reference/mooncake-store python-api-reference/transfer-engine :::

% Explanation of Mooncake internals

:::{toctree} :caption: Design Documents :maxdepth: 1

design/architecture design/mooncake-store design/p2p-store design/transfer-engine :::

% Q&A for Mooncake

:::{toctree} :caption: Troubleshooting :maxdepth: 1

troubleshooting/error-code troubleshooting/troubleshooting :::

% Deployment docs

:::{toctree} :caption: Deployment :maxdepth: 1

deployment/mooncake-store-deployment-guide :::