Hands-on Review

Kimi K2.7 Code Review: Tested vs the Hype

Moonshot AI just shipped Kimi K2.7 Code — an open-weights, 1-trillion-parameter coding model it calls its most capable to date. The launch numbers look strong, but every one of them is self-reported, and as of this writing not a single independent leaderboard has scored it. So I read the fine print and ran the model on real coding tasks myself. Here is what holds up, what doesn't, and what to actually use today.

Kimi K2.7 Code review — open-weights coding model tested vs Qwen3 Coder, with benchmark fine print

The short version

How this review is sourced. Specs, pricing and the benchmark table are quoted from Moonshot's own Hugging Face model card and kimi.com, verified directly. The hands-on numbers are from my own runs via OpenRouter on June 15, 2026, with every output executed against a test suite. First-party claims are labelled as such.

What Kimi K2.7 Code actually is

Kimi K2.7 Code launched around June 12–15, 2026 as the coding-specialized successor to Kimi K2.6. It is not a general chat model — Moonshot positions it squarely for long-horizon software engineering: multi-file implementation, multi-step tool use and agentic workflows, refactoring, debugging, and long-context code understanding. Two headline efficiency claims: roughly 10% better agentic performance and about 30% fewer "thinking tokens" than K2.6.

SpecKimi K2.7 Code
TypeOpen-weights agentic coding model (Modified MIT license)
Architecture1T total / 32B active params · MoE (384 experts, 8+1 per token) · vision encoder · INT4
Context window256K tokens
Built onKimi K2.6
Price — Moonshot API$0.19 cache-hit / $0.95 input · $4.00 output (per 1M)
Price — OpenRouter$0.75 input / $3.50 output (per 1M)
AccessMoonshot API · Kimi Code CLI · OpenRouter · self-host (vLLM / SGLang)

