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

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

- Org: Moonshot AI
- Date: 2026-06-12
- Category: model
- Source: https://huggingface.co/moonshotai/Kimi-K2.7-Code
- Canonical page: https://ai-tldr.dev/releases/moonshot-kimi-k2-7-code/

## In short

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.

## What it is

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 it works

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 it matters

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 it's for

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

## Try it

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

## Links

- [Model Card](https://huggingface.co/moonshotai/Kimi-K2.7-Code)
- [Kimi API Platform](https://platform.kimi.ai/)
- [HN Discussion](https://news.ycombinator.com/item?id=48502347)
- [Third-Party Guide](https://www.aimadetools.com/blog/kimi-k2-7-code-complete-guide/)
