The Rabbit Hole / AI / Model architectures
Xiaomi · Architecture mapMiMo 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
Inside grouped-query attention · Layer 1 (global attention)
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Sliding-window layers (all the others)
Earlier context dimmed · current token bright · dashed regions contain cached entries.
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.
Inside grouped-query attention · First global dense layer
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Local expert layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- First global dense layer · 1 repetitions
- Dense SwiGLU intermediate width 16384.
- Local expert layers · 39 repetitions
- Eight of 256 routed experts of intermediate width 2048; no shared expert.
- Global expert layers · 8 repetitions
- Eight of 256 routed experts of intermediate width 2048; no shared expert.
- Attention and positions
- Global GQA uses 64 query heads and 4 KV heads; local GQA uses 64 query heads and 8 KV heads. Keys are 192 wide, values 128; RoPE rotates 64 coordinates. Local attention has a 128-token window and learned sinks.
- Memory
- Global layers retain full KV history; local layers retain 128 tokens, using their own KV-head counts.
Inside grouped-query attention · First global dense layer
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Local expert layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- First global dense layer · 1 repetitions
- Dense SwiGLU intermediate width 16384.
- Local expert layers · 60 repetitions
- Eight of 384 routed experts of intermediate width 2048; no shared expert.
- Global expert layers · 9 repetitions
- Eight of 384 routed experts of intermediate width 2048; no shared expert.
- Attention and positions
- Global GQA uses 128 query heads and 8 KV heads; local GQA uses 128 query heads and 8 KV heads. Keys are 192 wide, values 128; RoPE rotates 64 coordinates. Local attention has a 128-token window and learned sinks.
- Memory
- Global layers retain full KV history; local layers retain 128 tokens, using their own KV-head counts.
What changes between variants
- V2.6 keeps the global/local attention mix and adds vision and audio input encoders. The first layer is dense; later layers use eight routed experts per token.
- Flash uses 48 layers at width 4,096; Pro uses 70 at width 6,144. Their execution-order strips show the different local/global patterns.
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 |
|---|---|---|
| MiMo-V2-FlashV2 Flash | 21 | AA Index 4.3.2Best evaluated setting |
| MiMo-V2.6-FlashV2.6 Flash | 38 | AA Index 4.3.2Published checkpoint |
| MiMo-V2.6-ProV2.6 Pro | 46 | 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
- Sliding-window attention (SWA): a cache that stops growing
- Attention sinks: where does unused attention go?
- Grouped-query attention (GQA): sharing keys and values in groups
- Partial RoPE: rotating only part of each head
- Mixture of experts (MoE): a big model that uses only part of itself
- Multi-token prediction (MTP): learning to look further ahead
- Speculative decoding: guessing ahead and checking in one pass
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- RoPE: position as a rotation
- Neural network layers: more inputs, more neurons
- Routing: selecting experts and weighting their work
- Vision encoders: how can image patches join the text?
- Audio inputs: how can a language model listen?
- Transformer layers: attention is only half of what you need
Sources for this map
- Xiaomi MiMo release history
- MiMo-V2-Flash config.json
- MiMo-V2-Flash model card
- Context length: pretrained at 32K, extended to 256K in the final stage
- XiaomiMiMo/MiMo-V2.6-Flash-RL configuration
- XiaomiMiMo/MiMo-V2.6-Flash-RL model card
- XiaomiMiMo/MiMo-V2.6-Pro-RL configuration
- XiaomiMiMo/MiMo-V2.6-Pro-RL model card