Back to model catalog

Moonshot · Model guide

Kimi K2.7 Code

moonshot/kimi-k2.7-code
Modalities
TextImageText
Context
262K
Max output
262K
Kimi K2.7 Code

Kimi coding model for Coding / Agent work

Context window
256K
262,144 tokens
Default generation
32K
max_tokens default
HighSpeed
180
Tokens/s; 260 short-context
Long-horizon coding
More reliable instruction following in long contexts
Agent tasks
Chat, tool use, and multi-step execution
Multimodal input
Text, image, and video input

Officially positioned as Kimi's strongest coding model so far; K2.7 Code cannot disable thinking.

Overview

Kimi K2.7 Code is the model Kimi's developer docs now emphasize for Coding / Agent work. The official guide describes it as Kimi's strongest coding model so far: it follows instructions more reliably in long contexts, completes programming tasks with higher success rates, accepts text, image, and video input, and returns text for both chat and agent workflows.

Compared with Kimi K2.6, K2.7 Code concentrates the upgrade on long-horizon coding, autonomous agent execution, and interactive programming feel. Kimi also offers kimi-k2.7-code-highspeed: the same model served in a faster tier, with output speed roughly 5-6x the standard version, around 180 Tokens/s in typical coding contexts and up to 260 Tokens/s in short-context cases. CrossModel serves the standard API model id: kimi-k2.7-code.

Key capabilities

DimensionDetail
Context window262,144 tokens (~256K)
Default generation cap32,768 tokens (max_tokens default)
Input modalitiesText, image, video
Output modalitiesText
Toolsstreaming, JSON Mode, Partial Mode, ToolCalls, automatic context caching

K2.7 Code defaults to thinking and does not allow thinking to be disabled; requests that turn it off fail. temperature is fixed at 1.0 and top_p at 0.95. With tool use, tool_choice must be auto or none, and multi-step tool calls must preserve the previous assistant message's reasoning_content in context. Current pricing is in the model catalog.

Benchmarks

Kimi concentrates K2.7 Code's gains on coding and long-horizon engineering, not single-turn answer quality. The official benchmark chart also shows K2.6, GPT-5.5, and Opus 4.8 references; the direct K2.6 deltas below are the cleanest way to read the upgrade.

Coding Benchmarks

A clear lead over K2.6 on the coding axis

Kimi Code Bench v2
62.0
+21.8% (50.9 → 62.0)
Program Bench
53.6
+11.0% (48.3 → 53.6)
MLS Bench Lite
35.1
+31.5% (26.7 → 35.1)

All comparisons are official K2.7 Code vs K2.6 numbers.

Against K2.6, K2.7 Code rises from 50.9 to 62.0 (+21.8%) on Kimi Code Bench v2, from 48.3 to 53.6 (+11.0%) on Program Bench, and from 26.7 to 35.1 (+31.5%) on MLS Bench Lite. All three are programming-focused measurements, so the advantage maps most directly to writing code, editing code, and sustaining engineering work over long contexts.

Agentic capability and HighSpeed

Agent & HighSpeed

Steady agent gains, lower wait time on the fast tier

Kimi Claw 24/7
46.9
+9.3% (42.9 -> 46.9)
MCP Atlas
76.0
+9.5% (69.4 -> 76.0)
MCP Mark Verified
81.1
+11.4% (72.8 -> 81.1)
HighSpeed
180
Tokens/s; 260 short-context

Agent comparisons come from the official benchmark chart; HighSpeed is the same model as the standard tier.

On the agentic axis, K2.7 Code also improves steadily over K2.6: Kimi Claw 24/7 Bench 42.9 -> 46.9, MCP Atlas 69.4 -> 76.0, and MCP Mark Verified 72.8 -> 81.1, putting the gains in roughly the 9% to 11% range. For coding agents, these measurements matter more than single-shot code completion because they test stability across tools, context, and multi-step execution.

The HighSpeed version addresses a different need: lower waiting time when cost is less important than interaction speed. Kimi describes it as the same model as the standard K2.7 Code, running around 180 Tokens/s in typical coding contexts and up to 260 Tokens/s in short-context cases. CrossModel's current standard detail page is for kimi-k2.7-code.

When to use it

  • Long-horizon software engineering: cross-file edits, refactors, DevOps, and debugging that need multi-step planning and tool calls
  • Agentic coding: the plan / edit / run-tests / read-logs / self-correct loop inside an IDE or CLI agent
  • Multimodal development input: feed screenshots, design mocks, and video clips with text requirements to generate or repair front-end code
  • Interactive programming: use the standard model for cost control, and the high-speed tier when turn latency matters more

The CrossModel gateway already serves Kimi K2.7 Code through the OpenAI-compatible /v1/chat/completions interface. Current pricing is in the model catalog.