Models

Kimi K2.7 Code

TL;DR

Open-source

Open-source long-horizon coding with vision — the newest Kimi K2 code model.

Available on

GoProProviderMax 10×Max 20×Teams ProEnterprise

Open-source models are available on every plan, including Go ($1/mo).

Switch with

/model

Pick Kimi K2.7 Code from the selector.

Intelligence Index

Kimi K2.7 Code vs the Moonshot AI lineup

41.9

Kimi K2.6

44.2

Kimi K2.7 Code

41.9

Kimi K2.5

38.1

Speed

~46

tokens / sec

Input

$0.95

per M tokens

Output

$4

per M tokens

Kimi K2.7 Code in Command Code

Kimi K2.7 Code is Moonshot AI's open-source model — improved long-horizon coding with vision. It runs in Command Code with a 256K-token context window, switchable any time with /model.

It scores 41.9 on the Intelligence Index — #21 of the 38 scored models in the Command Code lineup.

Kimi K2.7 Code specs at a glance

What Kimi K2.7 Code accepts, how much it can hold in context, and what you need to run it.

SpecKimi K2.7 Code
Context window256K tokens
Input modalitiestext + images
ReasoningYes
Release date2026-06-12
Minimum planGo

Kimi K2.7 Code vs the Command Code lineup

Kimi K2.7 Code alongside its nearest real alternatives in the lineup — every price straight from the billing tables.

ModelIntelligenceCodingSpeedInput $/MOutput $/MBlended $/MContext
Claude Fable 559.976.5~62 tok/s$10.00$50.00$201M
MiMo V2.5 Pro42.260.2~56 tok/s$0.435$0.87$0.54381M
Kimi K2.7 Code (this page)41.960.8~46 tok/s$0.95$4.00$1.7125256K
Tencent Hy341.258.8~58 tok/s$0.00$0.00free262K
DeepSeek V4 Flash40.356.2~106 tok/s$0.14$0.28$0.1751M
GLM-5.140.255.8~81 tok/s$1.40$4.40$2.15200K

What Kimi K2.7 Code is best for

Kimi K2.7 Code earns its slot in the lineup for everyday coding sessions, long agent loops.

  • Everyday coding sessions — pick Kimi K2.7 Code from /model and it applies to the session.
  • Long agent loops — pick Kimi K2.7 Code from /model and it applies to the session.

When to switch away from Kimi K2.7 Code

No single model wins every task. These are Kimi K2.7 Code's computed nearest alternatives — one step up, one step down in cost, one for speed, one from the same family — each switchable mid-session with /model.

Switch to MiMo V2.5 Pro

MiMo V2.5 Pro scores 42.2 on the Intelligence Index to Kimi K2.7 Code's 41.9 — the nearest genuine step up — at $0.5438 blended per million tokens versus $1.7125. Reach for it when a task keeps hitting Kimi K2.7 Code's ceiling.

Switch to MiniMax M3

MiniMax M3 runs about 77% cheaper blended ($0.3938 versus $1.7125 per million tokens) while scoring 44.4 on the Intelligence Index. Switch down for high-volume work where Kimi K2.7 Code's edge isn't earning its rate.

Switch to GPT-5.4 Mini

GPT-5.4 Mini streams ~171 tokens/sec to Kimi K2.7 Code's ~46 at a comparable blended cost ($1.6875 per million tokens). Use it when iteration speed matters more than squeezing out the last point of quality.

Switch to Kimi K2.6

Kimi K2.6 is the nearest Moonshot AI sibling — same house style, different price point ($1.7125 versus $1.7125 blended per million tokens). The natural swap when you want to stay in the family.

What you pay for Kimi K2.7 Code

Kimi K2.7 Code is billed per token at the rates below — the same billing tables the Usage page charges against, so this page cannot quote a different price than you pay.

Blended cost (3:1 input:output, the shape of a typical coding session) works out to $1.7125 per million tokens.

Per 1M tokensInputOutputCache read
All requests$0.95$4.00$0.19

In Command Code: caching and taste-1

Open-source models are routed across multiple upstream providers for high availability. The price you see is the mean per-provider rate; the Usage page reflects what was actually charged.

Where supported by the upstream, prompt caching is on by default — cache reads are billed at $0.19 per million tokens versus $0.95 for fresh input.

taste-1 sits between the model and the agent loop, rewriting and reranking candidate edits to match your codebase conventions.

Plan availability

Kimi K2.7 Code is an open-source model, available on every plan including Go.

Command Code is a subscription with model usage at API rates. Each plan ships with monthly LLM credits; credits roll over and never expire, and auto top-up keeps you running if you go over.

PlanPrice/moLLM creditsModels
Go$1$10Open-source only
Pro$15$30Open-source + premium
Provider$15Pay as you goOpen-source + premium
Max 10×$100$150Open-source + premium
Max 20×$200$300Open-source + premium
Teams Pro$40 / seat$40 / seatOpen-source + premium
EnterpriseCustomCustomCustom pool, SSO, audit logs

Switching models with /model

In an interactive Command Code session, run /model to open the model selector. Pick Kimi K2.7 Code and it applies to this session and to future sessions until you change it again. Premium models require Pro or higher; open-source models are available on every plan, including Go.

cmd               # start an interactive session
/model            # open the selector and pick Kimi K2.7 Code

All Command Code models, ranked by quality and speed

Quality is the Intelligence Index — an aggregate score across reasoning, math, coding, and knowledge evaluations. Speed is measured output tokens per second. Models without a published score are noted. This table is regenerated from the model registry, so it is always current.

