Debuly
Kimi Code CLI logo

Kimi Code CLI

Terminal coding agent from Moonshot AI that reads and edits code, runs commands and draws on a Kimi Code membership quota.

Open source

What is Kimi Code CLI?

Kimi Code CLI is the command-line way to use Kimi Code, the developer service that Moonshot AI includes with Kimi membership. From a terminal it can read code, edit files and run commands, and the same service is also offered through a Desktop app and a VS Code extension. Subscribers can generate an API key to plug the Kimi Code models into other tools, and the help pages say it works alongside Claude Code and VS Code. Usage from the CLI, the VS Code extension, the Desktop app and third-party tools is counted against a single quota, which includes a rolling 5-hour rate window and a monthly credit pool. Kimi Code starts at the Plus membership, listed at $15 per month with annual billing, and the Pro, Max and Ultra plans add more credits and concurrency. When the quota runs out, an optional Extra Usage balance can be topped up and spent instead.

Use cases

  • Edit and refactor code from the terminal
  • Run shell commands through an agent
  • Load a large codebase into a long context
  • Use Kimi models inside other coding tools
  • Top up usage when quota runs out
  • Compare Kimi membership tiers for coding

Who it's for

  • Developers
  • Terminal users
  • Kimi members

Why use Kimi Code CLI

  • Coding access comes bundled with a Kimi membership, so one subscription covers the web app and the coding tools.
  • A single shared quota applies whether you work in the terminal, in VS Code or through an API key, which keeps usage easy to track.
  • Extra Usage lets you keep working after the quota is reached instead of waiting for a refresh.
  • The Kimi Code Console shows remaining quota and rate-limit status so you can plan heavy sessions.

Kimi Code CLI features

  • Code reading, file editing and command execution from the CLI
  • Also available as a Desktop app and a VS Code extension
  • API key for using Kimi Code models in third-party tools
  • 1M-token context window for whole-codebase work
  • Rolling 5-hour rate window on new plans, with no weekly limit
  • One quota shared across CLI, VS Code, Desktop and API keys
  • Optional Extra Usage balance with a monthly spending cap
  • Console for checking quota, rate limits, API keys and devices

Kimi Code CLI integrations

  • Claude Code
  • VS Code

How to get started with Kimi Code CLI

  1. Choose a Kimi membership at Plus or above, since the Go plan does not include Kimi Code.
  2. Install the CLI and run /login to link the device to your Kimi account.
  3. Start a session in your project and give the agent a coding task.
  4. Watch quota and rate limits in the Kimi Code Console, and enable Extra Usage if you need more headroom.

Kimi Code CLI limitations

  • Kimi Code needs a Plus or higher plan; the Go plan has no coding quota
  • Monthly credits are shared across Kimi features and do not roll over
  • Devices inactive for over 30 days are unbound until you run /login again
  • Extra Usage is billed in RMB and top-ups start at 25 RMB

Kimi Code CLI pricing

Kimi Code CLI is open source, so you can use and self-host it for free. Paid plans start at $15 per month, according to the official pricing page on .

Kimi Code CLI plans

  • Plus

    $15/month

    billed annually at $180

    • Kimi Code available
    • Agent Swarm
    • Deep Research and website deployment
  • Pro

    $31/month

    billed annually at $372

    • 2x agent credits
    • Goal mode for autonomous work
    • Access to K3.1 Pro Highspeed
    • Kimi Code available
  • Max

    $79/month

    billed annually at $948

    • 5x agent credits
    • Up to 1M tokens of context
    • Access to K3.1 Pro Highspeed
    • Kimi Code available
  • Ultra

    $159/month

    billed annually at $1,908

    • 10x agent credits
    • Up to 1M tokens of context
    • Goal mode for autonomous work
    • Kimi Code available

Plans as listed on the official pricing page on . Prices can change and may vary by country or exclude tax. Check the official pricing page.

Kimi Code CLI alternatives

The main Kimi Code CLI alternatives listed on Debuly are Claude Code, Gemini CLI, Qwen Code, OpenCode, Aider and Augment Code. The table compares pricing and platforms; order is A–Z.

Kimi Code CLI compared with its alternatives
ToolPricingStarting pricePlatforms
Kimi Code CLIOpen source$15/moCLI, Desktop app, VS Code extension, API
AiderOpen source—CLI, Self-hosted, Web
Augment CodePaid$20/moCLI, Web, API
Claude CodePaid—macOS, Linux, Windows, Web
Gemini CLIOpen source—CLI, macOS, Linux, Windows
OpenCodeFreemium$10/moCLI, Web
Qwen CodeOpen source—CLI, macOS, Windows, Linux
  1. Aider

    Open-source AI pair programming tool that runs in your terminal and edits code in your local git repository using the LLM you choose.

  2. Augment Code

    Coding agent platform with a codebase Context Engine, Cosmos cloud agents and the Auggie CLI, priced as flat team plans plus usage.

  3. Claude Code

    Anthropic's coding agent that fixes bugs, writes tests and runs migrations from your terminal, IDE, desktop app, web or Slack.

  4. Gemini CLI

    Open-source command-line agent from Google that runs Gemini models in your terminal to read, edit and automate work in local projects.

  5. OpenCode

    Open-source AI coding agent for terminal, desktop and IDE, with optional low-cost Go model subscriptions and a team Console

  6. Qwen Code

    Free open-source coding agent from the Qwen team that runs in a terminal, IDE, desktop app or chat and works with many model providers.

Kimi Code CLI FAQ

How much does Kimi Code CLI cost?

Kimi Code is included with Kimi membership from Plus upward. The pricing page lists Plus at $15/month, Pro at $31/month, Max at $79/month and Ultra at $159/month, each with annual billing.

Is there a free plan for Kimi Code?

The Kimi help pages do not describe a free Kimi Code plan. The Go tier in the China price list has no coding quota, and Kimi Code starts at Plus.

What plans give access to Kimi Code?

New plans from Plus and above include Kimi Code. Legacy plans Andante and higher keep their Kimi Code access, and existing subscribers can stay on them.

What happens when I use up my Kimi Code quota?

You can wait for the credits to refresh, upgrade, or enable Extra Usage, a pay-as-you-go balance that is spent once the subscription quota is exhausted. A monthly spending cap can be set.

Can I use Kimi Code in other tools?

Yes. Subscribers can obtain an API key to use Kimi Code models in third-party tools, and the help pages say it is compatible with Claude Code, VS Code and similar agent tools.

What are alternatives to Kimi Code CLI?

Common alternatives include Claude Code, Codex CLI, Gemini CLI, Qwen Code and OpenCode.

Sources & verification

Facts on this page come from the official sources below, each with the date we read it. Written by Debuly; the vendor did not review this page.

Image credits

  • Logo: from kimi.com · fetched · Vendor trademark, used only to identify the product; removed on request
  • Cover: none collected yet, so a generated tile is shown.

Spot an error? Report an issue with this listing. We also remove a logo or image on the owner's request.