Kimi K2.7 Code
TL;DR
Open-sourceOpen-source long-horizon coding with vision — the newest Kimi K2 code model.
Available on
Open-source models are available on every plan, including Go ($1/mo).
Switch with
Pick Kimi K2.7 Code from the selector.
Intelligence Index
Kimi K2.7 Code vs the Moonshot AI lineup
Kimi K2.6
Kimi K2.7 Code
Kimi K2.5
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.
| Spec | Kimi K2.7 Code |
|---|---|
| Context window | 256K tokens |
| Input modalities | text + images |
| Reasoning | Yes |
| Release date | 2026-06-12 |
| Minimum plan | Go |
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.
| Model | Intelligence | Coding | Speed | Input $/M | Output $/M | Blended $/M | Context |
|---|---|---|---|---|---|---|---|
| Claude Fable 5 | 59.9 | 76.5 | ~62 tok/s | $10.00 | $50.00 | $20 | 1M |
| MiMo V2.5 Pro | 42.2 | 60.2 | ~56 tok/s | $0.435 | $0.87 | $0.5438 | 1M |
| Kimi K2.7 Code (this page) | 41.9 | 60.8 | ~46 tok/s | $0.95 | $4.00 | $1.7125 | 256K |
| Tencent Hy3 | 41.2 | 58.8 | ~58 tok/s | $0.00 | $0.00 | free | 262K |
| DeepSeek V4 Flash | 40.3 | 56.2 | ~106 tok/s | $0.14 | $0.28 | $0.175 | 1M |
| GLM-5.1 | 40.2 | 55.8 | ~81 tok/s | $1.40 | $4.40 | $2.15 | 200K |
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 tokens | Input | Output | Cache 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.
| Plan | Price/mo | LLM credits | Models |
|---|---|---|---|
| Go | $1 | $10 | Open-source only |
| Pro | $15 | $30 | Open-source + premium |
| Provider | $15 | Pay as you go | Open-source + premium |
| Max 10× | $100 | $150 | Open-source + premium |
| Max 20× | $200 | $300 | Open-source + premium |
| Teams Pro | $40 / seat | $40 / seat | Open-source + premium |
| Enterprise | Custom | Custom | Custom 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 CodeAll 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.
| Model | Tier | Intelligence Index | Output speed |
|---|---|---|---|
| Claude Fable 5 | Premium | 59.9 | ~62 tok/s |
| GPT-5.6 Sol | Premium | 58.9 | ~77 tok/s |
| Claude Opus 4.8 | Premium | 55.7 | ~55 tok/s |
| GPT-5.6 Terra | Premium | 55 | ~155 tok/s |
| GPT-5.5 | Premium | 54.8 | ~81 tok/s |
| Grok 4.5 | Open-source | 53.8 | ~114 tok/s |
| Claude Opus 4.7 | Premium | 53.5 | ~52 tok/s |
| Claude Sonnet 5 | Premium | 53.4 | ~79 tok/s |
| GPT-5.4 | Premium | 51.4 | ~164 tok/s |
| GPT-5.6 Luna | Premium | 51.2 | ~234 tok/s |
| GLM-5.2 | Open-source | 51.1 | ~208 tok/s |
| Muse Spark 1.1 | Premium | 50.6 | ~130 tok/s |
| Gemini 3.5 Flash | Premium | 50.2 | ~236 tok/s |
| Claude Sonnet 4.6 | Premium | 47.2 | ~55 tok/s |
| Qwen 3.7 Max | Open-source | 46 | ~196 tok/s |
| MiniMax M3 | Open-source | 44.4 | ~113 tok/s |
| DeepSeek V4 Pro | Open-source | 44.3 | ~62 tok/s |
| GPT-5.3 Codex | Premium | 44.3 | ~106 tok/s |
| Kimi K2.6 | Open-source | 44.2 | ~43 tok/s |
| MiMo V2.5 Pro | Open-source | 42.2 | ~56 tok/s |
| Kimi K2.7 Code (this page) | Open-source | 41.9 | ~46 tok/s |
| Tencent Hy3 | Open-source | 41.2 | ~58 tok/s |
| DeepSeek V4 Flash | Open-source | 40.3 | ~106 tok/s |
| GLM-5.1 | Open-source | 40.2 | ~81 tok/s |
| Qwen 3.6 Max Preview | Open-source | 40 | ~46 tok/s |
| GPT-5.4 Mini | Premium | 40 | ~171 tok/s |
| Qwen 3.6 Plus | Open-source | 39.6 | ~53 tok/s |
| GLM-5 | Open-source | 39.5 | ~51 tok/s |
| Qwen 3.7 Plus | Open-source | 39 | ~52 tok/s |
| Kimi K2.5 | Open-source | 38.1 | ~51 tok/s |
| MiniMax M2.7 | Open-source | 38.1 | ~49 tok/s |
| Nemotron 3 Ultra | Open-source | 37.8 | ~204 tok/s |
| MiMo V2.5 | Open-source | 37.2 | ~88 tok/s |
| MiniMax M2.5 | Open-source | 33.7 | ~78 tok/s |
| Step 3.7 Flash | Open-source | 30.3 | ~407 tok/s |
| Step 3.5 Flash | Open-source | 26 | ~207 tok/s |
| Gemini 3.1 Flash Lite | Premium | 25 | ~300 tok/s |
| Claude Haiku 4.5 | Premium | 23.7 | ~103 tok/s |
| Kimi K3 | Open-source | Not yet scored | — |
| Kimi K2.7 Code HighSpeed | Open-source | Not yet scored | — |
| GLM-5.2 Fast | Open-source | Not yet scored | — |
| Inkling | Open-source | Not yet scored | — |
| Fugu Ultra | Premium | Not 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
- Kimi K2.6 in Command Codelong-horizon coding with vision
- Kimi K2.5 in Command Codemultimodal frontend coding
- Kimi K2.7 Code HighSpeed in Command Codehigh-speed long-horizon coding with vision
- MiMo V2.5 Pro in Command Codehigh-capability long-context agentic coding
- Every model, one referenceThe docs list of all Command Code models with ids and context windows.
- Pricing, limits, and dealsThe canonical price table, running deals, and usage estimates.
Ship code that matches your taste
Command Code is the AI coding agent that continuously learns your taste. Start for $1.