ModelTierIntelligence IndexOutput speed
Claude Fable 5Premium59.9~62 tok/s
GPT-5.6 SolPremium58.9~77 tok/s
Claude Opus 4.8Premium55.7~55 tok/s
GPT-5.6 TerraPremium55~155 tok/s
GPT-5.5Premium54.8~81 tok/s
Grok 4.5Open-source53.8~114 tok/s
Claude Opus 4.7Premium53.5~52 tok/s
Claude Sonnet 5Premium53.4~79 tok/s
GPT-5.4Premium51.4~164 tok/s
GPT-5.6 LunaPremium51.2~234 tok/s
GLM-5.2Open-source51.1~208 tok/s
Muse Spark 1.1Premium50.6~130 tok/s
Gemini 3.5 FlashPremium50.2~236 tok/s
Claude Sonnet 4.6Premium47.2~55 tok/s
Qwen 3.7 MaxOpen-source46~196 tok/s
MiniMax M3Open-source44.4~113 tok/s
DeepSeek V4 ProOpen-source44.3~62 tok/s
GPT-5.3 CodexPremium44.3~106 tok/s
Kimi K2.6Open-source44.2~43 tok/s
MiMo V2.5 ProOpen-source42.2~56 tok/s
Kimi K2.7 Code (this page)Open-source41.9~46 tok/s
Tencent Hy3Open-source41.2~58 tok/s
DeepSeek V4 FlashOpen-source40.3~106 tok/s
GLM-5.1Open-source40.2~81 tok/s
Qwen 3.6 Max PreviewOpen-source40~46 tok/s
GPT-5.4 MiniPremium40~171 tok/s
Qwen 3.6 PlusOpen-source39.6~53 tok/s
GLM-5Open-source39.5~51 tok/s
Qwen 3.7 PlusOpen-source39~52 tok/s
Kimi K2.5Open-source38.1~51 tok/s
MiniMax M2.7Open-source38.1~49 tok/s
Nemotron 3 UltraOpen-source37.8~204 tok/s
MiMo V2.5Open-source37.2~88 tok/s
MiniMax M2.5Open-source33.7~78 tok/s
Step 3.7 FlashOpen-source30.3~407 tok/s
Step 3.5 FlashOpen-source26~207 tok/s
Gemini 3.1 Flash LitePremium25~300 tok/s
Claude Haiku 4.5Premium23.7~103 tok/s
Kimi K3Open-sourceNot yet scored
Kimi K2.7 Code HighSpeedOpen-sourceNot yet scored
GLM-5.2 FastOpen-sourceNot yet scored
InklingOpen-sourceNot yet scored
Fugu UltraPremiumNot yet scored

Frequently asked questions

Kimi K2.7 Code or MiMo V2.5 Pro?

MiMo V2.5 Pro scores higher on the Intelligence Index (42.2 vs 41.9) at $0.5438 blended per million tokens against Kimi K2.7 Code's $1.7125. Default to Kimi K2.7 Code and switch up when a task keeps stalling.

Kimi K2.7 Code or MiniMax M3?

MiniMax M3 is about 77% cheaper blended ($0.3938 vs $1.7125 per million tokens), scoring 44.4 on the Intelligence Index. Use MiniMax M3 for volume work and Kimi K2.7 Code where its edge earns the difference.

How much does Kimi K2.7 Code cost in Command Code?

$0.95 per million input tokens and $4.00 per million output tokens, with cache reads at $0.19. In an agent loop, cached context brings effective input to roughly $0.418 per million tokens.

What plan do I need for Kimi K2.7 Code?

Kimi K2.7 Code is available on every plan, including Go at $1/mo.

How good is Kimi K2.7 Code at coding?

Kimi K2.7 Code scores 60.8 on the Coding Index — the Artificial Analysis sub-score most predictive of coding-agent performance — alongside 41.9 overall.

Does Kimi K2.7 Code support image input and reasoning?

Yes — Kimi K2.7 Code accepts image input alongside text. It supports reasoning.

Which Command Code model should I use?

Claude Fable 5 currently leads the lineup on the Intelligence Index (59.9). Grok 4.5 (53.8) leads the open-weights tier, available on every plan. For fast lookups, Step 3.7 Flash streams ~407 tok/s. There is no single right answer — switch per session with /model and let the task pick the model.

Can I mix Kimi K2.7 Code with other models in a workflow?

Yes. Switch per session using /model. Common pattern: keep a default model and switch up for hard problems or down for quick lookups as the task calls for it.

Are open-source model prices fixed?

Open-source models are routed across multiple upstream providers for high availability. The price listed for each is the mean per-provider rate. Actual cost on a given request may vary slightly. The Usage page reflects the price charged.

Kimi K2.7 Code or K2.6?

K2.7 Code is the newer iteration with improved long-horizon coding and vision. K2.6 has a published Intelligence Index (54). Both are $0.95 input; switch with /model.

Why no Intelligence Index for K2.7 Code?

Public aggregate benchmarks have not yet been published for K2.7 Code in the current Intelligence Index format. The model is available and routed normally.

Is Command Code free to try?

The Go plan starts at $1/mo with $10 in LLM credits. It covers open-source models only. Pro at $15/mo unlocks premium models with $30 in LLM credits.

Does Command Code train on my code?

No. Command Code does not train on your code or store your code snippets. taste-1 data is stored locally in your project directory.

Where can I track my usage?

The Usage page in Studio shows per-request cost, token counts, and which model ran. Settings > Billing lets you change plans, buy credits, or enable auto top-up.

Does Command Code replace my editor?

No. Command Code is editor-agnostic — it runs as a CLI and works alongside any editor (Cursor, VS Code, Zed, JetBrains, Neovim, etc.).

Related reading

Ship code that matches your taste

Command Code is the AI coding agent that continuously learns your taste. Start for $1.