The open weights matter. Under the Modified MIT license you can self-host and fine-tune freely; the only added condition is an attribution clause that kicks in at large scale (products above 100M monthly active users or US$20M monthly revenue must show the model's name in the UI). For most teams, that's effectively MIT. The price is the other headline: even on OpenRouter's $0.75 / $3.50, it's a fraction of a frontier model's cost.

The benchmarks — read the fine print

Here is Moonshot's published comparison, exactly as it appears on the model card. Higher is better. The competitor columns are GPT-5.5 and Claude Opus 4.8.

Benchmark (Moonshot's own)K2.7 CodeK2.6GPT-5.5Opus 4.8
Kimi Code Bench v262.050.969.067.4
Program Bench53.648.369.163.8
MLS Bench Lite35.126.735.542.8
Kimi Claw 24/7 Bench46.942.952.850.4
MCP Atlas76.069.479.481.3
MCP Mark Verified (tool use)81.172.892.976.4

Two things jump out. First, the generation-over-generation gains are real and large: +21.8% on Kimi Code Bench v2, +11.0% on Program Bench, +31.5% on MLS Bench Lite versus K2.6. Second — and this is what the marketing skips — on Moonshot's own numbers, K2.7 Code trails both GPT-5.5 and Opus 4.8 on five of six benchmarks. The single exception is MCP Mark Verified (tool use), where it edges Opus 81.1 to 76.4. The "beats Opus" headlines you may have seen rest entirely on that one cell.

Two cautions before you trust any number here. (1) These are all proprietary, in-house benchmarks — "Kimi Code Bench," "Program Bench," etc. — not public, reproducible suites like SWE-bench Verified or LiveCodeBench. A model graded on its maker's own test, as one practitioner put it, will tend to "improve double digits on its own test suite." (2) As of mid-June 2026, K2.7 Code is absent from every independent leaderboard I checked — it is not listed on vals.ai's SWE-bench board, lmcouncil, or Artificial Analysis. The widely-shared "89% on SWE-bench Verified" claim has no verifiable source and contradicts the primary materials — don't repeat it.

So I ran it myself

Benchmarks I can't reproduce don't tell me much. So I gave K2.7 Code three small but objective coding tasks and, crucially, executed every answer against a hidden test suite — pass or fail, no judgment calls. For contrast I ran the identical prompts through Qwen3 Coder Next, another cheap open coding model (and one that's already on the gateway). All runs were via OpenRouter, temperature 0.

The three tasks: (1) debug a broken parse_duration function so it handles multi-unit strings and rejects invalid input; (2) implement to spec a top_k_frequent_words with a non-standard "break ties by first appearance" rule designed to defeat memorized LeetCode answers; (3) refactor an O(n·k) function to O(n) while preserving exact behavior.

✓ Correctness verified by running the code

TaskTest casesKimi K2.7 CodeQwen3 Coder Next
Debug parse_duration1313 / 1313 / 13
Implement top_k_frequent_words66 / 66 / 6
Refactor to O(n)1010 / 1010 / 10
Total correctness2929 / 2929 / 29

Both nailed all 29 cases. Both wrote clean, idiomatic code and handled the edge cases (empty input, k <= 0, the tie-break twist). On the debug task, K2.7 Code reached for a tidy guard — a single re.fullmatch to reject malformed strings before parsing:

# Kimi K2.7 Code — unedited output, task 1 (debug). Passed all 13 cases.
import re
def parse_duration(s: str) -> int:
    if not re.fullmatch(r"(?:\d+[hms])*", s):
        raise ValueError(f"Invalid duration string: {s!r}")
    mult = {"h": 3600, "m": 60, "s": 1}
    total = 0
    for num, unit in re.findall(r"(\d+)([hms])", s):
        total += int(num) * mult[unit]
    return total

So correctness was a tie. The difference showed up in cost, speed, and how hard each model "thought":

On the same 3 tasksKimi K2.7 CodeQwen3 Coder Next
Total cost (measured)$0.0071$0.0007
Average latency15.9 s2.2 s
Hidden reasoning tokens1,2950

K2.7 Code's always-on thinking mode burned 1,295 reasoning tokens across three routine tasks — roughly 10× the cost and 7× the wall-clock of a model that got the same answers without any visible deliberation. On problems this size, the thinking was overhead, not advantage.

What this probe does and doesn't show. Three single-shot, objective tasks are enough to confirm K2.7 Code writes correct, clean code and follows a tricky spec — and to show its thinking is expensive on easy work. They are not a test of its actual design target: long-horizon, multi-file, tool-using agentic sessions, where deliberation may genuinely pay off. I'd treat this as a sanity check, not a verdict on agentic coding — for which, see the independent reports below.
Our hands-on: average latency (both scored 29/29) 3 coding tasks, executed via OpenRouter, June 2026Kimi K2.7 Code15.9sQwen3 Coder Next2.2s
Chart: DataLLM Lab — our own executed runs. Both passed 29/29; K2.7 Code's always-on thinking made it ~7× slower and ~10× pricier for the same answers.

What independent testers are finding

Beyond my own runs, the genuinely independent signal is still thin (the model is days old), but it's consistent:

Notably, my single-shot probe did not reproduce the "over-refactoring" complaint — K2.7's output was lean and on-spec. That behavior seems to surface in autonomous, multi-step agent loops, not one-shot prompts. Plan accordingly: supervise it on long tasks.

Compare coding models on your own prompts

Kimi K2.6, Qwen3 Coder Next, Claude Opus 4.7, GPT-5.4 and 300+ more — one OpenAI-compatible key, with live price comparison so you can see exactly what each run costs.

What to use today (and where K2.7 fits)

K2.7 Code isn't on DataLLM Lab yet — but several strong coding models are. Here's the lineup, with live prices from the pricing page, plus K2.7 Code for reference:

ModelProfileContextPrice (in / out, per 1M)On DataLLM Lab
Qwen3 Coder NextCheapest competent open coder262K$0.11 / $0.80Yes
Kimi K2.6Open, general + coding (K2.7's base)262K$0.68 / $3.41Yes
DeepSeek V3.2Cheap, fast all-rounder131K$0.23 / $0.34Yes
Claude Opus 4.7Best planning & instruction-following1M$5 / $25Yes
GPT-5.4Strong all-round frontier1.1M$2.50 / $15Yes
Kimi K2.7 CodeNew open agentic coder256K$0.75 / $3.50 (OpenRouter)Not yet

Gateway prices read from DataLLM Lab on June 15, 2026. K2.7 Code price is OpenRouter's listed rate.

Should you use Kimi K2.7 Code?

Good fit Reach for it when…

  • You want a cheap, open-weights coding model you can self-host or fine-tune.
  • The work is agentic and long-context — multi-file refactors, tool-using sessions — and you can supervise it.
  • You're already on K2.6 and want a drop-in upgrade for coding specifically.

Look elsewhere Skip it when…

  • You need top-tier planning and instruction-following — Opus 4.7 still leads, by both independent reports and my own experience.
  • You want the lowest cost per correct answer on routine tasks — Qwen3 Coder Next matched it for ~10× less here.
  • You need verified, reproducible benchmarks before committing — they don't exist for K2.7 Code yet.

The honest bottom line: Kimi K2.7 Code is a real, useful, low-cost open coding model and a clear improvement over K2.6 — but the "strongest coding model" framing rests on self-graded benchmarks where it still trails the frontier, and on independent evidence that doesn't exist yet. Treat the launch numbers as a hypothesis, not a result, and test it on your own code before you trust it. That's exactly what one API key across every model is for.

FAQ

Is Kimi K2.7 Code open source?

It's open-weights under a Modified MIT License. The terms are standard MIT plus one clause: products or services above 100M monthly active users or US$20M monthly revenue must display "Kimi K2.7 Code" in the UI. The weights are on Hugging Face.

Is Kimi K2.7 Code better than Claude Opus or GPT-5.5?

On Moonshot's own published benchmarks it trails both GPT-5.5 and Claude Opus 4.8 on every test except one tool-use benchmark (MCP Mark Verified, 81.1 vs Opus 76.4). There are no independent scores yet. In my hands-on probe it matched a far cheaper coder on correctness while costing and taking more.

How much does Kimi K2.7 Code cost?

Moonshot's API: $0.19/M cache-hit, $0.95/M input, $4.00/M output. OpenRouter: $0.75/M input, $3.50/M output. The two storefronts quote different rates, so check both for your usage pattern.

Did it really score 89% on SWE-bench Verified?

There's no verifiable source for that number. K2.7 Code doesn't appear on any independent SWE-bench leaderboard as of mid-June 2026, and Moonshot's release uses proprietary benchmarks, not SWE-bench. Treat the 89% claim as unverified.

Is Kimi K2.7 Code on DataLLM Lab?

Not yet. The closest open coders available now are Kimi K2.6 and Qwen3 Coder Next; for premium planning, Claude Opus 4.7 and GPT-5.4. You can call K2.7 Code today via OpenRouter or Moonshot's API.

What is Kimi K2.7 Code best at?

Long-horizon, agentic software work — multi-file edits, tool use, refactoring, long-context understanding — at a low price with open weights. Independent testers note it can over-refactor or drift in autonomous loops, so supervise it on long tasks.

Written by
Kevin Fan

Founder of DataLLM Lab, the unified LLM gateway. Kevin tests models the boring way — same prompts, real costs, unedited outputs — and writes up what the runs actually show.

One API for every model

One API, every model.

Get a single API key for Kimi K2.6, Qwen3 Coder Next, Claude Opus 4.7, GPT-5.4 and 300+ more — with automatic price comparison and routing to the best model for every request.