Moonshot AI Releases Kimi K2.7 Code Programming Model

💡New open-source coding model with 30% lower token usage and a high-speed 6x version coming soon.
⚡ 30-Second TL;DR
What Changed
Kimi K2.7 Code shows significant performance gains in benchmarks like Kimi Code Bench v2 and Program-Bench.
Why It Matters
This release provides developers with a more efficient, specialized tool for long-context coding tasks, potentially lowering costs and improving agentic workflow performance.
What To Do Next
Integrate the Kimi K2.7 Code API into your coding agent pipeline and enable 'Thinking' mode to benchmark its performance against your current model.
Key Points
- •Kimi K2.7 Code shows significant performance gains in benchmarks like Kimi Code Bench v2 and Program-Bench.
- •The model reduces average token consumption by 30% compared to the K2.6 version.
- •A 6x speed version is scheduled for release on June 15th via the Kimi API platform.
- •Requires 'Thinking' mode to be enabled for optimal performance in coding tasks.
🧠 Deep Insight
Web-grounded analysis with 30 cited sources.
🔑 Enhanced Key Takeaways
- •Moonshot AI's Kimi K2.7 Code is part of a broader strategy to open-source advanced models, following Kimi K2, K2.5, and K2.6, which are released under a Modified MIT License, enabling self-hosting and fine-tuning for developers.
- •The Kimi K2.x series, including K2.7 Code, leverages a Mixture-of-Experts (MoE) architecture with 1 trillion total parameters but only activates 32 billion per token, contributing to its efficiency and cost-effectiveness compared to dense models.
- •Moonshot AI has rapidly scaled its valuation, reaching over $20 billion by May 2026, driven by significant funding rounds from investors like Alibaba and Tencent, positioning it as a major competitor to Western AI labs.
- •The Kimi K2.x models are designed for agentic capabilities, featuring an "Agent Swarm" system that can coordinate up to 300 specialized sub-agents and execute thousands of coordinated steps, significantly improving performance in complex, multi-step tasks.
- •Kimi K2.x models, including the K2.6, offer significantly lower API pricing compared to leading proprietary models like GPT-5.4 and Claude Sonnet 4.6, making them a cost-competitive option for high-volume coding and agentic workloads.
📊 Competitor Analysis▸ Show
| Feature/Metric | Moonshot AI Kimi K2.6/K2.7 Code | OpenAI GPT-5.4 / GPT-4.1 | Anthropic Claude Opus 4.7 / Sonnet 4.6 | DeepSeek-V3.2 (Open-source) |
|---|---|---|---|---|
| Architecture | MoE (1T total, 32B active parameters) | Dense / Undisclosed | Undisclosed | MoE (Reasoning-first focus) |
| Context Window | 256K tokens | 128K tokens (GPT-4 Turbo) | 200K tokens (Claude 3.5) / 1M tokens (Opus 4.6 beta) | Varies, often large |
| Key Capabilities | Long-horizon coding (Rust, Go, Python, frontend, DevOps), Agent Swarm (300 sub-agents, 4000 steps), Multimodal (text, image, video via MoonViT) | General purpose, strong coding, reasoning, multimodal (GPT-5.4 Image 2) | High-stakes reasoning, reliable coding, Agent Teams | Reasoning + agents, cost-effective |
| API Pricing (per MTok) | Input: $0.55 - $0.95, Output: $2.65 - $4.00 (K2.6) | 4-17x more expensive than Kimi K2.5 | 5-6x more expensive than Kimi K2.5 (Sonnet 4.6) / Input: $5, Output: $25 (Opus 4.6) | Cost-effective, free to self-host |
| SWE-Bench Verified | 80.2% (K2.6), 71.3% (K2 Thinking), 65.8% (K2) | 44.7% (GPT-4.1) | ~70% (Claude 4 Sonnet), 80.8% (Opus 4.6) | Competitive, varies by configuration |
| LiveCodeBench | 89.6% (K2.6), 85.0% (K2.5), 53.7% (K2) | 44.7% (GPT-4.1) | ~55% (Claude 4 Sonnet), 64.0% (Opus 4.6) | |
| Open-source | Yes (Modified MIT License) | No | No | Yes |
🛠️ Technical Deep Dive
- Architecture: Mixture-of-Experts (MoE) Transformer with 1 trillion total parameters.
- Active Parameters: Only 32 billion parameters are activated per token during inference, making it highly efficient.
- Experts: Features 384 specialized experts, with 8 selected per token (plus 1 shared expert) across 61 layers.
- Optimizer: Utilizes the MuonClip optimizer to prevent training instability during large-scale MoE training.
- Context Window: Supports a 256K token context window, enabling processing of extensive codebases and documents.
- Multimodality: Native multimodal capabilities, trained on 15 trillion mixed visual and textual tokens from the start. Includes a 400-million-parameter MoonViT vision encoder for image and video input.
- Agentic System: Incorporates an "Agent Swarm" system that scales to 300 domain-specialized sub-agents, capable of executing up to 4,000 coordinated steps in a single autonomous run.
- Coding Optimization: Optimized for software engineering across languages like Rust, Go, and Python, supporting tasks from front-end generation to DevOps.
- Deployment: Open-source weights (Modified MIT License) allow for self-hosting and fine-tuning using inference engines like vLLM, SGLang, KTransformers, or TensorRT-LLM.
🔮 Future ImplicationsAI analysis grounded in cited sources
⏳ Timeline
📎 Sources (30)
Factual claims are grounded in the sources below. Forward-looking analysis is AI-generated interpretation.
- wikipedia.org
- wikipedia.org
- kimik2ai.com
- deepinfra.com
- codecademy.com
- nxcode.io
- nvidia.com
- lowcode.agency
- github.com
- eesel.ai
- baseten.co
- medium.com
- fireworks.ai
- tracxn.com
- businessmodelcanvastemplate.com
- clay.com
- pulse2.com
- github.io
- cloudprice.net
- nxcode.io
- openrouter.ai
- medium.com
- medium.com
- moonshot.ai
- kimi-k2.net
- shareai.now
- openrouter.ai
- huggingface.co
- openrouter.ai
- github.io
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: IT之家 ↗


