Kimi K3.1 Pro: A 2.8-Trillion-Parameter Open Weight That Trades Blows With the Frontier
[!NOTE] TL;DR: Moonshot AI’s Kimi K3.1 Pro (released October 24, weights shipped November 4) is a 2.8T-parameter MoE with 104B active, a 1M-token context window, and natively multimodal input. On Terminal-Bench 4.0 it scores 65.7% — behind Claude Opus 5.5’s 66.4% by less than a point, and well ahead of GPT-6 Astra’s 58.2%. It’s the first open weight that doesn’t feel like a compromise on agentic coding.
We were already impressed when Kimi K2.5 closed the gap earlier this year. K3.1 Pro doesn’t close it — it argues the gap is a rounding error for most real workloads, while being something no closed frontier model can be: downloadable.
Table of Contents
The Numbers That Matter
| Benchmark | K3.1 Pro | Context |
|---|---|---|
| Terminal-Bench 4.0 | 65.7% | Claude Opus 5.5: 66.4% · GPT-6 Astra: 58.2% |
| Kimi Code Bench 3.0 (long-horizon) | 61.2% | K3: 55.95% |
| Context window | 1M tokens | Whole-repo agent sessions |
Terminal-Bench 4.0 is the number to sit with: it evaluates coding agents on realistic, resource-constrained terminal tasks with strict per-task tests — about as close to “a junior dev left alone with a box” as public benchmarks get. A 0.7-point deficit to the best closed model, on a checkpoint you can put in your own VPC, reframes the build-vs-buy question entirely.
Architecture: Sparse Attention Is the Point
The spec sheet reads like a tour of where frontier architecture went in 2026:
- MoE at serious scale — 2.8T total parameters, 104B activated per token, 896 experts with 16 selected (plus 2 shared), 93 layers
- KDA + Gated DSA attention — Moonshot swapped K3’s full-attention Gated MLA layers for Gated DeepSeek Sparse Attention: 69 KDA layers + 24 Gated DSA layers, which is what makes a 1M-token window economical rather than theoretical
- Natively multimodal — a 401M-parameter MoonViT-V2 vision encoder, text + image in
- Quantization-aware training — MXFP4 weights / MXFP8 activations baked in from training, not bolted on after, so the deployed model matches the evaluated one
Sparse attention is doing the same job here that it does in MiniMax’s MSA: turning long context from a marketing number into an agent primitive — whole codebases, whole session histories, whole document sets in a single window.
Post-Training at an Absurd Scale
K3.1 Pro is a post-trained version of K3 with substantially larger post-training compute — large-scale joint RL across hundreds of downstream domains. Moonshot says it had to optimize the entire RL stack — framework, long-context inference, sandbox infrastructure, rollout scheduling — to make each increment of compute return predictable gains. The result is consistent improvement across coding, 3D creation, financial research, and factual accuracy rather than the usual benchmark-shaped bumps.
There’s also K3.1 Pro Highspeed, a variant delivering 2–3× the output speed at equal intelligence — aimed squarely at interactive agent loops where latency compounds across every tool call.
Deployment: Actually Runnable
API access is live on platform.kimi.ai as kimi-k3.1-pro with OpenAI- and Anthropic-compatible endpoints — a detail that makes migration nearly free for existing agent harnesses. For self-hosting, Moonshot blesses three inference engines:
- vLLM — official recipes
- SGLang — official cookbook
- TokenSpeed — official recipes
The weights are on Hugging Face under the Kimi K3.1 Pro License, which permits running, deploying, fine-tuning, and modifying — subject to its terms.
[!TIP] For agent builders The Anthropic-compatible endpoint is the sleeper feature here. If your harness was built around Claude’s API shape, K3.1 Pro drops in as a fallback or a cost-optimization tier without rewriting your tool-call plumbing.
The License Caveat
“Open-weight” is not “permissive” — it’s the Kimi K3.1 Pro License, not Apache-2.0. Read the terms before building a commercial product on top, especially around scale thresholds and redistribution. For the vast majority of teams this is a non-issue; for unicorns, it’s a phone call.
Verdict
K3.1 Pro is the strongest evidence yet that the frontier is becoming a deployment choice, not a capability tier. A 1M-context agentic model that trails the best closed model by 0.7 points on terminal coding — and beats OpenAI’s flagship by seven — that you can also fine-tune and self-host, changes procurement conversations. The open-weight ecosystem now has its flagship for agentic work.
Frequently Asked Questions
Q: How big is Kimi K3.1 Pro and how much actually runs per token? A: It’s a Mixture-of-Experts model with 2.8 trillion total parameters across 896 experts, activating 104B parameters (16 experts plus 2 shared) per token over 93 layers — with a 1M-token context window and a 401M-parameter MoonViT-V2 vision encoder for native image input.
Q: How does Kimi K3.1 Pro compare to closed frontier models on coding? A: On Terminal-Bench 4.0 it scores 65.7% — within a point of Claude Opus 5.5 (66.4%) and well ahead of GPT-6 Astra (58.2%). On Moonshot’s internal long-horizon coding benchmark it improved from 55.95% (K3) to 61.2%, driven by large-scale joint RL across hundreds of domains.
Q: Can I self-host Kimi K3.1 Pro and under what license? A: Yes — full weights are on Hugging Face under the Kimi K3.1 Pro License, which allows running, deploying, fine-tuning, and modifying subject to its terms. Officially supported inference engines are vLLM, SGLang, and TokenSpeed, and the hosted API offers OpenAI- and Anthropic-compatible endpoints.