Training

Pinned sources Kimi K2.5 report (arXiv 2602.02276v2) · model card (moonshotai/Kimi‑K2.5 @ 4d01dfe) · for Kimi K2, its report (arXiv 2507.20534v2) · no training code is published

  1. Kimi K2, July 2025, predecessor 4 stages
  2. Start of training
  3. Pre‑training, constant rateKimi K210T4KNTPWhat trains: all
  4. Pre‑training, decayKimi K25.5T4KNTPWhat trains: all
  5. Inside the 15.5T or after it: not stated
  6. AnnealingKimi K2400B4KNTPWhat trains: all
  7. Long‑context activationKimi K260B32KNTPWhat trains: allYaRN, 128K
  8. Kimi-K2-Base
  9. Kimi-K2-Base or a near-end checkpoint: not settled
  10. A Kimi K2 checkpoint
  11. Start: SigLIP-SO-400M
  12. Vision encoder: captionsMoonViT-3D1T4KCaptionWhat trains: ViT
  13. Vision encoder: projectorMoonViT-3Dnot statednot statednot statedWhat trains: projectornot stated: tokens, context, objective
  14. MoonViT-3D
  15. Joint pre‑trainingtext and vision15T4KNTPtext, with vision as inputWhat trains: all+ vision encoder
  16. Long‑context mid‑traininglong text and video500B→200B32→256KNTPtext, with vision as inputWhat trains: allYaRN, 262,144
  17. Zero‑vision SFTtext-only datanot statednot statedSFTnot statednot stated: tokens, context, what trains
  18. Outcome‑based visual RLvision-critical tasksnot statednot statedRLnot statednot stated: tokens, context, what trains
  19. Joint multimodal RLdomains by abilitynot statednot statedRLnot statednot stated: tokens, context, what trains
  20. Kimi K2.5
  • tokens, log scale
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published
  • a join the sources leave unexplained

Joint pre-training

×

Pre-training continues from a Kimi K2 checkpoint on 15T more tokens of text and vision at 4K, the vision encoder and the language model training together.

Next-token prediction

L=−1T∑i=2T+1log⁡Pi[ti]\mathcal L=-\frac1T\sum_{i=2}^{T+1}\log P_i[t_i]
In words

At every position the model gives each token of the vocabulary a probability of coming next; the loss is the negative logarithm of the probability it gave the token that does come next, averaged over the sequence.

tit_i: the token at position ii; Pi[ti]P_i[t_i]: the probability the model, reading the tokens before it, gave that token; TT: the sequence length.

Tokens
15T
Context
4,096
Vision
early, at a moderate ratio
Data
K2’s, more code; captions, documents, video, screenshots

Not disclosed Learning rate · Batch · Steps · Optimizer · Vision-to-text ratio

Why

At a fixed budget of vision and text tokens, adding vision early at a low ratio did better than adding it late at a high one (Table 1). Kimi K2.5 report §2.1, p. 3

When vision arrived mid-way or late, text ability first dipped, then recovered; early fusion kept it steady (Figure 9). Kimi K2.5 report §B.1, p. 22

All settings7
Tokens
15T vision–text tokens; the report also says its three pre-training stages process “approximately 15T tokens” together
Context
4,096
Data
Kimi K2’s distribution extended with unique tokens, more weight on code and a cap on the epochs of each source; text from web, code, mathematics and knowledge; vision from captions, interleaved documents, OCR, knowledge, perception, video, and GUI screenshots with action trajectories
Vision
A moderate vision ratio, integrated early in training; the report’s ablation found late, vision-heavy training worse
Trainable
The vision encoder and the language model
Objective
Next-token prediction on the text tokens, with images and video in the context
Hardware
NVIDIA H800 clusters, 8 × 400 Gbps RoCE between nodes; Kimi K2’s training infrastructure with minimal modifications, the vision encoder replicated on every GPU and run in its own forward and backward phases around the backbone’s (Decoupled Encoder Process)
Sources7