Mooncake: Trading More Storage for Less Computation - A KVCache-centric Architecture for Serving LLM Chatbot
Ruoyu Qin, Zheming Li, Weiran He, Jialei Cui, Feng Ren, Mingxing Zhang, Yongwei Wu, Weimin Zheng, Xinran Xu
Abstract
MOONCAKE is the serving platform for Kimi, an LLM chatbot service developed by Moonshot AI. This platform features a KVCache-centric disaggregated architecture that not only separates prefill and decoding clusters but also efficiently utilizes the underexploited CPU, DRAM, SSD and NIC resources of the GPU cluster to establish a disaggregated KV-Cache. At the core of MOONCAKE is its KVCache-centric global cache and a scheduler designed to maximize throughput while adhering to stringent latency-related Service Level Objectives (SLOs).
Our experiments demonstrate that MOONCAKE excels in scenarios involving long-context inputs. In tests using real traces, MOONCAKE increases the effective request capacity by 59%∼498% when compared to baseline methods, all while complying with SLOs. Currently, MOONCAKE is operational across thousands of nodes, processing over 100 billion tokens daily. In practical deployments, MOONCAKE's innovative architecture enables Kimi to handle 115% and 107% more requests on NVIDIA A800 and H800 clusters, respectively, compared to previous systems.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
59 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- ServeGen: Workload Characterization and Generation of Large Language Model Serving in Production cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- ServeGen: Workload Characterization and Generation of Large Language Model Serving in Production cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- ServeGen: Workload Characterization and Generation of Large Language Model Serving in Production cites SGLang: Efficient Execution of Structured Language Model Programs
- DEEPSERVE: Serverless Large Language Model Serving at Scale cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- DEEPSERVE: Serverless Large Language Model Serving at Scale cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- Strata: Hierarchical Context Caching for Long Context Language Model Serving cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- Strata: Hierarchical Context Caching for Long Context Language Model Serving cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- Strata: Hierarchical Context Caching for Long Context Language Model Serving cites SGLang: Efficient Execution of Structured Language Model Programs
- Efficient Memory Management for Large Language Model Serving with PagedAttention cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- SGLang: Efficient Execution of Structured Language Model Programs cites Generative Agents: Interactive Simulacra of Human Behavior
- SGLang: Efficient Execution of Structured Language Model Programs cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- SGLang: Efficient Execution of Structured Language Model Programs cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning cites ServeGen: Workload Characterization and Generation of Large Language Model Serving in Production
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning cites SGLang: Efficient Execution of Structured Language Model Programs
- Seer: Online Context Learning for Fast Synchronous LLM Reinforcement Learning cites Efficient Memory Management for Large Language Model Serving with PagedAttention
Cited by top-tier papers59
- ServeGen: Workload Characterization and Generation of Large Language Model Serving in ProductionYuxing Xiang, Xue Li, Kun Qian, Yan Zhang et al.NSDI 2026 · 58 citations
- Strata: Hierarchical Context Caching for Long Context Language Model ServingZhiqiang Xie, Ziyi Xu, Mark Zhao, Yuwei An et al.OSDI 2026 · 40 citations
- DEEPSERVE: Serverless Large Language Model Serving at ScaleJunhao Hu, Jiang Xu, Zhixia Liu, Yulong He et al.USENIX ATC 2025 · 38 citations
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory BallooningShan Yu, Yifan Qiao, Mingyuan Ma, Yangmin Li et al.OSDI 2026 · 33 citations
- Seer: Online Context Learning for Fast Synchronous LLM Reinforcement LearningRuoyu Qin, Weiran He, Weixiao Huang, Yangkun Zhang et al.OSDI 2026 · 32 citations
Builds on21
- Generative Agents: Interactive Simulacra of Human BehaviorJoon Sung Park, Joseph C. O'Brien, Carrie Jun Cai, Meredith Ringel Morris et al.UIST 2023 · 1,882 citations
- SGLang: Efficient Execution of Structured Language Model ProgramsLianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Chuyue Sun et al.NeurIPS 2024 · 1,586 citations
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng et al.SOSP 2023 · 1,016 citations
- KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache QuantizationColeman Hooper, Sehoon Kim, Hiva Mohammadzadeh, Michael W. Mahoney et al.NeurIPS 2024 · 738 citations
- Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim et al.OSDI 2022 · 690 citations
Related papers
- DualPath: Accelerating Agentic LLM Inference by Harvesting Disaggregated KV-Cache Storage I/OYongtong Wu, Shaoyuan Chen, Rilin Huang, Yixuan Tan et al.SIGCOMM 2026
- Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM WorkloadsChaoyi Ruan, Yinhe Chen, Dongqi Tian, Yandong Shi et al.NSDI 2026 · 5 citations
- Efficient LLM Serving on Commodity GPU Clusters with Data-Reduced Cross-Instance OrchestrationJiangsu Du, Hongbin Zhang, Taosheng Wei, Zhenyi Zheng et al.OSDI 2026
- Compute or Load KV Cache? Why Not Both?Shuowei Jin, Xueshen Liu, Qingzhao Zhang, Zhuoqing MaoICML 2025
- SYMPHONY: Enabling Compute-Memory Disaggregation in LLM Serving SystemsSaurabh Agarwal, Bodun Hu, Anyong Mao, Aditya Akella et al.NSDI 2026 · 4 citations
