SETUP GUIDE
How to run Claude Code with Kimi
Kimi (Moonshot AI) is known for very long context — the K2 series handles 200K+ tokens, ideal for large-codebase and long-document work. Kimi provides an Anthropic-compatible endpoint and works with Claude Code out of the box.
Engine support (probe-verified, 2026-07-10)
| Engine | Kimi support |
|---|---|
| Claude Code | ✅ Supported (Anthropic-compatible endpoint) |
| Codex | — Not yet |
Step 1 — Get a Kimi API key
Open platform.moonshot.cn → sign up / log in → “API Key management” → create and copy.
Console: https://platform.moonshot.cn/
Step 2 — Configure the Snail launcher (3 steps)
- Download the launcher for Mac / Windows from justalittlesnail.ai;
- Paste the API key on the Kimi card (the launcher validates connectivity immediately);
- Pick a model and click Launch Claude Code — a dedicated terminal window opens.
Recommended models
Main: kimi-k2.7-code (complex tasks) · Fast: kimi-k2.7-code-highspeed (subtasks / summaries). After saving the key, click “Refresh” on the card to pull the live model list.
FAQ
- Why can't I use Kimi with Codex?
- Codex CLI now requires the OpenAI Responses API; Kimi doesn't offer that endpoint yet. Claude Code with Kimi is unaffected.
Multi-window sessions, a different model in each window
Download the Snail launcherOther guides: DeepSeek · Qwen 通义千问 · GLM 智谱 · MiMo · MiniMax · StepFun 阶跃星辰 · 百度千帆 ERNIE · Anthropic Claude 官方
All guides (EN) · 中文版 · Home