The Rabbit Hole / AI / Model architectures
Mistral AI · Architecture mapMistral Large 4
A 1.05T multimodal MoE with indexed latent attention, reused token selections and cross-layer KV sharing.
Mistral-Large-4-1T-A52B released weights, October 2026 · Mistral release timeline
Inside Mistral Large 4
Inside latent attention · Initial dense layer
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside latent attention · NoPE expert layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside latent attention · Reused-selection expert layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside latent attention · Shared-KV expert layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Initial dense layer · 1 repetitions
- 64 rotary and 64 content key channels. 24576-wide dense SwiGLU.
- selects past tokens
- 32-head indexer selects up to 2048 past tokens.
- Indexed expert layers · 25 repetitions
- 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.
- selects past tokens
- 32-head indexer selects up to 2048 past tokens.
- NoPE expert layers · 9 repetitions
- 128 unrotated key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.
- selects past tokens
- 32-head indexer selects up to 2048 past tokens.
- Reused-selection expert layers · 28 repetitions
- 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.
- reuses token selection
- Reuse top-2048 indices from the preceding full indexer.
- Shared-KV expert layers · 9 repetitions
- 128 unrotated key channels. Four of 128 routed experts plus one shared expert, each 6144 wide. KV comes from physical layer 36.
- selects past tokens
- 32-head indexer selects up to 2048 past tokens.
- Attention and positions
- 72 layers use 64 query heads with direct query projection, 128-wide keys and values, and a 512-wide KV latent. Three layers use 64 rotary key channels followed by one NoPE layer. A 32-head indexer selects up to 2048 tokens; later pairs reuse selections. From layer 40, every fourth layer reuses layer 36 KV.
- Memory
- Latent KV is stored per producer layer. Layers 40, 44, …, 72 share layer 36 KV; indexer selection reuse is independent of KV sharing.
An improved checkpoint after the preview
The released weights include further reinforcement learning after the public preview. Its benchmark results remain separate from the preview.
The first decoder layer uses a dense feed-forward network; the other 71 use experts. Token selection reuse and KV sharing are different mechanisms: a layer can reuse indexer choices while still constructing its own KV.
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
- Multi-head latent attention (MLA): caching a compressed latent
- KV sharing across layers: could later layers reuse an earlier cache?
- Mixture of experts (MoE): a big model that uses only part of itself
- RoPE: position as a rotation
- Vision encoders: how can image patches join the text?
- QK normalisation (QK-Norm) and soft-capping
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- Transformer layers: attention is only half of what you need
- Routing: selecting experts and weighting their work
- NoPE: attention with no position information at all