Training

Pinned sources Kimi K3 technical report @ 3cb39df · no training code is published

  1. Start of training
  2. Pre‑training, 8K8KNTPtext and visionMTPWhat trains: allMTP layer
  3. Pre‑training, 64K64KNTPtext and visionMTPWhat trains: all
  4. Cooldown, 256K256KNTPWhat trains: all
  5. Cooldown, 1M1MNTPWhat trains: all
  6. SFTnot statedSFTnot statedMXFP4 MoE expertsnot stated: context, what trains
  7. Cold-start model
  8. RL: nine expert models1MRLKimi K2.5’snot statednot stated: what trains
  9. Nine expert models
  10. Where the student starts: not stated
  11. Multi‑teacher on‑policy distillationnot statedMOPD9 teachersnot statednot stated: context, what trains
  12. Kimi K3

Not stated for any stage: tokens.

  • NTPdashed: concluded, no source names it
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published
  • a join the sources leave unexplained

RL: nine expert models

×

Reinforcement learning trains nine separate models, the report’s experts, one for each of three domains at each of three reasoning efforts; they are not the MoE experts inside the model.

Reinforcement learning

The model writes responses, a reward scores them, and the model is moved toward the responses that score higher.

LRL=1N∑j,i(cjiAj−τDji)\mathcal L_{\mathrm{RL}}=\tfrac1N\sum_{j,i}\big(c_j^iA_j-\tau D_j^i\big)

Kimi K2.5 report, eq. 1, for one problem, in the atlas’s letters and parentheses

What the letters mean

For token ii of response jj: cjic_j^i, the ratio of its probability under the model being trained to the previous policy’s, clipped to [α,β][\alpha,\beta]; DjiD_j^i, the squared logarithm of that ratio, weighted by τ\tau. AjA_j: the response’s reward less the mean of the KK responses to its problem. NN: the tokens of all of them.

The Kimi K3 report says its policy optimization “follows the algorithm in Kimi K2.5” and does not write it.

Expert models
3 domains × 3 efforts: 9 models
Order over efforts
max first, then high and low
Budget rule
over budget: reward −1
Rewards
environment checks; a generative reward model
Context
1M

Not disclosed Responses per prompt (K) · Prompts per iteration (N) · The share of rollouts after which generation pauses (λ) · The budget multiplier (τb)(\tau_b) · The verbosity multiplier (σ) · Steps · Learning rate · Tokens

Why

One expert is trained for each broad domain at every reasoning effort, in place of a specialized model for each task. Kimi K3 report §4.1.2, p. 12

Pausing generation once a fraction of the rollouts completes lets optimization proceed without waiting for the slowest trajectories. Kimi K3 report §4.1.2, p. 13

What the terms mean5
Reasoning effort
How much the model may reason before it answers: a level given in its prompt, which training ties to a token budget or a length penalty. Kimi K3 report §F, p. 47
GRPO
For each prompt the model writes a group of answers; each is scored and compared with the group’s mean, and the model is moved toward the answers above it, by a step clipped near the policy that wrote them and with a penalty for leaving a reference model.
Generative reward model
A language model used as a judge: it writes an assessment of a response, here against rubrics, and gives a score or a verdict. Kimi K3 report §4.1.2, p. 13
Rollout
A response the policy writes during reinforcement learning, tool calls included, to be scored.
Trajectory
The record of a model working through a task: its reasoning, its tool calls and what the tools returned, turn by turn.
All settings13
Expert models
3 domains (general tasks, general agents, coding agents) × 3 reasoning efforts (low, high, max): 9 experts
Order over efforts
A max-budget expert first, with a large budget multiplier τb\tau_b; then τb\tau_b annealed to smaller values for the high- and low-effort experts. The report writes τ\tau; τb\tau_b is the atlas’s, since the RL objective’s coefficient is also τ\tau
Budget rule
A trajectory whose tokens exceed τb⋅b0(x)\tau_b\cdot b_0(x), b0b_0 the budget estimated from the cold-start model, has its task reward replaced by −1
Rollouts
K completions for each of N prompts; generation pauses once a fraction λ of the trajectories completes, and paused rollouts resume first in the next iteration
Algorithm
Policy optimization “follows the algorithm in Kimi K2.5”, with a per-token regularization; this report does not write it. The Kimi K2.5 report does (eq. 1): the clipped token-level ratio to the old policy times the reward less the group’s mean, less τ times the squared log-ratio
Against GRPO
The advantage is the reward less the group’s mean, with no division by its deviation; the ratio to the old policy is clipped to [α, β] token by token, a mask on the gradient whatever the advantage’s sign; the holding term is τ times the squared log-ratio to the old policy, where GRPO has a KL term to a reference; the average is over the batch’s tokens
Context
1M: “each 1M-context Kimi K3 RL experiment”
Effort in the prompt
A thinking-effort option message, turned into a short instruction in context; the schema has four levels, of which the model supports a subset
Harnesses
Different harness configurations are constructed for different task groups during RL
Speculative decoding
Used in rollouts: it “further accelerates request turnover within relatively fixed tool-call intervals”
Compute
“Within a few hundred GPUs” for each RL experiment, rollout and training on the same devices
Rewards
Verifiable tasks: the environments’ checks, such as a verifier’s evaluation of the final state. Other tasks: an agentic generative reward model, a tournament of binary comparisons scored against a rubric the judge writes
Number format
Quantization-aware training: MoE expert weights in MXFP4, activations in MXFP8; the other parts in higher precision
Sources9