Moonshot AI (Kimi)
Moonshot provides the Kimi API with OpenAI-compatible endpoints. Configure the provider and set the default model tomoonshot/kimi-k2.5, or use
Kimi Coding with kimi-coding/k2p5.
Current Kimi K2 model IDs:
kimi-k2.5kimi-k2-0905-previewkimi-k2-turbo-previewkimi-k2-thinkingkimi-k2-thinking-turbo
moonshot/..., Kimi Coding uses kimi-coding/...).
Config snippet (Moonshot API)
Kimi Coding
Notes
- Moonshot model refs use
moonshot/<modelId>. Kimi Coding model refs usekimi-coding/<modelId>. - Override pricing and context metadata in
models.providersif needed. - If Moonshot publishes different context limits for a model, adjust
contextWindowaccordingly. - Use
https://api.moonshot.ai/v1for the international endpoint, andhttps://api.moonshot.cn/v1for the China endpoint.
Native thinking mode (Moonshot)
Moonshot Kimi supports binary native thinking:thinking: { type: "enabled" }thinking: { type: "disabled" }
agents.defaults.models.<provider/model>.params:
/think levels for Moonshot:
/think off->thinking.type=disabled- any non-off thinking level ->
thinking.type=enabled
tool_choice must be auto or none. OpenClaw normalizes incompatible tool_choice values to auto for compatibility.
This page is sourced from openclaw/openclaw.