Mooncake is a serving platform for Kimi, an LLM service from Moonshot AI, built around sharing and transferring the KV cache used during language-model inference. It supports disaggregated serving and data movement between inference, training, and rollout systems. The catalogue add-ons operate or integrate with Mooncake-based serving and transfer workflows.
Borrowing it
Nothing to install: this file belongs to kvcache-ai/Mooncake. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kvcache-ai/Mooncake/main/.claude/skills/mooncake-api/SKILL.mdgit clone --depth 1 https://github.com/kvcache-ai/MooncakeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kvcache-ai/mooncake/mooncake-api)<a href="https://agentmods.dev/skills/kvcache-ai/mooncake/mooncake-api"><img src="https://agentmods.dev/badge/skills/kvcache-ai/mooncake/mooncake-api/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kvcache-ai/mooncake/mooncake-api"><img src="https://agentmods.dev/badge/skills/kvcache-ai/mooncake/mooncake-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00122 | $0.04106 |
| Opus 5.5 | $0.00049 | $0.01642 |
| Sonnet 5.5 | $0.00024 | $0.00821 |
| Haiku 4.5 | $0.00012 | $0.00411 |
Grade A, and why
mooncake-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://localhost:50051 How it starts
The opening of the file, as written. The whole thing — 538 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mooncake Python API Skill
Use this skill to help users work with Mooncake Python APIs for distributed storage and high-performance data transfer.
When to Use This Skill
Use this skill when users ask about:
- Using Mooncake Store for distributed KV cache storage
- Using Transfer Engine for RDMA/TCP data transfers
- Setting up Mooncake services (master, metadata server)
- Working with PyTorch tensors in Mooncake Store
- Zero-copy operations and buffer management
- Batch operations and replication configuration
- Mooncake EP (Expert Parallelism) and Mooncake Backend
- Troubleshooting Mooncake Python API issues
Routing Guidance
- For most vLLM and SGLang users, start from
docs/source/getting_started/quick-start.md. - For PD disaggregation, direct users to the SGLang/vLLM integration guides listed in Quick Start. Those guides own the serving-framework configuration.
- For Mooncake Store integrations, direct users to the SGLang/vLLM Store setup guides listed in Quick Start. Do not duplicate
mooncake_masterstartup commands in general API answers unless the user is working outside those frameworks. - For direct low-level Transfer Engine usage, use
docs/source/design/transfer-engine/index.md#using-transfer-engine-in-your-projects. - For API signatures and method details, use the Python API references under
docs/source/python-api-reference/.
Core Components
1. Mooncake Store (Distributed KV Cache)
Import:
from mooncake.store import MooncakeDistributedStore, ReplicateConfig
Basic Setup:
store = MooncakeDistributedStore()
store.setup(
"localhost", # local_hostname
"http://localhost:8080/metadata", # metadata_server
512*1024*1024, # global_segment_size (512MB)
128*1024*1024, # local_buffer_size (128MB)
"tcp", # protocol ("tcp" or "rdma")
"", # rdma_devices (empty for auto-select)
"localhost:50051" # master_server_address
)
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 538 lines · 122 tokens per session scan A 67a219d00ba9
mooncake-api is a skill published in the GitHub repository kvcache-ai/Mooncake (7,164 stars, last pushed yesterday), licensed Apache-2.0. It adds 122 tokens to every session and 4,106 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
mooncake-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mooncake-apikvcache-ai/Mooncake | Skill | 7.2k | yesterday | Apache-2.0 | A | 122 | Claude Code |
| groq-inferencesynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| llm-kv-cache-paged-attentionj4flmao/agent-skills | Skill | 46 | 14d ago | MIT | A | 97 | Claude Code, Codex |
| mlx-serveddalcu/mlx-serve | Skill | 2.7k | today | none | A | 88 | Claude Code, Codex |
| serving-llms-vllmNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 27 | Claude Code, Codex |
| open-sourcebrowser-use/browser-use | Skill | 122k | yesterday | MIT | A | 101 | Claude Code |
| sglang-diffusion-performancesgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 29 | Claude Code, Codex |