Kimi Integration

Integrate Moonshot AI Kimi models with OpenClaw.

Overview

Kimi by Moonshot AI provides powerful Chinese-English bilingual models with large context windows.

Available Models

  • moonshot-v1-8k — 8K context, fast
  • moonshot-v1-32k — 32K context, balanced
  • moonshot-v1-128k — 128K context, for long documents

Configuration

{
  "agents": {
    "default": {
      "provider": "moonshot",
      "model": "moonshot-v1-8k"
    }
  }
}

Environment Variables

export MOONSHOT_API_KEY="sk-..."

Get API Key

  1. Visit platform.moonshot.cn
  2. Register an account
  3. Generate an API key and set as MOONSHOT_API_KEY

Next Steps