Skip to content
StackDecode
LLM Library
Mixture of expertsOpen weightsArchitecture animation

Kimi K2

A trillion-parameter open MoE aimed at agentic and coding work.

At a glance

Made by
Moonshot AI
Released
2025
Type
Mixture of experts
Access
Open weights
Parameters
about 1T
Active per token
about 32B
Context window
128k tokens
Attention
Multi-head latent attention (like DeepSeek-V3)

How it works

Kimi K2 follows the DeepSeek-V3 design with more experts and fewer attention heads, and was trained with the Muon optimiser variant. It is tuned for tool use.

Architecture, step by step

A token travels from text in to prediction out. The boxed layers repeat many times.

× N layersText inTokenizerEmbedding + positionNormSelf-attentionAdd (residual)NormRouter picks top-k expertsSelected experts (MLPs)Add (residual)Final normLM head (vocabulary scores)Softmax, then sample next token

Raw text enters the system, for example "The cat sat on the".

stage:
1/13
part:
Text in
1/13

The green dot is one token travelling through the model. The boxed section repeats for every layer.

What stands out

  • About 1T total, 32B active
  • DeepSeek-style MLA and MoE
  • Agentic tool use focus

Keep in mind

Very large; check the model card for exact figures.

Related models