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

Turns natural-language instructions into end-to-end Android automation that drives real devices and captures Logcat and screenshots. Uses a multimodal “Dynamic‑First, Coordinate‑Fallback” locator and a native MCP server for IDE integration, supporting fast Flash (3–5s/step) and verifiable Pro workflows.

Converts real repositories into verifiable, sandboxed training environments with black-box tests to train coding agents on long-horizon program reproduction. Provides Program-Env for automated environment construction and Program-Agent for a role-isolated development workflow, yielding 1,648 C/C++/Go/Rust tasks and improving benchmark performance.

GitHub
AI Agent2026

Runs a local-first AI agent runtime that drives your desktop and automates workflows — browsing, file edits, approved shell commands, document extraction, and scheduled tasks — while integrating local or cloud LLMs (llama.cpp/TurboQuant) and embedding as an HTTP service or Tauri sidecar.