Open Weights · Modified MIT

Kimi K2

The trillion-parameter agentic specialist from Moonshot AI — open weights, serious tool-call discipline, and pricing that makes closed-model API bills look silly.

Illustration of the open-weight AI tide
Params1T total / 32B active (MoE)
Context256K
LicenseModified MIT (open weights)
ReleasedJul 2025
Price / 1M~$0.15 in / ~$2.30 out (as of Nov 2026)
ModalityText, agentic tool use

What it is and who makes it

Kimi K2 is the flagship open-weights model from Moonshot AI, the Beijing lab behind the Kimi assistant. It launched in July 2025 as the largest openly published general model of its moment — a trillion-parameter mixture-of-experts built specifically for agentic work: tool calls, multi-step tasks, code edits and long-running automation. Moonshot released the weights under a Modified MIT license, which is close to plain MIT with some attribution and acceptable-use quirks. As of Nov 2026 it remains one of the strongest open choices for agent backends.

Architecture and what's under the hood

K2 is a MoE with roughly 1T total parameters and about 32B activated per token, spread across a large pool of fine-grained experts. Moonshot's public technical reports describe a MuonClip-style optimizer used to keep training stable at this scale, multi-token prediction objectives, and a heavy agentic mid-training phase — synthetic tool-use traces, code repositories, and long-horizon task simulations rather than just next-token text. The 256K context window is native, not a rope-stretched afterthought. Exact data mixtures and post-training details stay undisclosed; treat any precise version of them with scepticism. All figures are as of Nov 2026 and drift with each update.

Strengths

  • Agentic tool use is the headline act — strong function-calling discipline over long chains of calls.
  • Trillion-parameter quality at open-weights pricing; roughly $0.15 per 1M input tokens.
  • LiveCodeBench results around ~85 put it near the top of the open coding boards.
  • Open weights under Modified MIT: self-host, fine-tune, ship in products.
  • Healthy availability on OpenRouter, Fireworks, Together and first-party endpoints.

One detail worth knowing: K2's tool-call discipline holds up under messy real-world schemas — nested arguments, enum drift, optional fields — better than most models in its price class. It also tends to ask for clarification instead of hallucinating a missing parameter, which is rarer than it should be.

Weaknesses and failure modes

  • Self-hosting is a serious commitment — a full 1T MoE wants multi-node GPU capacity, not a single workstation.
  • Historically biased toward Chinese-language tasks; English output is good, not always glossy.
  • Modified MIT isn't Apache — read the attribution and acceptable-use clauses before shipping it inside a product.
  • Can over-eagerly call tools when a plain answer would do; prompt it to be conservative.
  • No vision in the base K2; for multimodal you want a different stack.

Best for / avoid for

Best for: agent backends that live or die on tool-call reliability — code-editing pipelines, browser automation, multi-step data jobs, and any workload where you want open weights and a real context window.

Avoid for: casual chat on a laptop (it's too big to run there), image understanding, and teams whose compliance department can't sign off on a CN-origin model.

Variants and family

The family splits into Kimi K2 Instruct — the general, non-thinking chat and tool-use endpoint — and Kimi K2 Thinking, the reasoning variant covered on its own atlas page, which bakes long chain-of-thought plus tool use into a single model for long-horizon agent runs. Moonshot also ships refreshed Instruct checkpoints; pin a dated snapshot in production rather than tracking "latest" if you care about reproducibility.

Pricing, access and how to run it

Moonshot's official API serves K2 at roughly $0.15 / $2.30 per 1M tokens (in/out, as of Nov 2026). OpenRouter lists it across several providers, which is the easiest way to shop latency and jurisdiction — prices there hover close to official, sometimes cheaper on input. For self-hosting, vLLM has first-class support: you'll want a multi-GPU H100/H200 setup with tensor parallelism, or a heavily quantized build for smaller clusters. Expect to serve it as the brain of an agent, not as a chat toy.

# vLLM, multi-GPU (indicative — check current tags)
python -m vllm.entrypoints.openai.api_server \
  --model moonshotai/Kimi-K2-Instruct --tensor-parallel-size 8

Benchmarks snapshot

Approximate, as of Nov 2026; scores move with each eval revision and aren't independently audited:

  • SWE-bench Verified ~65 · LiveCodeBench ~85 · TAU-bench ~66 (atlas figures)
  • AIME-class math in the low-to-mid 70s as reported by Moonshot (directional, unverified)
  • Terminal-Bench style agentic tasks comfortably ahead of most open peers of the era

How it stacks up

vs DeepSeek V3.2: V3.2 is cheaper, denser per dollar and MIT-clean, with a bigger third-party serving ecosystem. K2 wins on agentic tool-chain benchmarks like TAU and LiveCodeBench, and on very long multi-step runs. If your workload is mostly code completion and batch inference, pick V3.2; if it's orchestration-heavy agents, pick K2. vs Qwen 3 235B A22B: Qwen brings Apache 2.0, cleaner licensing optics and stronger Western compliance stories; K2 brings more total capacity and better tool discipline out of the box. vs GPT-4.1: GPT-4.1 has the polish, 1M context and US data residency; K2 has the price and the weights.

PeaBox fit

For the PeaBox AI Workbench, K2 is a natural engine for agentic recipes: point the Workbench at Moonshot's API or any OpenRouter route and it handles tool calls without babysitting. Its 256K window swallows most repo-sized contexts. The open weights are a bonus if you ever want a private deployment — though be honest about the hardware bill before you promise anyone a local K2.

Two practical tips. First, keep your system prompt lean and put the stable prefix first so Moonshot's caching can discount repeated context. Second, set an explicit max-steps limit in any agent loop — K2's enthusiasm for tools is a feature until it isn't.

The short version: Kimi K2 is the open-weights model to beat for agentic tool use right now. Bring your own infra or a tolerant budget, and it repays both with reliability you rarely see at this price. If you need the reasoning-first flavour, look at Kimi K2 Thinking on this atlas.

In practice, teams that succeed with K2 share a pattern: a well-typed tool schema, a hard step limit, deterministic retries on malformed tool outputs, and a small eval harness of their own five or ten real tasks. Skip that scaffolding and even a great agent model will wander. Build it once and K2 feels like infrastructure, not a chatbot.