Skip to main content
Kimi Code is currently experimental and may have different behavior or limitations compared to stable agents like Claude Code or Codex.

Overview

Kimi Code is a coding agent powered by Moonshot AI’s Kimi models. It offers strong performance on coding tasks and is a great option for teams looking to diversify beyond Anthropic and OpenAI providers.

Authentication

Kimi Code requires a Kimi API key:
  1. Get an API key from Moonshot AI Platform
  2. In Blocks Dashboard, go to DashboardAgents
  3. Select Kimi Code and choose “API Key”
  4. Paste your Kimi API key (KIMI_API_KEY)

Setting as Default

To use Kimi Code automatically for all requests:
  1. Go to DashboardAgents
  2. Select “Set as default agent” from Kimi Code’s dropdown menu

Using Kimi Code

Once configured, Kimi Code is used automatically if it’s your default agent:
@blocks can you review this code?
Or use the /kimi slash command to use it specifically:
@blocks /kimi implement this feature
@blocks /kimi review this PR for potential bugs

Best For

  • Coding tasks requiring a strong alternative to Anthropic and OpenAI models
  • Teams wanting to diversify AI providers
  • Cost optimization with a competitive pricing model

Cost

Kimi Code uses your Kimi API key and is billed directly by Moonshot AI. Check pricing at the Moonshot AI Platform.

Next Steps

Claude Code

Learn about Claude Code

OpenCode

Explore OpenCode capabilities