How to Use Kimi with OpenClaw?
Kimi, developed by Moonshot AI, is a capable model with a massive 128K-2M token context window. It's particularly strong at processing long documents and multilingual content.
Get your API key from platform.moonshot.cn. Kimi uses an OpenAI-compatible API, so configuration in OpenClaw is straightforward.
Kimi's standout feature is its context length. While most models top out at 128K-200K tokens, Kimi supports up to 2 million tokens in its latest version. This makes it excellent for analyzing entire codebases, long research papers, or extensive conversation histories.
Pricing is competitive — roughly comparable to GPT-4o-mini for standard usage. The free tier includes a limited number of requests for testing.
Kimi works well for: document analysis, summarization of long texts, multilingual translation (especially good with Asian languages), and tasks requiring extensive context. For general-purpose use, Claude or DeepSeek may be better choices.
Setup tip: Use OpenRouter as your provider if you want easy access to Kimi alongside other models. This lets you switch between models without changing API keys.
openclaw config set provider moonshot openclaw config set model moonshot-v1-128k openclaw config set apiKey your-moonshot-key