Try Kimi at kimi.com →

Kimi Code

Kimi Code is Moonshot AI's coding helper. It works inside your own project: it reads your files, plans a change, edits the code and runs the tests, asking you before it acts. You can use it in the terminal, in VS Code, or through other coding tools. It comes with paid Kimi memberships. This page explains what you get, the limits and how to begin.

Terminal and VS CodeIncluded in paid plans
Kimi Code TerminalVS CodeOther tools What it does with a task ReadPlanEditTest It asks before it changes a file or runs a command.

One membership, three places to use it.

We are an independent guide. Kimi Code is made by Moonshot AI. We are not affiliated with them and we do not host its installer. This page follows Kimi's own documentation and help centre as read on 8 October 2026. Limits and plans change, so check kimi.com/code.
QUICK ANSWER

The short version

  1. 1

    What it is

    An AI coding helper that works in your project folder, not just in a chat box.

  2. 2

    What you need

    A paid Kimi membership. The free plan does not include it.

  3. 3

    The main limit

    Roughly 300 to 1,200 requests in any 5 hours, plus a weekly quota.

BASICS

What Kimi Code is

When you ask a chatbot for code, you copy the answer into your project yourself. Kimi Code skips that step. You start it inside your project folder, describe what you want in plain words, and it works on the real files.

Kimi's documentation describes it as an AI programming service that is part of Kimi membership and runs on Kimi's top models. As Moonshot releases better models, Kimi Code moves to them.

It reads

It searches your project to understand how the pieces fit together.

It writes

It edits code across several files and shows you each change.

It runs

It can run commands and tests, then fix what fails.

OPTIONS

Three places to use it

The main tool

In the terminal

The Kimi Code command-line tool. You type kimi in your project folder and chat with it there.

  • Mac, Linux and Windows
  • Sign in with your Kimi account
  • Windows needs Git for Windows first
Point and click

In VS Code

The Kimi Code extension adds a panel inside the editor, so you never leave your code.

  • Install from the Extensions marketplace
  • Sign in from the side panel
  • JetBrains IDEs and Zed can connect through the terminal tool
Bring your own

In other coding tools

Members can create a key and use Kimi Code's models in tools they already like.

  • Claude Code, Roo Code, OpenCode
  • OpenClaw, Hermes and Trae
  • Up to 5 keys, each shown only once

From Kimi's Kimi Code documentation and help centre. JetBrains and Zed connect using a standard called ACP, which lets an editor talk to a coding agent.

ABILITIES

What Kimi Code can do

Explain a project

Ask how an unfamiliar codebase is organised and where to make a change.

Fix bugs

Point it at a failing test. It finds the cause, fixes it and runs the test again.

Add features

Describe the feature. It plans the work, edits the files and adds tests.

Build from a picture

Paste a screenshot of a design and ask it to build the page.

Think harder

Switch on thinking for difficult problems, on models that support it.

Choose the model

The /model command switches model. Moonshot says Kimi K3 can be selected this way.

The models behind it: Kimi K2.7 Code · Kimi K3. Related: Visual Coding · Design to Code

SAFETY

Plan mode: look before it leaps

Plan mode is the feature that makes Kimi Code safe to learn with. In Plan mode it can only read. It cannot change a file or run a command. It writes a plan and waits for you.

  • Press Shift + Tab to switch it on or off, or type /plan.
  • Read the plan. Approve it, ask for changes, or reject it.
  • Nothing is edited until you approve.
A good habit: use Plan mode for anything bigger than a one-line change. Reading a plan takes a minute. Undoing a wrong change takes longer.
Keep a way back. Save your work with Git, or copy the folder, before you let any AI tool edit it.
PLANS

Plans and limits

Kimi Code is included with paid Kimi memberships. Usage is limited in a few ways at once.

300 to 1,200requests in any 5-hour window, roughly
30requests at the same time, at most
Weeklyquota. It resets every 7 days and unused quota is lost
5keys for other tools, at most
PlanPrice a monthKimi Code
AdagioFreeNot included
Moderato$19Included
Allegretto$39More usage, plus HighSpeed
Allegro$99More usage again
Vivace$199The highest limits

On a small screen, swipe the table sideways to see every column.

The limits above are from Kimi's documentation, which gives one range and does not break it down by plan. The plan table follows our pricing pages and should be confirmed on kimi.com. More: Kimi AI pricing · Is Kimi AI free?

KEYS

Two kinds of key: do not mix them up

Kimi has two separate developer services. They use different addresses, different keys and different billing. Using the wrong pair is a common cause of "invalid key" errors.

Kimi Code keyKimi Platform API key
Made forCoding toolsBuilding Kimi into your own product
How you payIncluded in your membership quotaPer token, from a balance you top up
Addressapi.kimi.com/coding/v1api.moonshot.ai/v1
Model namekimi-for-codingkimi-k3, kimi-k2.7-code, kimi-k2.6
Where you create itIn your Kimi Code consoleOn platform.kimi.ai

On a small screen, swipe the table sideways to see every column.

The terminal tool accepts either: at sign-in you choose a Kimi Code membership or a Kimi Platform API key. More: API vs subscription · K2.7 Code API · Kimi API setup

RULES

Rules to know

GET STARTED

How to start

  1. 1

    Get a paid plan

    Or have a Kimi Platform API key ready if you prefer to pay per use.

  2. 2

    Install it

    Copy the install line for your system from Kimi's official Kimi Code documentation.

  3. 3

    Start and sign in

    Go to your project folder, run kimi, then type /login.

  4. 4

    Ask it to explain

    Start with a read-only request, such as "explain how this project is organised".

Install only from Kimi's official pages. Install commands download and run a script on your computer. Take them from kimi.com or code.kimi.com, and check the address before you press Enter. We do not host the installer.

More on coding with Kimi: Kimi for coding · Kimi Code with K2.5 · fix common problems

DECIDE

Is Kimi Code right for you?

A good fit if you

  • Write code most days
  • Want one fixed monthly price
  • Are comfortable in a terminal or VS Code
  • Already use a tool such as Claude Code or Roo Code

Look elsewhere if you

  • Do not code. Try the Website Builder
  • Only need an occasional snippet. Free chat is enough
  • Are building a product. Use the Kimi API
  • Cannot send your code to an outside service
FAQ

Kimi Code questions

Kimi Code is Moonshot AI's coding service, included with paid Kimi memberships. It comes as a terminal tool and a VS Code extension, and members can also create a key to use its models in other coding tools.

No. Kimi Code is part of paid Kimi memberships and is not covered by the free plan. Developers who prefer pay-as-you-go can sign in to the terminal tool with a Kimi Platform API key instead.

Kimi's documentation gives roughly 300 to 1,200 requests in any 5-hour window and up to 30 requests at once, plus a weekly quota that does not roll over. All your devices and keys share the same quota.

Yes. There is a Kimi Code extension for VS Code. JetBrains IDEs and Zed connect through the terminal tool using a standard called ACP.

No. The Kimi Code key is for coding tools. For building Kimi into a product, Moonshot points you to the Kimi Platform API, which is billed per use.

A faster option that needs the Allegretto plan or higher. Kimi's help centre says it uses about three times the credits of the standard option.
NEXT

Related guides

Get Kimi Code from the official site

Plans, the installer and your keys are on Moonshot AI's own site. We are an independent guide and do not offer sign-in or downloads here.