Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

MiniMax · Architecture map

MiniMax-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

Parameters
230B · 10B active
Layers
62
Width
3,072
Mixer
Grouped-query
Select a component to explore it.
The complete MiniMax-M2 architectureInput IDs select embeddings. Each layer adds its updates along the residual stream. 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). Keys and values for 8 heads of size 128 per token per layer. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup200,0643,072Input token vectorsCL3,072Transformer layers 1–62Transformer layers 1–62 · 62 repetitions62 layers · one layer shown62RMSNorm before this operation.RMSNormGrouped-query attention: 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.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. 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.RoPENormalise queries and keys before attention scores. 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).QK-normAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 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.MoE8 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Add the branch output to the original stream. +8 of 256 expertsResidual streamLast columnCL3,072Final RMSNormA separate learned vocabulary projection.Output weights3,072200,064Vocabulary scoresSoftmax200,064Next-token probabilities
Inside grouped-query attention · Transformer layers 1–62
6 query heads per group × 8 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

MiniMax-M2: Transformer layers 1–62 · grouped-query attention48 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). Keys and values for 8 heads of size 128 per token per layer.8 KV groups; the front face shows one representative.8 KV groups6 heads / group; the front face shows one representative.6 heads / groupAttention input. 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).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input3,072CLWq. 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).Wq3,0726,144Wk. 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).Wk3,0721,024Wv. 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).Wv3,0721,024RMSNorm. 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).RMSNorm6,144RoPE. 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).RoPERMSNorm. 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).RMSNorm1,024RoPE. 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).RoPEK cache. 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).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 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).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 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).Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 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).CLCL×. 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).×Joined heads. 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).48Wo. 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).Wo6,1443,072Attention output. 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).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output3,072CL
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 / sizeResultEvaluation
MiniMax-M219AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. MiniMax-M2 scores 19; its bin is highlighted. Known estimates are excluded.Model variants0.0–3.0: 0 variants3.0–6.0: 15 variants6.0–9.0: 21 variants9.0–12.0: 13 variants12.0–15.0: 9 variants15.0–18.0: 5 variants18.0–21.0: 5 variants21.0–24.0: 6 variants24.0–27.0: 4 variants27.0–30.0: 2 variants30.0–33.0: 2 variants33.0–36.0: 2 variants36.0–39.0: 2 variants39.0–42.0: 3 variants42.0–45.0: 4 variants45.0–48.0: 3 variants48.0–51.0: 0 variants51.0–54.0: 0 variants54.0–57.0: 1 variants57.0–60.0: 0 variants21003060AA Index 4.3.2 →
MiniMax-M2: 19. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map