Kimi K2.7 Code

Moonshot AI

Parameters

1.0T total / 32.0B active

MoE: total / active

Architecture

Mixture-of-Experts (MoE)

Released

11.06.2026

License

Modified MIT License (Kimi)

Open Weights Commercial Use Multimodal BF16/F32/I32 (native INT4 quantization available) Kimi English Chinese

Input Modalities

text image video

Output Modalities

text

Context (native)

262,144 tokens

Context (extended)

262,144 tokens

Openness Index Score 70.0/100

About

Kimi K2.7 Code (moonshotai/Kimi-K2.7-Code) is Moonshot AI's coding-focused agentic model built upon Kimi K2.6 - 1T total parameters with 32B activated per token, released June 11, 2026 under the Modified MIT License. Architecture: Mixture-of-Experts with 61 layers (including 1 dense layer), attention hidden dimension 7168, MoE per-expert dimension 2048, 64 attention heads, 384 experts with 8 selected + 1 shared per token, Multi-head Latent Attention (MLA), SwiGLU activation, 160K vocabulary, a 400M-parameter MoonViT vision encoder, and a 256K-token context.

It delivers substantial improvements on real-world long-horizon coding tasks, strengthening end-to-end task completion across complex software engineering workflows, and improves token efficiency by reducing thinking-token usage approximately 30% compared with Kimi K2.6. The model ships with native INT4 quantization (the same method as Kimi-K2-Thinking), and forces thinking with preserve_thinking mode so reasoning context persists across tool calls.

Training Data Coding-focused agentic model built upon Kimi K2.6. Uses native INT4 quantization (same method as Kimi-K2-Thinking). Forces thinking and preserve_thinking mode.

Benchmark Scores

Benchmark Score Date Standing
MLS-Bench-Lite
coding_agent
36.21%
23.08.2026
#7/9
better than 25%
Kimi Claw 24/7 Bench
agentic
40.40%
23.08.2026
#3/4
better than 33%
MCP-Atlas
general_agent
82.77%
23.08.2026
#13/54
better than 75%
MCPMark-Verified
agentic
41.29%
23.08.2026
#2/4
better than 67%
WildClawBench
coding_agent
62.35%
23.08.2026
#9/20
better than 58%
Kimi Code Bench V2
coding_agent
42.37%
23.08.2026
#5/7
better than 33%
Program Bench
coding_agent
69.06%
23.08.2026
#3/7
better than 67%
LHTB Solved
coding_agent
100.00%
23.08.2026
#1/1
only tracked model

Hardware Requirements

Estimated VRAM per quantization at 4,096 tokens context — MoE: all experts must fit in VRAM, only 32.0B are active per token

Quantization Weights KV Cache Total VRAM On your hardware
FP16 — 16-bit 2000.0 GB 5.0 GB 2105.0 GB Which GPUs can run it? Calculate on your GPU
INT8 — 8-bit 1000.0 GB 2.5 GB 1052.5 GB Which GPUs can run it? Calculate on your GPU
INT4 — 4-bit 500.0 GB 1.2 GB 526.2 GB Which GPUs can run it? Calculate on your GPU
FP4 — 4-bit 500.0 GB 1.2 GB 526.2 GB Which GPUs can run it? Calculate on your GPU

Only datacenter GPUs — FP16 needs 2105.0 GB. For consumer hardware, choose the INT4 build with a multi-GPU setup.

Architecture

Decoder Block input Embedding vocab 164K · d 7168 Full Attention MLA · 64 heads ×61 MoE FFN 384 experts · top-8 · +1 shared · dᴻ 2048 Final Norm LM Head vocab 164K output
Attention
Multi-head Latent Attention
MoE
384 experts · top-8 per token
Layers
61
Hidden size
7168
Context
262K tokens
RoPE θ
50K
Parameters
1000000M
Active params
32000M

Source: Hugging Face config.json · KimiK25ForConditionalGeneration · model repo

Type: Mixture-of-Experts (MoE)
Attention: MLA
Decoder: Transformer
MoE: yes (384 experts)
Routing: top-8 with 1 shared expert

Training Pipeline

  1. 1
    other

    Coding-Focused Fine-Tuning from Kimi K2.6

    Kimi K2.7 Code is a coding-focused agentic model built upon Kimi K2.6. With substantial improvements on real-world long-horizon coding tasks, it strengthens end-to-end task completion across complex software engineering workflows while improving token efficiency, reducing thinking-token usage by approximately 30% compared with Kimi K2.6. Uses native INT4 quantization (same method as Kimi-K2-Thinking). Forces thinking and preserve_thinking mode.

Training & Evaluation Datasets

NameRoleSizeModalitiesCollection
Coding-focused post-training corpus (built on Kimi K2.6) rl — —

Linked Resources

Comments (0)

No comments yet

Be the first to share your thoughts!

What now?

You have read the full card for Kimi K2.7 Code — here is where to go next.