kvcache-ai/Mooncake
AI EngineeringServing infrastructure for LLM inference clusters that need shared KV cache storage, RDMA data movement and disaggregated prefill-decode.
Mooncake is a serving platform aimed at teams running large inference clusters, not a drop-in library for a single GPU box. Adopt it when KV cache reuse and cross-node data movement are becoming the bottleneck; for a one-node vLLM setup the operational surface is likely more than you need.
The problem
In a typical multi-node LLM deployment, each prefill and decode instance keeps its own KV cache. Prompts that repeat across requests or across instances are recomputed, and moving cache between a prefill pool and a decode pool means copying large tensor blocks over the network. Choosing among those options usually means either accepting idle GPUs or writing bespoke transfer code. Mooncake changes that step by offering a transfer layer and a distributed cache so serving engines can hand KV cache and model weights between nodes and storage tiers. The result is that cache reuse becomes an infrastructure concern rather than per-framework glue.
What's different
Mooncake is organized around three layers. The Transfer Engine is a batched data-movement interface that speaks multiple transport protocols and does topology-aware routing, multi-NIC bandwidth aggregation and automatic failover Transfer Engine guide. Mooncake Store sits on top of it as a distributed key-value cache for KV caches and weights, with replication, eviction and object storage Store guide. The EP and Process Group additions push it toward fault-tolerant MoE inference: a PyTorch process-group backend can detect failed ranks and recover them without restarting the whole service EP & backend guide.
The practical benefit is that these pieces already have integration paths into SGLang and vLLM for PD-disaggregated serving and cross-instance cache sharing SGLang integration, vLLM integration. The trade-off is that this is systems software: you are buying into RDMA-capable networking, multi-node deployment and a specific serving stack. The README is C++ project documentation with a FAST'25 paper behind it paper, so the design is documented, but the responsibility for tuning, deployment and recovery still lands on the operator. The released components do not replace the inference engine; they are the transport and cache substrate beneath it.
Who should try it
A good fit is a platform or inference-infrastructure team already running SGLang or vLLM across several nodes, seeing TTFT dominated by repeated prefill work or cache misses, and willing to take on transfer-engine configuration and RDMA setup. That team gets the most from the disaggregation and cache-sharing features because they already have the multi-node topology those features assume.
A poor fit is a single developer serving one model on one machine, or a team that wants a managed API without operating networking. For those cases the documented integration model adds a layer you do not need. The skills for AI assistants built-in skills help with troubleshooting and local CI, but they do not remove the underlying deployment requirements.
Requirements and limitations
The main constraints are hardware and topology. The benefits described depend on RDMA-class data movement between nodes and accelerators, so a cluster without that fabric will not exercise the transfer engine as designed. The Store and EP features also assume a distributed setup; they provide little on a single process. Upkeep matters too: failover and rank recovery are first-class concerns, which means monitoring those paths and keeping the deployment configuration coherent when the serving stack or the cache topology changes. The project ships a Docker image container image and a PyPI package PyPI package, which helps with installation, but neither simplifies the network and cluster prerequisites.
HotRepo's take
HotRepo has only one daily-board observation for this project: on 2026-10-28 it appeared with 6,907 stars and +12 stars that day. That single dated snapshot is not enough to judge whether interest is rising, fading or sustained, so treat the number as a point observation rather than momentum. The concrete thing to check before adopting is whether your serving stack's documented integration path matches the networking you actually have.
Written by AI from the project's README, updated October 28, 2026. The project's own docs are the source of truth.