Kimi K2.7 Code
Kimi K2.7 Code is an open-source, natively multimodal agentic model from Moonshot AI, built for long-horizon, coding-driven work. It is a large mixture-of-experts model with one trillion total parameters and thirty-two billion activated per token, distributed across 384 routed experts with a shared expert, and it ships as a native INT4 checkpoint using the same quantization approach as Kimi K2 Thinking. It shares its architecture with the Kimi K2.5 and K2.6 releases and extends the line with a code-first focus.
Native multimodality
Kimi K2.7 Code accepts both text and image input through a MoonViT vision encoder, so it can read screenshots, diagrams, UI mockups, charts, and documents alongside a coding prompt. This makes it well suited to coding-driven design tasks where the model works from a visual reference and produces or edits code to match. Experimental video input is also part of the model family.
Thinking-mode reasoning and tool use
The model runs in thinking mode, producing an explicit reasoning trace before its final answer, with thinking preserved by default across a conversation. It is trained for agentic tool calling, letting it plan and execute multi-step tasks, call external tools, and orchestrate long-running workflows rather than answering in a single turn. Recommended sampling for thinking mode uses a temperature of 1.0 and top-p of 0.95.
Key features
- Native mixture-of-experts architecture with one trillion total parameters and thirty-two billion activated per token
- Native INT4 quantization for efficient serving of a trillion-parameter model
- Native image understanding through an integrated MoonViT vision encoder
- Thinking-mode reasoning with preserved chains of thought across turns
- Agentic tool calling for long-horizon, multi-step task orchestration
- A 256K-token context window for large codebases and long sessions
Use cases
- Long-horizon, coding-driven agentic development and refactoring across large codebases
- Coding-driven design: turning screenshots, mockups, and diagrams into working code
- Reading and reasoning over technical documents, charts, and UI captures
- Tool-using agents that plan, call functions, and iterate over multi-step workflows
- Visual question answering grounded in code and technical context
Kimi K2.7 Code is available on Hugging Face at https://huggingface.co/moonshotai/Kimi-K2.7-Code