Training

Pinned sources Kimi K2 report (arXiv 2507.20534v2) · no training code is published

  1. Start of training
  2. Pre‑training, constant rate10T4KNTPWhat trains: all
  3. Pre‑training, decay5.5T4KNTPWhat trains: all
  4. Inside the 15.5T or after it: not stated
  5. Annealing400B4KNTPWhat trains: all
  6. Long‑context activation60B32KNTPWhat trains: allYaRN, 128K
  7. Kimi-K2-Base
  8. SFTnot statednot statedSFTnot statednot stated: tokens, context, what trains
  9. RLnot statednot statedRLas in K1.5not statednot stated: tokens, context, what trains
  10. Kimi-K2-Instruct
  • tokens, log scale
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published
  • a join the sources leave unexplained

SFT

×

Supervised fine-tuning with Muon on a large instruction set, including synthesized multi-step tool-use trajectories.

Supervised fine-tuning

LSFT=−∑t∈ylog⁡P(yt∣x,y<t)\mathcal L_{\mathrm{SFT}}=-\sum_{t\in y}\log P(y_t\mid x,y_{<t})
In words

The model is trained on examples of the answers wanted, prompts with their responses, by the cross-entropy of next-token prediction on the responses.

xx: the prompt; yy: the response; the prompt’s tokens are left out of the loss.

Data
instructions with responses from K1.5 and domain experts
Optimizer
Muon

Not disclosed Tokens · Context · Learning rate · Epochs

Why

A checkpoint pre-trained with Muon gives the best results when it is fine-tuned with Muon too. Kimi K2 report §3.1, p. 9

What the terms meanMuon · Trajectory
Muon
An optimizer for weight matrices: it keeps a momentum of the gradients and replaces each matrix’s momentum by its nearest orthogonal matrix (a few Newton–Schulz iterations), so every direction of the matrix is updated by a similar amount. Kimi K2 report §2.1, pp. 3–4
Trajectory
The record of a model working through a task: its reasoning, its tool calls and what the tools returned, turn by turn.
All settings4
Optimizer
Muon, as in pre-training: a Muon-pre-trained checkpoint fine-tunes best with Muon
Data
Instructions across domains; responses from Kimi K1.5 and in-house domain experts, judged and filtered by LLMs or humans
Agentic data
A pipeline synthesizing tool specs, agents with tasks, and trajectories of tool use, filtered by a judge
Critic
The model’s ability to judge its own outputs, used later as a reward, is initialized in this stage from preference data
Sources3