Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Xiaomi · Architecture map

MiMo V2 and V2.6

Global/local GQA and MoE, with vision and audio encoders in the V2.6 Flash and Pro variants.

MiMo-V2-Flash (December 2025), MiMo-V2.6 Flash and Pro (2026) · MiMo release timeline

Inside MiMo V2 and V2.6

Size
Parameters
309B · 15B active
Layers
48
Width
4,096
Mixer
Grouped-query
Select a component to explore it. Layer colours match the execution-order strip.
The complete MiMo V2 and V2.6 architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128. Global layers store all tokens for 4 key/value heads. Sliding-window layers store only the last 128 tokens for 8 key/value heads. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup152,5764,096Input token vectorsCL4,096Execution order · 48 layersLayer 1: Layer 1 (global attention)Layer 2: Sliding-window layers (all the others)Layer 3: Sliding-window layers (all the others)Layer 4: Sliding-window layers (all the others)Layer 5: Sliding-window layers (all the others)Layer 6: Global attention layers 6, 12, 18 and so on to 48Layer 7: Sliding-window layers (all the others)Layer 8: Sliding-window layers (all the others)Layer 9: Sliding-window layers (all the others)Layer 10: Sliding-window layers (all the others)Layer 11: Sliding-window layers (all the others)Layer 12: Global attention layers 6, 12, 18 and so on to 48Layer 13: Sliding-window layers (all the others)Layer 14: Sliding-window layers (all the others)Layer 15: Sliding-window layers (all the others)Layer 16: Sliding-window layers (all the others)Layer 17: Sliding-window layers (all the others)Layer 18: Global attention layers 6, 12, 18 and so on to 48Layer 19: Sliding-window layers (all the others)Layer 20: Sliding-window layers (all the others)Layer 21: Sliding-window layers (all the others)Layer 22: Sliding-window layers (all the others)Layer 23: Sliding-window layers (all the others)Layer 24: Global attention layers 6, 12, 18 and so on to 48Layer 25: Sliding-window layers (all the others)Layer 26: Sliding-window layers (all the others)Layer 27: Sliding-window layers (all the others)Layer 28: Sliding-window layers (all the others)Layer 29: Sliding-window layers (all the others)Layer 30: Global attention layers 6, 12, 18 and so on to 48Layer 31: Sliding-window layers (all the others)Layer 32: Sliding-window layers (all the others)Layer 33: Sliding-window layers (all the others)Layer 34: Sliding-window layers (all the others)Layer 35: Sliding-window layers (all the others)Layer 36: Global attention layers 6, 12, 18 and so on to 48Layer 37: Sliding-window layers (all the others)Layer 38: Sliding-window layers (all the others)Layer 39: Sliding-window layers (all the others)Layer 40: Sliding-window layers (all the others)Layer 41: Sliding-window layers (all the others)Layer 42: Global attention layers 6, 12, 18 and so on to 48Layer 43: Sliding-window layers (all the others)Layer 44: Sliding-window layers (all the others)Layer 45: Sliding-window layers (all the others)Layer 46: Sliding-window layers (all the others)Layer 47: Sliding-window layers (all the others)Layer 48: Global attention layers 6, 12, 18 and so on to 48Layer 1 (global attention) · matches this colour in the execution-order barLayer 1 (global attention)Layer 1 (global attention) · 1 repetitionsIndependent layer type1RMSNorm before this operation.RMSNormGrouped-query attention: Global attention with a dense feed-forward network (intermediate size 16384).Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. Global attention with a dense feed-forward network (intermediate size 16384).RoPEAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormDense feed-forward: Global attention with a dense feed-forward network (intermediate size 16384).Densefeed-forwardAdd the branch output to the original stream. +Layer type · execution order aboveGlobal attention layers 6, 12, 18 and so on to 48 · matches this colour in the execution-order barGlobal attention layers 6, 12, 18 a…Global attention layers 6, 12, 18 and so on to 48 · 8 repetitions8 layers · one layer shown8RMSNorm before this operation.RMSNormGrouped-query attention: Full attention over the whole context with 4 key/value heads and rope base 5,000,000, no attention sink, then the expert block.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. Full attention over the whole context with 4 key/value heads and rope base 5,000,000, no attention sink, then the expert block.RoPEAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Full attention over the whole context with 4 key/value heads and rope base 5,000,000, no attention sink, then the expert block.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 expertsLayer type · execution order aboveSliding-window layers (all the others) · matches this colour in the execution-order barSliding-window layers (all the othe…Sliding-window layers (all the others) · 39 repetitions39 layers · one layer shown39RMSNorm before this operation.RMSNormSliding-window attention: 128-token window with 8 key/value heads, a learned attention-sink logit per head and rope base 10,000, then the expert block. 256 routed experts (size 2048), 8 chosen per token, no shared expert.Sliding-windowattentionRotate query and key position components before attention scores; values are unchanged. 128-token window with 8 key/value heads, a learned attention-sink logit per head and rope base 10,000, then the expert block. 256 routed experts (size 2048), 8 chosen per token, no shared expert.RoPESliding-window attention over 128 tokens.128Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Attention sinkAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 128-token window with 8 key/value heads, a learned attention-sink logit per head and rope base 10,000, then the expert block. 256 routed experts (size 2048), 8 chosen per token, 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 expertsLayer type · execution order aboveAfter all 48 layer executionsResidual streamLast columnCL4,096Final RMSNormA separate learned vocabulary projection.Output weights4,096152,576Vocabulary scoresSoftmax152,576Next-token probabilities
Inside grouped-query attention · Layer 1 (global attention)
16 query heads per group × 4 K/V groups.

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

MiMo V2 and V2.6: Layer 1 (global attention) · grouped-query attentionMostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128. Global layers store all tokens for 4 key/value heads. Sliding-window layers store only the last 128 tokens for 8 key/value heads.4 KV groups; the front face shows one representative.4 KV groups16 heads / group; the front face shows one representative.16 heads / groupAttention input. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input4,096CLWq. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wq4,096192Wk. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wk4,096192Wv. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wv4,096128RoPE 64. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.RoPE 64RoPE 64. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.RoPE 64K cache. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache192CLV cache. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier context is dimmed; outlined columns are current.Current token computation.Q context192CLScaled query–key scores, masking and softmax. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.CLCL×. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.×Joined heads. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.64Wo. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wo8,1924,096Attention output. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output4,096CL
Inside grouped-query attention · Sliding-window layers (all the others)
8 query heads per group × 8 K/V groups.

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

MiMo V2 and V2.6: Sliding-window layers (all the others) · grouped-query attentionMostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128. Global layers store all tokens for 4 key/value heads. Sliding-window layers store only the last 128 tokens for 8 key/value heads.8 KV groups; the front face shows one representative.8 KV groups8 heads / group; the front face shows one representative.8 heads / groupAttention input. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input4,096CLWq. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wq4,096192Wk. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wk4,096192Wv. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wv4,096128RoPE 64. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.RoPE 64RoPE 64. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.RoPE 64K cache. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache192≤ 128V cache. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128≤ 128Q context. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier context is dimmed; outlined columns are current.Current token computation.Q context192CLScaled query–key scores, masking and softmax. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Window 128Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.SinkCLCL×. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.×Joined heads. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.64Wo. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Wo8,1924,096Attention output. Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output4,096CL
Model-specific details
Layer 1 (global attention) · 1 repetitions
Global attention with a dense feed-forward network (intermediate size 16384).
Global attention layers 6, 12, 18 and so on to 48 · 8 repetitions
Full attention over the whole context with 4 key/value heads and rope base 5,000,000, no attention sink, then the expert block.
Sliding-window layers (all the others) · 39 repetitions
128-token window with 8 key/value heads, a learned attention-sink logit per head and rope base 10,000, then the expert block. 256 routed experts (size 2048), 8 chosen per token, no shared expert.
Attention and positions
Mostly sliding-window layers (window 128, 64 query heads, 8 key/value heads, with a learned attention-sink bias) and a few global layers (64 query heads, 4 key/value heads). Query/key size 192, value size 128.
Memory
Global layers store all tokens for 4 key/value heads. Sliding-window layers store only the last 128 tokens for 8 key/value heads.

What changes between variants

How it scores

AA Intelligence Index

Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.

Checkpoint / sizeResultEvaluation
MiMo-V2-FlashV2 Flash21AA Index 4.3.2Best evaluated setting
MiMo-V2.6-FlashV2.6 Flash38AA Index 4.3.2Published checkpoint
MiMo-V2.6-ProV2.6 Pro46AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. MiMo-V2.6-Pro scores 46; 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 →
MiMo-V2.6-Pro: 46. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map