AIAny
AI Model2026
Icon for item

moonshotai/Kimi-K2.7-Code

An agentic multimodal coding model for long-horizon software tasks: MoE architecture (1T params, 32B activated), 256K context, image/video input, native int4 quantization and preserved chain-of-thought (thinking) mode. Tuned for multi-step coding workflows and vLLM/SGLang deployment.

Introduction

Kimi K2.7 Code matters because real-world software engineering problems are long-horizon, multimodal, and require retained intermediate reasoning across many steps — yet most models either lose context or discard their internal "thinking." K2.7 Code explicitly preserves reasoning (preserve_thinking) and increases token efficiency so agents can carry planning and tool-invocation state across long sessions.

Key Capabilities
  • Agentic coding workflows: Designed to act as an agentic coding assistant that chains reasoning and multi-step tool calls (preserve_thinking enabled by default), which helps on debugging, multi-file refactors, and end-to-end task completion where intermediate plans matter.
  • Large-context, multimodal reasoning: Supports up to 256K tokens and accepts image/video inputs via a 400M-parameter MoonViT vision encoder, making it suited for tasks that mix code, screenshots, or short videos (e.g., UI debugging, visual inspection of outputs).
  • MoE scale with token efficiency: Built as a 1T-parameter Mixture-of-Experts model with ~32B activated parameters per token and native INT4 quantization for more tractable inference footprints; recommended inference stacks include vLLM, SGLang, and KTransformers.
  • Developer ergonomics: Exposes OpenAI/Anthropic-compatible API primitives and examples (thinking-mode, image/video payloads, and preserve_thinking semantics) to integrate into agent frameworks and CLI-based coding tools.
Who it's for and tradeoffs

Great fit if you need an LLM to run multi-step coding tasks that must keep intermediate reasoning or tool state (e.g., automated debugging, multi-file patches, agentic CI workflows) and you can deploy on inference engines that support large MoE models and long contexts. Look elsewhere if you need a lightweight on-device model, deterministic small-model inference, or strict open-source licensing constraints — K2.7 Code is large (MoE design) and optimized for hosted or server-side inference with specialized runtimes. Also, while the model provides API examples, production integration requires attention to cost, tool-call budgeting, and evaluation on your own benchmarks.

Where it fits

Compared with smaller single-stream code models, K2.7 Code trades raw accessibility for sustained planning ability and multimodal context. Against closed commercial coding models it aims to improve long-horizon agentic behavior via preserved reasoning and very long contexts, at the cost of requiring MoE-capable inference infrastructure.

Quick notes on evaluation and deployment

The model card reports internal benchmarks showing improved performance over K2.6 on in-house coding and agentic suites; deployment guidance targets vLLM/SGLang/KTransformers and offers an OpenAI/Anthropic-compatible API surface. Native INT4 quantization is provided to reduce inference cost, but practical throughput will depend on your runtime and expert routing support.

Information

  • Websitehuggingface.co
  • AuthorsMoonshot AI (moonshotai)
  • Published date2026/06/11

Categories

More Items

Hugging Face
AI Model2026

Runs a 35B-class sparse MoE LLM with SSD-streamed experts, 4-bit quantization, prerouter routing prediction and Recover-LoRA adapters to enable ~2.9–3 GiB active memory and interactive decoding (~15 tok/s) for on-device inference.

Hugging Face
AI Model2026

Integrates a pretrained vision–language model with a BEV perception head and a Planning Expert to provide 3D perception, driving VQA and motion planning for autonomous driving while keeping the base VLM architecture unchanged.

Hugging Face
AI Audio2026

Generates full songs from lyrics and a style prompt, producing vocals and accompaniment and exporting editable symbolic scores for melody/chord control. Uses symbolic planning with agentic multi-turn editing and runs local 48 kHz inference on a 24GB GPU.