Your coding agent burns half its tokens thinking out loud before it writes a single line. Moonshot AI just shipped a model trained specifically to stop doing that.
Kimi K2.7-Code is the fifth model in Moonshot's K2 family, and the first one with "Code" in the name. That naming choice is deliberate. This is not a general-purpose model with coding tacked on. It is a 1 trillion parameter Mixture-of-Experts model with 32 billion active parameters, a 256K context window, and a single design goal: reduce the token waste that makes agentic coding expensive.
The headline number is a 30% reduction in reasoning tokens compared to K2.6. If you have ever watched an agent loop through five paragraphs of internal monologue before editing a config file, you understand why that matters.
Architecture
K2.7-Code uses the same backbone as K2.6: 384 total experts with 8 selected per token, Multi-head Latent Attention (MLA), and SwiGLU activation. The vision encoder is MoonViT at 400 million parameters. On paper, the architecture is nearly identical to its predecessor.
The difference is in training. Moonshot retrained the model with a focus on coding task completion and instruction following. The benchmark numbers tell the story:
| Benchmark | K2.7-Code | Improvement over K2.6 |
|---|---|---|
| Kimi Code Bench v2 | 62.0 | +21.8% |
| Program Bench | 53.6 | +11.0% |
| MLS Bench Lite | (multi-language) | +31.5% |
| MCP Mark Verified | 81.1 | (new benchmark) |
The MLS Bench Lite jump is interesting. It measures multi-language coding across Python, Rust, and Go. A 31.5% improvement suggests Moonshot put real effort into Rust and Go support, which historically lags behind Python in open-source coding models.
Pricing
Here is where K2.7-Code gets interesting for production teams:
| Tier | Price per 1M tokens |
|---|---|
| Input | $0.95 |
| Output | $4.00 |
| Cache Hits | $0.19 |
For comparison, Claude Fable 5 costs $10 per million input tokens and $50 per million output tokens. That is a 10x difference on input and 12.5x on output. The cache hit pricing at $0.19 is particularly aggressive. If your agentic workflow reuses the same system prompt and file context across multiple iterations, cache hits could bring your effective cost down to near-zero on the input side.
The tradeoff is raw capability. Claude Fable 5 scored above 90% on CursorBench 3.1. K2.7-Code's benchmarks come from Moonshot's own evals, and no independent SWE-Bench Verified numbers are available yet. The model also forces "preserve_thinking" mode, meaning you cannot disable the reasoning tokens entirely. You just get fewer of them.
Community Reaction
The r/LocalLLaMA thread went up within hours of the announcement. The dominant sentiment is cautious optimism. One user wrote: "I hope this is true, because this will mean we get a really strong coding-oriented model that should be better than GLM 5.1, MiniMax M3, and Qwen 3.7 while costing less."
A commenter on r/opencodeCLI noted they are already running K2.7-Code through Kimi Code on five simultaneous project code reviews. The model is not yet available on opencode, but the Kimi API and Kimi Code CLI are live.
The skepticism is real too. Nobody has independently verified the benchmark claims. The K2.6 release in April had similar self-reported numbers, and community testing showed it was "very cost-efficient for well-specified tasks" but struggled with open-ended work compared to Claude Opus 4.5 and later.
The Model Lineage (Don't Confuse It)
Moonshot has shipped five K2 variants in under a year. Here is the timeline:
- K2 Base (July 2025), the original
- K2 Thinking (November 2025), added reasoning chains
- K2.5 (January 2026), native multimodal, 15T token training
- K2.6 (April 2026), agent swarms, 300-sub-agent scaling, 1M context experiments
- K2.7-Code (June 2026), coding-specialized, 30% less reasoning tokens
K2.7-Code is NOT K2.6 with a patch. It is a full retrain. The "Code" suffix is new, and it signals that Moonshot is splitting its model line into specialized variants rather than shipping one monolith.
So What
The 30% reasoning token reduction is the real story here, not the benchmark numbers. Every agentic coding framework burns tokens on planning, reflection, and self-correction. If K2.7-Code actually delivers on that claim, it changes the economics of running coding agents at scale.
For solo developers and small teams, the pricing makes this worth trying. At $0.95 per million input tokens, you can run a lot of agent loops before hitting what Fable 5 costs for a single conversation. The cache hit pricing at $0.19 is the sleeper feature. If you structure your prompts to reuse context, the cost advantage compounds.
The limitation is clear: nobody outside Moonshot has tested this model on hard problems yet. The self-reported benchmarks use Moonshot's own evals, not SWE-Bench Verified or LiveCodeBench. Until independent numbers come in, treat the +21.8% claims as marketing, not fact.
What I am watching for: whether the 30% token reduction holds up in practice, or whether agents using K2.7-Code end up needing more turns to complete tasks, negating the per-turn savings. That is the question that will determine if this is a real price-performance breakthrough or just a cheaper way to get worse results.
Sources
- https://huggingface.co/moonshotai/Kimi-K2.7-Code
- https://handyai.substack.com/p/model-drop-kimi-k27-code
- https://www.kucoin.com/news/flash/moonshot-ai-launches-kimi-k2-7-code-with-1-trillion-parameters
- https://www.kucoin.com/news/flash/kimi-2-7-challenges-claude-fable-5-with-lower-pricing-for-coding-tasks
- https://www.reddit.com/r/LocalLLaMA/comments/1u3rdk9/moonshotaikimik27code_hugging_face
- https://www.reddit.com/r/opencodeCLI/comments/1u3swiq/kimi_k27_code
- https://news.ycombinator.com/rss