AI/TLDR

Moonshot AI · 2026-06-12 · major

Kimi K2.7-Code — Moonshot's 1T MoE Coding Model Beats Claude Opus on MCPMark

Moonshot's coding-tuned 1T mixture-of-experts model with 32B active params and 256K context. Scores 81.1% on MCPMark Verified (vs Claude Opus 4.8's 76.4%) and uses 30% fewer reasoning tokens than K2.6. Modified MIT, $0.95/$4 per Mtok.

Kimi K2.7-Code model card thumbnail on Hugging Face

Moonshot's coding-specialized fork of Kimi K2.6, with faster reasoning and a higher MCP tool-use score than Claude Opus 4.8.

Key specs

Parameters1T
Active params32B
Context window256K
Price (input)$0.95/Mtok
Price (output)$4.00/Mtok
Experts384 (8 + 1 shared per token)
Mcpmark verified81.1%
Kimi code bench v262.0
Program bench53.6
Cache hit price$0.19/Mtok

Benchmarks

Kimi-Code-Bench v2
Kimi K2.7-Code62%
GPT-5.569%
Claude Opus 4.867.4%
source ↗
Program-Bench
Kimi K2.7-Code53.6%
GPT-5.569.1%
Claude Opus 4.863.8%
source ↗
MCP Mark Verified
Kimi K2.7-Code81.1%
GPT-5.592.9%
Claude Opus 4.876.4%
source ↗

Pricing

Input$0.95 / 1M tokens
Output$4.00 / 1M tokens
Cache hit$0.19 / 1M tokens
source ↗

What is it?

Kimi K2.7-Code is Moonshot AI's open-weights mixture-of-experts model built specifically for coding and agent work. It has 1 trillion total parameters but only activates 32 billion per token, drawn from 384 experts (8 picked per token plus 1 shared). Context window is 256K tokens and the license is a modified MIT.

How does it work?

K2.7-Code keeps the K2.6 backbone but is fine-tuned for coding and tool calling. Moonshot says it cuts reasoning-token usage about 30% by curbing overthinking. It also adds a 'preserve thinking' mode that carries reasoning state across multi-turn conversations and a 'forced thinking' option. Vision input runs through the 400M-parameter MoonViT encoder shared with the rest of the K2 family.

Why does it matter?

It is the first open-weights coding model to beat Claude Opus 4.8 on MCPMark Verified (81.1 vs 76.4), and it narrows the gap to GPT-5.5 on Moonshot's own coding benchmark from 18 to 7 points versus K2.6. Teams running coding agents through API providers or self-hosting frontier-class weights get a credible alternative to closed flagships under a modified MIT license.

Who is it for?

coding-agent builders, self-hosters of frontier-class LLMs

Try it

huggingface.co/moonshotai/Kimi-K2.7-Code

Sources · 4 outlets

Tags

  • coding
  • moe
  • open-weights
  • moonshot
  • kimi
  • agent
  • mcp
  • 256k-context
  • modified-mit

← All releases · Learn AI