Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

LG AI Research · Architecture map

K-EXAONE

Local RoPE layers and global NoPE layers, with routed and shared experts. Version 2.0 grows the stack to 78 layers and 256 experts.

K-EXAONE 236B-A23B, December 2025; K-EXAONE 2.0 750B-A37B, July 2026 · EXAONE release timeline

Inside K-EXAONE

Size
Parameters
236B · 23B active
Layers
48
Width
6,144
Mixer
Grouped-query
Select a component to explore it. Layer colours match the execution-order strip.
The complete K-EXAONE architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding. Global layers store keys and values for 8 heads of size 128 for every token. Sliding-window layers store only the last 128 tokens (8 heads of size 128). Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup153,6006,144Input token vectorsCL6,144Execution order · 48 layersLayer 1: Layer 1 (sliding window, dense)Layer 2: Sliding-window layers (three of every four)Layer 3: Sliding-window layers (three of every four)Layer 4: Global layers 4, 8, 12 and so on to 48Layer 5: Sliding-window layers (three of every four)Layer 6: Sliding-window layers (three of every four)Layer 7: Sliding-window layers (three of every four)Layer 8: Global layers 4, 8, 12 and so on to 48Layer 9: Sliding-window layers (three of every four)Layer 10: Sliding-window layers (three of every four)Layer 11: Sliding-window layers (three of every four)Layer 12: Global layers 4, 8, 12 and so on to 48Layer 13: Sliding-window layers (three of every four)Layer 14: Sliding-window layers (three of every four)Layer 15: Sliding-window layers (three of every four)Layer 16: Global layers 4, 8, 12 and so on to 48Layer 17: Sliding-window layers (three of every four)Layer 18: Sliding-window layers (three of every four)Layer 19: Sliding-window layers (three of every four)Layer 20: Global layers 4, 8, 12 and so on to 48Layer 21: Sliding-window layers (three of every four)Layer 22: Sliding-window layers (three of every four)Layer 23: Sliding-window layers (three of every four)Layer 24: Global layers 4, 8, 12 and so on to 48Layer 25: Sliding-window layers (three of every four)Layer 26: Sliding-window layers (three of every four)Layer 27: Sliding-window layers (three of every four)Layer 28: Global layers 4, 8, 12 and so on to 48Layer 29: Sliding-window layers (three of every four)Layer 30: Sliding-window layers (three of every four)Layer 31: Sliding-window layers (three of every four)Layer 32: Global layers 4, 8, 12 and so on to 48Layer 33: Sliding-window layers (three of every four)Layer 34: Sliding-window layers (three of every four)Layer 35: Sliding-window layers (three of every four)Layer 36: Global layers 4, 8, 12 and so on to 48Layer 37: Sliding-window layers (three of every four)Layer 38: Sliding-window layers (three of every four)Layer 39: Sliding-window layers (three of every four)Layer 40: Global layers 4, 8, 12 and so on to 48Layer 41: Sliding-window layers (three of every four)Layer 42: Sliding-window layers (three of every four)Layer 43: Sliding-window layers (three of every four)Layer 44: Global layers 4, 8, 12 and so on to 48Layer 45: Sliding-window layers (three of every four)Layer 46: Sliding-window layers (three of every four)Layer 47: Sliding-window layers (three of every four)Layer 48: Global layers 4, 8, 12 and so on to 48Layer 1 (sliding window, dense) · matches this colour in the execution-order barLayer 1 (sliding window, dense)Layer 1 (sliding window, dense) · 1 repetitionsIndependent layer type1RMSNorm before this operation.RMSNormSliding-window attention: Sliding-window attention with a dense feed-forward network (intermediate size 18432). The config sets first_k_dense_replace to 1.Sliding-windowattentionRotate query and key position components before attention scores; values are unchanged. Sliding-window attention with a dense feed-forward network (intermediate size 18432). The config sets first_k_dense_replace to 1.RoPENormalise queries and keys before attention scores. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.QK-normSliding-window attention over 128 tokens.128Add the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: Sliding-window attention with a dense feed-forward network (intermediate size 18432). The config sets first_k_dense_replace to 1.SwiGLUAdd the branch output to the original stream. +Layer type · execution order aboveSliding-window layers (three of every four) · matches this colour in the execution-order barSliding-window layers (three of eve…Sliding-window layers (three of every four) · 35 repetitions35 layers · one layer shown35RMSNorm before this operation.RMSNormSliding-window attention: 128-token window with rotary positions, then the expert block: 128 routed experts (size 2048), 8 chosen per token, plus 1 shared expert (size 2048).Sliding-windowattentionRotate query and key position components before attention scores; values are unchanged. 128-token window with rotary positions, then the expert block: 128 routed experts (size 2048), 8 chosen per token, plus 1 shared expert (size 2048).RoPENormalise queries and keys before attention scores. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.QK-normSliding-window attention over 128 tokens.128Add the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 128-token window with rotary positions, then the expert block: 128 routed experts (size 2048), 8 chosen per token, plus 1 shared expert (size 2048).MoE8 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. +8 of 128 experts + 1sharedLayer type · execution order aboveGlobal layers 4, 8, 12 and so on to 48 · matches this colour in the execution-order barGlobal layers 4, 8, 12 and so on to…Global layers 4, 8, 12 and so on to 48 · 12 repetitions12 layers · one layer shown12RMSNorm before this operation.RMSNormGrouped-query attention: Full attention over the whole context with no positional encoding, then the same expert block.Grouped-queryattentionNo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPENormalise queries and keys before attention scores. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.QK-normAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Full attention over the whole context with no positional encoding, then the same expert block.MoE8 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. +8 of 128 experts + 1sharedLayer type · execution order aboveAfter all 48 layer executionsResidual streamLast columnCL6,144Final RMSNormA separate learned vocabulary projection.Output weights6,144153,600Vocabulary scoresSoftmax153,600Next-token probabilities
Inside grouped-query attention · Layer 1 (sliding window, dense)
8 query heads per group × 8 K/V groups.

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

K-EXAONE: Layer 1 (sliding window, dense) · grouped-query attention64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding. Global layers store keys and values for 8 heads of size 128 for every token. Sliding-window layers store only the last 128 tokens (8 heads of size 128).8 KV groups; the front face shows one representative.8 KV groups8 heads / group; the front face shows one representative.8 heads / groupAttention input. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input6,144CLWq. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wq6,144128Wk. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wk6,144128Wv. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wv6,144128RMSNorm. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.RMSNormRoPE. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.RoPERMSNorm. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.RMSNormRoPE. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.RoPEK cache. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128≤ 128V cache. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128≤ 128Q context. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Window 128CLCL×. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.×Joined heads. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.64Wo. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wo8,1926,144Attention output. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output6,144CL
Inside grouped-query attention · Global layers 4, 8, 12 and so on to 48
8 query heads per group × 8 K/V groups.

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

K-EXAONE: Global layers 4, 8, 12 and so on to 48 · grouped-query attention64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding. Global layers store keys and values for 8 heads of size 128 for every token. Sliding-window layers store only the last 128 tokens (8 heads of size 128).8 KV groups; the front face shows one representative.8 KV groups8 heads / group; the front face shows one representative.8 heads / groupAttention input. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input6,144CLWq. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wq6,144128Wk. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wk6,144128Wv. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wv6,144128RMSNorm. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.RMSNormRMSNorm. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.RMSNormK cache. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.NoPECLCL×. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.×Joined heads. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.64Wo. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Wo8,1926,144Attention output. 64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output6,144CL
Model-specific details
Layer 1 (sliding window, dense) · 1 repetitions
Sliding-window attention with a dense feed-forward network (intermediate size 18432). The config sets first_k_dense_replace to 1.
Sliding-window layers (three of every four) · 35 repetitions
128-token window with rotary positions, then the expert block: 128 routed experts (size 2048), 8 chosen per token, plus 1 shared expert (size 2048).
Global layers 4, 8, 12 and so on to 48 · 12 repetitions
Full attention over the whole context with no positional encoding, then the same expert block.
Attention and positions
64 query heads share 8 key/value heads, head size 128, with a norm on queries and keys. Sliding-window layers look back 128 tokens and use rotary positions (theta 1,000,000). Global layers see the whole context and use no positional encoding.
Memory
Global layers store keys and values for 8 heads of size 128 for every token. Sliding-window layers store only the last 128 tokens (8 heads of size 128).

Two sizes, two layer patterns

Only local layers apply RoPE. The 236B model applies QK-norm before rotary positions. Version 2.0 also clamps SwiGLU in its last 16 layers and ships a speculative drafter.

How it scores

AA Intelligence Index

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

Checkpoint / sizeResultEvaluation
K-EXAONEK-EXAONE 236B-A23B14AA Index 4.3.2Best evaluated setting
K-EXAONE 2.0 0803K-EXAONE 2.0 750B-A37B20AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. K-EXAONE 2.0 0803 scores 20; 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 →
K-EXAONE 2.0 0803: 20. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map