Moonshot AI logo

Kimi K2.7 Code

moonshotai/kimi-k2.7-code

improved long-horizon coding with vision.

cmd --model moonshotai/kimi-k2.7-code
Intelligence index
25.8
Coding index
60.8
Input
$0.95 /M
Output
$4 /M
Cache read
$0.19 /M
Agent-loop cost
$0.42 /M in
Context window
256K tokens
Released
June 12, 2026
Modalities
→

vs. the lineup

Kimi K2.7 Code beside its stablemates and nearest rivals. The ◆ marks the best value in each column across every row shown.

pin a rival:
ModelIntelligenceCodingInput $/MOutput $/MBlended $/MContext
MiMo V2.6 Pro46.3◆—$0.43$0.87$0.541.05M◆
Kimi K343.676.2◆$3$15$61M
Kimi K2.62761.8$0.95$4$1.71256K
Kimi K2.7 Code ◆25.860.8$0.95$4$1.71256K
Kimi K2.523.546.8$0.60$3$1.20256K
Kimi K2.7 Code HighSpeed——$1.90$8$3.42262K
DeepSeek V4 Pro (latest)pinned3668.8$0.66$1.98$0.991M
DeepSeek V4 Flash (latest)pinned3469.1$0.15◆$0.60◆$0.26◆1M

coding performance

The Intelligence Index and its sub-scores, ranked against every scored model in the catalog. A metric that has not been measured for Kimi K2.7 Code has been left empty.

Coding Index
60.8
#35 of 52 scored
Terminal-Bench
67.4
#34 of 52 scored
Intelligence Index
25.8
#53 of 68 scored
Long-context reasoning
79.3
reasoning across a long context
SciCode
47.8
scientific coding
GPQA Diamond
89.6
graduate-level QA

usage calculator

How far a month of credits goes on Kimi K2.7 Code.

Input tokensfresh prompt
800
Output tokensmodel reply
180
Cache read tokensre-read context
50K
cost / request $0.011 · in $0.95 · out $4 · cache $0.19 per M
fresh input 7%output 7%cache reads 87%
Requests / 30 days
820
$9 credits ÷ $0.011 per request
~164 quick fixes~33 bug fixes~5 feature PRs

what real work costs

Real coding tasks priced end to end on Kimi K2.7 Code, from a quick lookup to a full-repo agent run.

One agent task
$0.12
180K in at 75% cache hit, 12K out
What you pay
$0.61 /M
all-in across every token that task touched
Sticker input
$0.95 /M
cache reads bill at $0.19 /M instead
TaskTokens in · outKimi K2.7 CodeMiMo V2.6 ProClaude Haiku 4.5
Quick lookup / one-liner8K · 1K$0.0061$0.0012$0.0065
Review a 500-line PR60K · 4K$0.04$0.01$0.04
Fix a bug (agent loop)180K · 12K$0.12$0.03$0.12
Refactor a module320K · 20K$0.21$0.06$0.21
Full-repo agent run900K · 45K$0.50$0.13$0.49

frequently asked

How much does Kimi K2.7 Code cost?
$0.95/M input and $4/M output, cache reads $0.19/M. In an agent loop most input is cache-read, so the effective input rate is about $0.42/M.
Which plan do I need?
Available on Go and above.
How do I switch to it?
Run cmd --model moonshotai/kimi-k2.7-code, or type /model in a session and pick it. You can switch mid-session without losing context.

Ship code that matches your taste

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

Benchmarks from Artificial Analysis (v4.3)commandcode.ai/models/kimi-k2-7-code