Overview
Kimi-K2.7-Code is a coding-focused large language model from Moonshot AI, part of the Kimi K2 family.
- License: Other
- Context length: 256K tokens
- Languages: Multilingual
- Minimum hardware: ~592 GB VRAM
- Strengths: reasoning, coding and on-device inference
Highlights
- +21.8% on Kimi Code Bench v2 — over the previous K2.6, using ~30% fewer thinking tokens.
- Agentic tool calling — drives multi-step workflows across a full production stack.
- Code across 10+ languages — backend, infrastructure, frontend, and ML/data engineering.
- Vision + 256K context — reads large files, screenshots, and diagrams in one pass.
What it is good at
Moonshot tuned this version for end-to-end coding agents, and its capabilities reflect that. It reports +21.8% on Kimi Code Bench v2 over the previous K2.6, uses about 30% fewer thinking tokens, and beats Claude Opus 4.8 on the MCP Mark Verified agent benchmark.
- Agentic tool calling — it drives multi-step workflows, calling tools and chaining actions to finish a task rather than answering in one shot.
- Code reasoning and generation — it works across 10+ languages and a full production stack, from backend services and infrastructure to frontend and ML/data engineering.
- Long-context vision — with vision and a 256K window, it can read large files, screenshots, or diagrams and reason over them in a single pass.
Running it locally
This is a heavy model. The full-precision weights run well past 600GB, so most local setups use a quantized build. A 2-bit quant lands around 350GB and needs roughly that much combined system RAM and VRAM; people run it on a single 24GB GPU with 256GB RAM via CPU offloading at low token rates, or on multi-GPU rigs for faster output. The 262144-token context adds further memory on top during long sessions.
huggingface-cli download moonshotai/Kimi-K2.7-Code
You can serve the weights with vLLM or llama.cpp, or skip the setup and load Kimi-K2.7-Code in Atomic Chat with one click, which handles the download and RAM offloading for you.
License
Kimi-K2.7-Code is released by Moonshot AI under a Modified MIT License (listed here as "other"). It permits free use, modification, and redistribution of the weights, including for commercial projects, with the terms of that license applying.


