Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.kr/llms.txt
Use this file to discover all available pages before exploring further.
Moonshot AI(Kimi)
Moonshot 提供带有 OpenAI 兼容端点的 Kimi API。配置该 提供商,并将默认模型设置为moonshot/kimi-k2.5,或者使用
kimi-coding/k2p5 作为 Kimi Coding。
当前 Kimi K2 模型 ID:
kimi-k2.5kimi-k2-0905-previewkimi-k2-turbo-previewkimi-k2-thinkingkimi-k2-thinking-turbo
moonshot/...,Kimi Coding 使用 kimi-coding/...)。
配置片段(Moonshot API)
Kimi Coding
说明
- Moonshot 模型引用使用
moonshot/<modelId>。Kimi Coding 模型引用使用kimi-coding/<modelId>。 - 如有需要,可在
models.providers中覆盖定价和上下文元数据。 - 如果 Moonshot 为某个模型发布了不同的上下文限制,请相应调整
contextWindow。 - 国际端点使用
https://api.moonshot.ai/v1,中国端点使用https://api.moonshot.cn/v1。
原生 thinking 模式(Moonshot)
Moonshot Kimi 支持二元原生 thinking:thinking: { type: "enabled" }thinking: { type: "disabled" }
agents.defaults.models.<provider/model>.params 为每个模型进行配置:
/think 级别:
/think off->thinking.type=disabled- 任何非 off 的 thinking 级别 ->
thinking.type=enabled
tool_choice 必须为 auto 或 none。为保持兼容性,OpenClaw 会将不兼容的 tool_choice 值标准化为 auto。