Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Mistral AI · Architecture map

Mistral 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

Parameters
1.05T · 52B active
Layers
72
Width
6,144
Mixer
Latent
Select a component to explore it. Layer colours match the execution-order strip.
The complete Mistral Large 4 architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 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. Latent KV is stored per producer layer. Layers 40, 44, …, 72 share layer 36 KV; indexer selection reuse is independent of KV sharing. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup204,8006,144Input token vectorsCL6,14430 vision layers of width 2048, 16 heads, 14-pixel patches and a projection with 2×2 spatial merging.Vision / videoencoderExecution order · 72 layersLayer 1: Initial dense layerLayer 2: Indexed expert layersLayer 3: Indexed expert layersLayer 4: NoPE expert layersLayer 5: Indexed expert layersLayer 6: Indexed expert layersLayer 7: Indexed expert layersLayer 8: NoPE expert layersLayer 9: Indexed expert layersLayer 10: Indexed expert layersLayer 11: Indexed expert layersLayer 12: NoPE expert layersLayer 13: Indexed expert layersLayer 14: Indexed expert layersLayer 15: Indexed expert layersLayer 16: NoPE expert layersLayer 17: Indexed expert layersLayer 18: Reused-selection expert layersLayer 19: Reused-selection expert layersLayer 20: NoPE expert layersLayer 21: Indexed expert layersLayer 22: Reused-selection expert layersLayer 23: Reused-selection expert layersLayer 24: NoPE expert layersLayer 25: Indexed expert layersLayer 26: Reused-selection expert layersLayer 27: Reused-selection expert layersLayer 28: NoPE expert layersLayer 29: Indexed expert layersLayer 30: Reused-selection expert layersLayer 31: Reused-selection expert layersLayer 32: NoPE expert layersLayer 33: Indexed expert layersLayer 34: Reused-selection expert layersLayer 35: Reused-selection expert layersLayer 36: NoPE expert layersLayer 37: Indexed expert layersLayer 38: Reused-selection expert layersLayer 39: Reused-selection expert layersLayer 40: Shared-KV expert layersLayer 41: Indexed expert layersLayer 42: Reused-selection expert layersLayer 43: Reused-selection expert layersLayer 44: Shared-KV expert layersLayer 45: Indexed expert layersLayer 46: Reused-selection expert layersLayer 47: Reused-selection expert layersLayer 48: Shared-KV expert layersLayer 49: Indexed expert layersLayer 50: Reused-selection expert layersLayer 51: Reused-selection expert layersLayer 52: Shared-KV expert layersLayer 53: Indexed expert layersLayer 54: Reused-selection expert layersLayer 55: Reused-selection expert layersLayer 56: Shared-KV expert layersLayer 57: Indexed expert layersLayer 58: Reused-selection expert layersLayer 59: Reused-selection expert layersLayer 60: Shared-KV expert layersLayer 61: Indexed expert layersLayer 62: Reused-selection expert layersLayer 63: Reused-selection expert layersLayer 64: Shared-KV expert layersLayer 65: Indexed expert layersLayer 66: Reused-selection expert layersLayer 67: Reused-selection expert layersLayer 68: Shared-KV expert layersLayer 69: Indexed expert layersLayer 70: Reused-selection expert layersLayer 71: Reused-selection expert layersLayer 72: Shared-KV expert layersInitial dense layer · matches this colour in the execution-order barInitial dense layerInitial dense layer · 1 repetitionsIndependent layer type1RMSNorm before this operation.RMSNormIndexed latent attention: 64 rotary and 64 content key channels. 24576-wide dense SwiGLU.Indexed latentattentionRotate query and key position components before attention scores; values are unchanged. 64 rotary and 64 content key channels. 24576-wide dense SwiGLU.RoPE32-head indexer selects up to 2048 past tokens.Token indexerSelected positionsAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: 64 rotary and 64 content key channels. 24576-wide dense SwiGLU.SwiGLUAdd the branch output to the original stream. +Layer type · execution order aboveIndexed expert layers · matches this colour in the execution-order barIndexed expert layersIndexed expert layers · 25 repetitions25 layers · one layer shown25RMSNorm before this operation.RMSNormIndexed latent attention: 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.Indexed latentattentionRotate query and key position components before attention scores; values are unchanged. 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.RoPE32-head indexer selects up to 2048 past tokens.Token indexerSelected positionsAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.MoE4 of 128 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +4 of 128 experts + 1sharedLayer type · execution order aboveNoPE expert layers · matches this colour in the execution-order barNoPE expert layersNoPE expert layers · 9 repetitions9 layers · one layer shown9RMSNorm before this operation.RMSNormIndexed latent attention: 128 unrotated key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.Indexed latentattentionNo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPE32-head indexer selects up to 2048 past tokens.Token indexerSelected positionsAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 128 unrotated key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.MoE4 of 128 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +4 of 128 experts + 1sharedLayer type · execution order aboveReused-selection expert layers · matches this colour in the execution-order barReused-selection expert layersReused-selection expert layers · 28 repetitions28 layers · one layer shown28RMSNorm before this operation.RMSNormIndexed latent attention: 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.Indexed latentattentionRotate query and key position components before attention scores; values are unchanged. 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.RoPEEarlier layerReuse top-2048 indices from the preceding full indexer.ReusedselectionSelected positionsAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 64 rotary and 64 content key channels. Four of 128 routed experts plus one shared expert, each 6144 wide.MoE4 of 128 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +4 of 128 experts + 1sharedLayer type · execution order aboveShared-KV expert layers · matches this colour in the execution-order barShared-KV expert layersShared-KV expert layers · 9 repetitions9 layers · one layer shown9RMSNorm before this operation.RMSNormIndexed latent attention: 128 unrotated key channels. Four of 128 routed experts plus one shared expert, each 6144 wide. KV comes from physical layer 36.Indexed latentattentionNo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPE32-head indexer selects up to 2048 past tokens.Token indexerSelected positionsAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 128 unrotated key channels. Four of 128 routed experts plus one shared expert, each 6144 wide. KV comes from physical layer 36.MoE4 of 128 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +4 of 128 experts + 1sharedLayer type · execution order aboveAfter all 72 layer executionsResidual streamLast columnCL6,144Final RMSNormA separate learned vocabulary projection.Output weights6,144204,800Vocabulary scoresSoftmax204,800Next-token probabilities
Inside latent attention · Initial dense layer
64 heads · 512 cached latent values + 64 rotary values.

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

