Kimi K3: Open Frontier Intelligence
TL;DR. Kimi K3 is Moonshot’s successor to Kimi K2 and K2.5. It is a 2.8T-total / 104B-active native-multimodal MoE with a 1M-token context:
- each block has three Kimi Delta Attention (KDA) layers and one Gated MLA layer;
- Attention Residuals let each layer read earlier blocks;
- Stable LatentMoE activates 16 of 896 experts per token.
The report claims about 2.5× better scaling efficiency than K2. Post-training trains nine RL experts: three domains (general tasks, general agents, coding agents) × three reasoning efforts (low, high, max). It then merges them with multi-teacher on-policy distillation (MOPD). All numbers are vendor-reported.
This page also covers Kimi K2.5 (arXiv 2602.02276), whose RL algorithm K3 reuses and which introduced Agent Swarm.
Key idea
Section titled “Key idea”Specialize, then distill. Each expert is trained with RL. For a sampled domain and effort level , the student gets a clipped per-token reward from the matching teacher:
This dense reward plugs into the same RL framework, including partial rollouts. Finer top-k distillation objectives showed “no clear advantage”.
Reasoning effort is trained explicitly. Each problem has a cold-start budget . A trajectory whose token count exceeds gets reward −1. τ starts large for the max-effort expert and is annealed down for the high- and low-effort experts. This follows K2.5’s Toggle, which alternated budget-limited and unconstrained phases and cut output tokens by 25–30%.
K2.5’s Agent Swarm in brief (PARL). An episode runs in stages . In each stage the trainable orchestrator takes steps and may launch a group of frozen subagents that run in parallel, the -th taking steps. A stage lasts as long as its slowest subagent, so the cost is measured in critical steps, by analogy to the critical path of a computation graph:
The reward is . is task success; rewards launching subagents, to escape serial collapse (never parallelising); rewards subagents completing their subtasks, to block spurious parallelism (spawning useless subagents to collect ). Both auxiliary weights are annealed to 0 so the final policy optimises task success.
Results and discussion. Vendor-reported, at maximum effort:
- BrowseComp 91.2 (GPT-5.6 Sol 90.4, Claude Fable 5 88.0), at 2.03 USD per task;
- Terminal-Bench 2.1 88.3 (GPT-5.6 Sol 88.8);
- DeepSWE 67.5 (GPT-5.6 Sol 73.0, Fable 5 70.0);
- FrontierSWE 81.2 (Fable 5 86.6);
- OSWorld-Verified 84.8;
- MCPMark-Verified 94.5;
- ProgramBench 77.8. This is a different reporting setup from MiMo-V2.6’s ProgramBench table, so do not compare the two directly.
The report names the in-house suites where K3 trails the leaders, including Agent Behavior Bench and 24/7 ClawBench 2.0. Each score is tied to a harness (Kimi Code, Claude Code or Codex); on DeepSWE with mini-SWE-agent, K3 scores 67.3.
Post-training & agentic RL recipe
Section titled “Post-training & agentic RL recipe”-
Domains for the experts.
- General tasks: experience, vision, reasoning, faithfulness, search, knowledge work.
- General agents: long-horizon assistant, deep research, writing.
- Coding agents: SWE, kernels, web development.
RL compute scales with tool-call steps (Fig. 8).
-
Harness diversity. A white-box environment composes tools, prompts, context management, skills, memory and sub-agents. It can instantiate Kimi Code, Claude Code, Codex, OpenClaw, Hermes or new harnesses, and the configuration changes per task group.
-
Task synthesis. Agents build a knowledge graph by recursive web exploration. The graph is a DAG running from coarse to fine concepts. Sampled nodes and their ancestors form search queries, and a synthesis agent turns the retrieved materials into tasks.
-
Environments.
- Search and professional work, for example investment banking, data analysis and legal, over dozens to hundreds of steps.
- Visual reasoning with a Python sandbox.
- Kernel optimization in CUDA, Triton, TileLang and others. Reward is 0 above the error threshold, 0.5 for matching the expert implementation, and rises toward 1 near the roofline. Hack detection covers CUDA-graph replay, input caching and precision reduction.
- Personal assistant over mock Gmail, Notion, Slack and Canvas across simulated days, up to thousands of tool calls and millions of tokens per rollout.
- Autonomous Execution Tasks, where the agent is isolated from public and hidden verifiers and has a limited submission budget.
-
Infrastructure.
- Co-located RL keeps each 1M-context experiment within a few hundred GPUs. Idle KV prefixes are written back to a CPU-DRAM pool, and an auto-throttling scheduler controls rollout load.
- AgentENV Firecracker sandboxes support pause/resume, fork and snapshot, with up to 6.5× memory overcommit.
- 51,219,741 sandboxes were created from 1,505,678 images.
-
K2.5 additions.
- Agent Swarm (PARL): a trainable orchestrator over frozen subagents, trained with a critical-steps budget.
- Toggle for token efficiency.
- GRMs with multiple rubrics.
Connections
Section titled “Connections”- Kimi K2 and Kimi k1.5, the earlier RL algorithm and length control.
- MiMo-V2-Flash and the MOPD method page, the same specialize-then-distill pattern. On-policy distillation is the base method.
- Gated DeltaNet, the linear-attention lineage that KDA belongs to.
- Long-horizon tool agents and RL infrastructure.
- Tech reports for agent builders.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Two cost controls. (a) Reasoning-effort RL: a problem has cold-start budget b0 = 8,000 tokens, and the reward is overridden to −1 if T(y) > τ·b0. With τ = 1.5, what happens to a correct 13,000-token answer and to a correct 11,000-token answer? What changes when τ is annealed to 0.75 for the low-effort expert? (b) K2.5 Agent Swarm: an episode has 3 stages. The orchestrator takes 2, 1 and 1 steps, and the subagents in each stage take (5, 9, 4), (0) and (6, 6) steps. Compute the critical steps and the total steps.
What a strong answer covers
- (a) Threshold 1.5 × 8,000 = 12,000. The 13,000-token answer gets −1 despite being correct; the 11,000-token one keeps its task reward. At τ = 0.75 the threshold is 6,000, so both are −1 and the policy must compress.
- For agentic tasks T(y) counts all output tokens, including tool-call arguments, not only thinking tokens.
- (b) Critical steps = Σ_t (S_main + max_i S_sub): (2+9) + (1+0) + (1+6) = 19. Total steps = 4 + 18 + 0 + 12 = 34.
- Training against critical steps rewards balanced decomposition. Spawning subagents that do not shorten the longest branch gives no benefit.
- Mechanism
In K2.5's Parallel-Agent RL (PARL), the reward is r = λ1·r_parallel + λ2·r_finish + r_perf, with a trainable orchestrator and frozen subagents. Explain the failure each auxiliary term prevents, why λ1 and λ2 are annealed to 0, and why the subagents are frozen.
What a strong answer covers
- r_parallel rewards spawning subagents. It counters serial collapse, the local optimum where the orchestrator never parallelizes.
- r_finish rewards subagents finishing their subtasks. It counters spurious parallelism, a reward hack in which the orchestrator spawns many useless subagents to collect r_parallel.
- Both are shaping terms. They are annealed to 0 so that the final policy optimizes only task success (r_perf).
- Freezing the subagents (fixed intermediate checkpoints) avoids credit-assignment ambiguity and the instability of co-training many policies. The orchestrator is trained first with small subagents and later with larger ones.
- Reported: BrowseComp 78.4 with the swarm vs 60.6 single-agent, WideSearch 72.7 → 79.0, and up to 4.5× lower latency.
- Design
Kimi K3 trains with a "white-box" harness environment that can instantiate Kimi Code, Claude Code, Codex, OpenClaw and Hermes, and with AgentENV microVM sandboxes. You are building an RL pipeline for a 30B coding agent. Which ideas do you adopt, and what cheaper substitutes would you use?
What a strong answer covers
- Harness randomization: compose tool schemas, system prompts, context-management strategies and sub-agents per task group so that the policy does not overfit one scaffold. A cheap version is 3–4 mini-harnesses, as in MiMo-V2.6.
- Pause/resume sandboxes: the sandbox waits on model inference for up to 98% of its lifetime, so pausing it frees CPU and memory. Checkpoint and resume take about 133 ms and 49 ms with dirty-page snapshots, and fork copies a live sandbox so that a reward judge can inspect it without side effects.
- Partial rollout: stop each iteration when a fraction λ of the N·K trajectories finish and resume the rest next iteration. Pair it with a per-token regularizer, because the stale tails become off-policy.
- Hack-resistant rewards: separate the agent from the verifiers, use public plus hidden verifiers, and for performance tasks detect known exploits such as CUDA-graph replay, input caching and precision reduction.
- Measure transfer on a harness held out from training, and report harness and effort level with every score.