Overview
Kimi-K2.7-Code is a coding-focused large language model from Moonshot AI, part of the Kimi K2 family. It is a Mixture-of-Experts model with roughly 1058.6B total parameters, of which only a fraction activate per token, and it handles a 262144-token (256K) context window. The release is purpose-built for software engineering: multi-step code generation, agentic tool use, and reasoning across large codebases.
Because the open weights are published on Hugging Face, you can pull them down and run Kimi-K2.7-Code on your own machine through Atomic Chat. Nothing leaves your hardware, the model works with no internet connection once downloaded, and your code and prompts stay private on-device.
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.