Mistral Large 4: Initial dense layer · latent attention72 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. Latent KV is stored per producer layer. Layers 40, 44, …, 72 share layer 36 KV; indexer selection reuse is independent of KV sharing.1 shared latent cache; the front face shows one representative.1 shared latent cache64 attention heads; the front face shows one representative.64 attention headsAttention input. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input6,144CLWq. 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.Wq6,144128RoPE 64. 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.RoPE 64Wkv↓. 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.Wkv↓6,144512RMSNorm. 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.RMSNorm512Wkᴿ. 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.Wkᴿ6,14464RoPE 64. 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.RoPE 64cᴷⱽ ⊕ kᴿ. 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.cᴷⱽ ⊕ kᴿLatent cache. 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.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.Latent cache576CLWk↑. 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.Wk↑51264Wv↑. 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.Wv↑512128kᶜ ⊕ kᴿ. 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.kᶜ ⊕ kᴿ128Q context. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLTop 2048. 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.Top 2048Scaled query–key scores, masking and softmax. 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.CLCL×. 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.×Joined heads. 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.64Wo. 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.Wo8,1926,144Attention output. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output6,144CL
Inside latent attention · NoPE expert layers
64 heads · 512 cached latent values.

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

Mistral Large 4: NoPE expert layers · latent attention72 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. Latent KV is stored per producer layer. Layers 40, 44, …, 72 share layer 36 KV; indexer selection reuse is independent of KV sharing.1 shared latent cache; the front face shows one representative.1 shared latent cache64 attention heads; the front face shows one representative.64 attention headsAttention input. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input6,144CLWq. 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.Wq6,144128Wkv↓. 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.Wkv↓6,144512RMSNorm. 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.RMSNorm512Latent cache. 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.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.Latent cache512CLWk↑. 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.Wk↑512128Wv↑. 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.Wv↑512128Q context. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLTop 2048. 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.Top 2048Scaled query–key scores, masking and softmax. 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.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.NoPECLCL×. 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.×Joined heads. 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.64Wo. 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.Wo8,1926,144Attention output. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output6,144CL
Inside latent attention · Reused-selection expert layers
64 heads · 512 cached latent values + 64 rotary values.

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

Mistral Large 4: Reused-selection expert layers · latent attention72 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. Latent KV is stored per producer layer. Layers 40, 44, …, 72 share layer 36 KV; indexer selection reuse is independent of KV sharing.1 shared latent cache; the front face shows one representative.1 shared latent cache64 attention heads; the front face shows one representative.64 attention headsAttention input. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input6,144CLWq. 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.Wq6,144128RoPE 64. 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.RoPE 64Wkv↓. 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.Wkv↓6,144512RMSNorm. 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.RMSNorm512Wkᴿ. 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.Wkᴿ6,14464RoPE 64. 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.RoPE 64cᴷⱽ ⊕ kᴿ. 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.cᴷⱽ ⊕ kᴿLatent cache. 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.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.Latent cache576CLWk↑. 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.Wk↑51264Wv↑. 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.Wv↑512128kᶜ ⊕ kᴿ. 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.kᶜ ⊕ kᴿ128Q context. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLReuse 2048. 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.Reuse 2048Earlier choice. 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.Earlier choiceScaled query–key scores, masking and softmax. 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.CLCL×. 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.×Joined heads. 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.64Wo. 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.Wo8,1926,144Attention output. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output6,144CL
Inside latent attention · Shared-KV expert layers
64 heads · 512 cached latent values.

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

Mistral Large 4: Shared-KV expert layers · latent attention72 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. Latent KV is stored per producer layer. Layers 40, 44, …, 72 share layer 36 KV; indexer selection reuse is independent of KV sharing.1 shared latent cache; the front face shows one representative.1 shared latent cache64 attention heads; the front face shows one representative.64 attention headsAttention input. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input6,144CLWq. 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.Wq6,144128Wkv↓. 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.Wkv↓6,144512RMSNorm. 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.RMSNorm512Latent cache. 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.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.Latent cache512CLWk↑. 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.Wk↑512128Wv↑. 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.Wv↑512128Q context. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLTop 2048. 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.Top 2048Scaled query–key scores, masking and softmax. 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.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.NoPECLCL×. 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.×Joined heads. 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.64Wo. 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.Wo8,1926,144Attention output. 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.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output6,144CL
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

Sources for this map