The Rabbit Hole / AI / Model architectures
MiniMax · Architecture mapMiniMax-M2
MiniMax goes back to full attention: grouped-query attention with QK-norm, and a mixture of experts with only about 10B active.
MiniMax-M2, 2025 · MiniMax release timeline
Inside MiniMax-M2
Inside grouped-query attention · Transformer layers 1–62
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers 1–62 · 62 repetitions
- 256 routed experts (size 1536), 8 chosen per token, sigmoid scores with a routing bias and renormalised weights. All 62 layers are mixture of experts: there are no dense layers and no shared expert.
- Attention and positions
- 48 query heads share 8 key/value heads of size 128. Query and key normalisation covers the whole projected width (6144 and 1024) and is applied before rope. Rotary positions cover 64 of the 128 dimensions of each head (base 5,000,000).
- Memory
- Keys and values for 8 heads of size 128 per token per layer.
What changes from M1
M2 uses full grouped-query attention throughout: 48 query heads and eight key/value heads. Whole-vector QK-norm runs before RoPE.
Every layer selects eight of 256 experts, with no dense opening layers or shared expert. The config lists three auxiliary prediction modules. Expert weights are stored in FP8.
MiniMax’s API lists a 204,800-token context; the released config allows 196,608 positions.
How it scores
AA Intelligence Index
Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| MiniMax-M2 | 19 | AA Index 4.3.2Published checkpoint |
Explore the components
- Embeddings: giving every token a meaning
- Residual connections: when more layers made things worse
- A whole LLM, layer by layer
- RMSNorm: keeping a token's scale under control
- Grouped-query attention (GQA): sharing keys and values in groups
- QK normalisation (QK-Norm) and soft-capping
- Partial RoPE: rotating only part of each head
- Mixture of experts (MoE): a big model that uses only part of itself
- Routing: selecting experts and weighting their work
- Multi-token prediction (MTP): learning to look further ahead
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- RoPE: position as a rotation