Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

DeepSeek · Architecture map

DeepSeek-V4

HCA and CSA layers with a 128-token recent window, shared K/V entries and four residual streams.

DeepSeek-V4 preview, 2026 · DeepSeek release timeline

Inside DeepSeek-V4

Size
Parameters
1.6T · 49B active
Layers
61
Width
7,168
Mixer
HCA / CSA (MQA)
Select a component to explore it. Layer colours match the execution-order strip.
The complete DeepSeek-V4 architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits. One 512-value key/value head per compressed entry (4 to 1 or 128 to 1), plus the last 128 tokens uncompressed. About 10% of the KV cache of DeepSeek-V3.2 at 1M tokens, per the report. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup129,2807,168Input token vectorsCL7,168Execution order · 61 layersLayer 1: Layers 1–2 (HCA, hash-routed experts)Layer 2: Layers 1–2 (HCA, hash-routed experts)Layer 3: Layer 3 (CSA, hash-routed experts)Layer 4: HCA layers 4, 6, … 60Layer 5: CSA layers 5, 7, … 61Layer 6: HCA layers 4, 6, … 60Layer 7: CSA layers 5, 7, … 61Layer 8: HCA layers 4, 6, … 60Layer 9: CSA layers 5, 7, … 61Layer 10: HCA layers 4, 6, … 60Layer 11: CSA layers 5, 7, … 61Layer 12: HCA layers 4, 6, … 60Layer 13: CSA layers 5, 7, … 61Layer 14: HCA layers 4, 6, … 60Layer 15: CSA layers 5, 7, … 61Layer 16: HCA layers 4, 6, … 60Layer 17: CSA layers 5, 7, … 61Layer 18: HCA layers 4, 6, … 60Layer 19: CSA layers 5, 7, … 61Layer 20: HCA layers 4, 6, … 60Layer 21: CSA layers 5, 7, … 61Layer 22: HCA layers 4, 6, … 60Layer 23: CSA layers 5, 7, … 61Layer 24: HCA layers 4, 6, … 60Layer 25: CSA layers 5, 7, … 61Layer 26: HCA layers 4, 6, … 60Layer 27: CSA layers 5, 7, … 61Layer 28: HCA layers 4, 6, … 60Layer 29: CSA layers 5, 7, … 61Layer 30: HCA layers 4, 6, … 60Layer 31: CSA layers 5, 7, … 61Layer 32: HCA layers 4, 6, … 60Layer 33: CSA layers 5, 7, … 61Layer 34: HCA layers 4, 6, … 60Layer 35: CSA layers 5, 7, … 61Layer 36: HCA layers 4, 6, … 60Layer 37: CSA layers 5, 7, … 61Layer 38: HCA layers 4, 6, … 60Layer 39: CSA layers 5, 7, … 61Layer 40: HCA layers 4, 6, … 60Layer 41: CSA layers 5, 7, … 61Layer 42: HCA layers 4, 6, … 60Layer 43: CSA layers 5, 7, … 61Layer 44: HCA layers 4, 6, … 60Layer 45: CSA layers 5, 7, … 61Layer 46: HCA layers 4, 6, … 60Layer 47: CSA layers 5, 7, … 61Layer 48: HCA layers 4, 6, … 60Layer 49: CSA layers 5, 7, … 61Layer 50: HCA layers 4, 6, … 60Layer 51: CSA layers 5, 7, … 61Layer 52: HCA layers 4, 6, … 60Layer 53: CSA layers 5, 7, … 61Layer 54: HCA layers 4, 6, … 60Layer 55: CSA layers 5, 7, … 61Layer 56: HCA layers 4, 6, … 60Layer 57: CSA layers 5, 7, … 61Layer 58: HCA layers 4, 6, … 60Layer 59: CSA layers 5, 7, … 61Layer 60: HCA layers 4, 6, … 60Layer 61: CSA layers 5, 7, … 61Layers 1–2 (HCA, hash-routed experts) · matches this colour in the execution-order barLayers 1–2 (HCA, hash-routed expert…Layers 1–2 (HCA, hash-routed experts) · 2 repetitions2 layers · one layer shown2RMSNorm before this operation.RMSNormHCA: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.HCARotate query and key position components before attention scores; values are unchanged. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.RoPENormalise queries and keys before attention scores. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.QK-normSliding-window attention over 128 tokens.128128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Attention sinkHCA: one compressed entry per 128 source tokens. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.128:1Apply the hyper-connection update. UpdateRMSNorm before this operation.RMSNormMoE: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.MoE6 of 384 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.Apply the hyper-connection update. Update6 of 384 experts + 1sharedLayer type · execution order aboveLayer 3 (CSA, hash-routed experts) · matches this colour in the execution-order barLayer 3 (CSA, hash-routed experts)Layer 3 (CSA, hash-routed experts) · 1 repetitionsIndependent layer type1RMSNorm before this operation.RMSNormCSA: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.CSARotate query and key position components before attention scores; values are unchanged. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.RoPENormalise queries and keys before attention scores. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.QK-normSliding-window attention over 128 tokens.128128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Attention sinkCSA: one compressed entry per 4 source tokens. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.4:1384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.Top 1,024Apply the hyper-connection update. UpdateRMSNorm before this operation.RMSNormMoE: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.MoE6 of 384 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.Apply the hyper-connection update. Update6 of 384 experts + 1sharedLayer type · execution order aboveCSA layers 5, 7, … 61 · matches this colour in the execution-order barCSA layers 5, 7, … 61CSA layers 5, 7, … 61 · 29 repetitions29 layers · one layer shown29RMSNorm before this operation.RMSNormCSA: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.CSARotate query and key position components before attention scores; values are unchanged. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.RoPENormalise queries and keys before attention scores. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.QK-normSliding-window attention over 128 tokens.128128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Attention sinkCSA: one compressed entry per 4 source tokens. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.4:1384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.Top 1,024Apply the hyper-connection update. UpdateRMSNorm before this operation.RMSNormMoE: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.MoE6 of 384 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.Apply the hyper-connection update. Update6 of 384 experts + 1sharedLayer type · execution order aboveHCA layers 4, 6, … 60 · matches this colour in the execution-order barHCA layers 4, 6, … 60HCA layers 4, 6, … 60 · 29 repetitions29 layers · one layer shown29RMSNorm before this operation.RMSNormHCA: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.HCARotate query and key position components before attention scores; values are unchanged. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.RoPENormalise queries and keys before attention scores. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.QK-normSliding-window attention over 128 tokens.128128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Attention sinkHCA: one compressed entry per 128 source tokens. 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.128:1Apply the hyper-connection update. UpdateRMSNorm before this operation.RMSNormMoE: 384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.MoE6 of 384 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.Apply the hyper-connection update. Update6 of 384 experts + 1sharedLayer type · execution order aboveAfter all 61 layer executionsmHC · 4 residual streamsLast columnCL7,168Final RMSNormA separate learned vocabulary projection.Output weights7,168129,280Vocabulary scoresSoftmax129,280Next-token probabilities
Inside HCA · Layers 1–2 (HCA, hash-routed experts)
128 query heads per group × 1 K/V groups.

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

DeepSeek-V4: Layers 1–2 (HCA, hash-routed experts) · HCA128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits. One 512-value key/value head per compressed entry (4 to 1 or 128 to 1), plus the last 128 tokens uncompressed. About 10% of the KV cache of DeepSeek-V3.2 at 1M tokens, per the report.1 KV groups; the front face shows one representative.1 KV groups128 attention heads; the front face shows one representative.128 attention headsAttention input. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input7,168CLWq↓. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Wq↓7,1681,536RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormWq↑. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Wq↑1,536512Wkv. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Wkv7,168512RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormRoPE 64. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE 64RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormRoPE 64. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE 64K = V cache. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K = V cache512≤ 128128×. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.HCA128×RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormRoPE 64. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE 64HCA K=V. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.HCA K=V512CL / 128Q context. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier context is dimmed; outlined columns are current.Current token computation.Q context512CLScaled query–key scores, masking and softmax. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Window 128128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.SinkCLCL×. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.×RoPE⁻¹. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE⁻¹Joined heads. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.128Woₐ. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Woₐ16 groups4,0961,024Woᵦ. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Woᵦ16,3847,168Attention output. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output7,168CL
Inside CSA · Layer 3 (CSA, hash-routed experts)
128 query heads per group × 1 K/V groups.

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

DeepSeek-V4: Layer 3 (CSA, hash-routed experts) · CSA128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits. One 512-value key/value head per compressed entry (4 to 1 or 128 to 1), plus the last 128 tokens uncompressed. About 10% of the KV cache of DeepSeek-V3.2 at 1M tokens, per the report.1 KV groups; the front face shows one representative.1 KV groups128 attention heads; the front face shows one representative.128 attention headsAttention input. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input7,168CLWq↓. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Wq↓7,1681,536RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormWq↑. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Wq↑1,536512Wkv. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Wkv7,168512RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormRoPE 64. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE 64RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormRoPE 64. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE 64K = V cache. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K = V cache512≤ 1284×. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.CSA4×RMSNorm. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RMSNormRoPE 64. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE 64CSA K=V. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.CSA K=V512CL / 4Q context. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier context is dimmed; outlined columns are current.Current token computation.Q context512CLTop 1024. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Top 1024Scaled query–key scores, masking and softmax. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Window 128128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.SinkCLCL×. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.×RoPE⁻¹. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.RoPE⁻¹Joined heads. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.128Woₐ. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Woₐ16 groups4,0961,024Woᵦ. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Woᵦ16,3847,168Attention output. 128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output7,168CL
Model-specific details
Layers 1–2 (HCA, hash-routed experts) · 2 repetitions
384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.
Layer 3 (CSA, hash-routed experts) · 1 repetitions
384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert. These first layers pick experts with a fixed hash of the token id instead of a learned router.
CSA layers 5, 7, … 61 · 29 repetitions
384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.
HCA layers 4, 6, … 60 · 29 repetitions
384 routed experts (hidden size 3072), 6 chosen per token, plus 1 shared expert, scored with square-root softplus.
Attention and positions
128 query heads share one key/value head of size 512; each stored entry serves as both key and value. CSA layers compress the sequence 4 to 1 and an indexer keeps the top 1,024 entries; heavily compressed layers compress 128 to 1 and attend to all of them. Every layer also attends to the last 128 tokens, with learned attention-sink logits.
Memory
One 512-value key/value head per compressed entry (4 to 1 or 128 to 1), plus the last 128 tokens uncompressed. About 10% of the KV cache of DeepSeek-V3.2 at 1M tokens, per the report.

Keep recent detail, retain a longer history

Each attention layer keeps the latest 128 tokens individually. Its long-range history follows one of two policies:

These are different layer types, each with its own cache. The diagram’s HCA and CSA blocks link to their explanations. Flash’s first two layers use only the recent window.

Different queries, shared entries

MQA lets every query head read the same cache. Shared K/V representations make each stored entry one 512-coordinate vector, used both as a key to score and a value to collect.

The heads still ask different questions. A shared Wqa projection first produces a smaller query intermediate for the current token. Each head’s Wqb turns that intermediate into its own 512-coordinate query, followed by per-head RMSNorm and RoPE. The intermediate is shared computation for this token, rather than stored history.

Each head reads the recent entries together with its eligible summaries, using one softmax. Its learned sink score can absorb attention without contributing a value. The collected result then receives an inverse rotary transformation before the output projections.

Combine the head results

Mixing all the head results directly would require a large projection. Instead, split them into groups of eight heads. Each group contains 8 × 512 = 4,096 coordinates; Woa projects those down to 1,024. Concatenate the smaller group results, then Wob projects them back to the token width.

Pro has 16 groups, giving 16,384 intermediate coordinates. Flash has eight, giving 8,192. The expanded attention diagrams above show the query projections, per-head reads and grouped output projections.

Pro and Flash

ProFlash
Layers6143
Token width7,1684,096
Query heads12864
Shared query intermediate1,5361,024
Output groups168
CSA summary read limit1,024512
Routed experts384256

Both support 1,048,576 tokens. Attention sits inside a model with four mHC residual streams. Expert layers select six routed experts plus one shared expert; the first three layers use hash routing.

DeepSeek-V4.1 changes the encoder/decoder and compression arrangement and has its own model page.

How it scores

AA Intelligence Index

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

Checkpoint / sizeResultEvaluation
DeepSeek V4 Pro 0424Pro30AA Index 4.3.2Best evaluated setting
DeepSeek V4 Pro 0813Pro36AA Index 4.3.2Best evaluated setting
DeepSeek V4 Flash 0420Flash24AA Index 4.3.2Best evaluated setting
DeepSeek V4 Flash 0731Flash34AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. DeepSeek V4 Pro 0813 scores 36; 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 →
DeepSeek V4 Pro 0813: 36. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Epoch ECI

Results for the checkpoints named below, from Epoch AI, Capabilities & benchmarking (CC BY 4.0), snapshot of 2026-10-16.

SizeScored checkpointEpoch ECIGPQA DiamondSWE-bench Verified
ProDeepSeek-V4-ProOpen weights (unrestricted) · 2026-04149ahead of 78% of 277 scored models90.9%77.6%
FlashDeepSeek-V4-FlashOpen weights (unrestricted) · 2026-04146ahead of 71% of 277 scored models——
Epoch ECI against release date for all 277 scored modelsA scatter plot of every scored model. Higher is better. The frontier rises over time. This model is highlighted.Epoch ECI by release date6080100120140160202420252026higher is betterLLaMA-65B · 2023-02 · 110 · Open weights (non-commercial)LLaMA-33B · 2023-02 · 107 · Open weights (non-commercial)LLaMA-13B · 2023-02 · 101 · Open weights (non-commercial)LLaMA-7B · 2023-02 · 97 · Open weights (non-commercial)GPT-4 (Mar 2023) · 2023-03 · 126 · API accessCerebras-GPT-13B · 2023-03 · 83 · Open weights (unrestricted)Dolly 2.0-12b · 2023-04 · 90 · Open weights (unrestricted)vicuna-13b-v1.1 · 2023-04 · 95 · Unknownstablelm-tuned-alpha-7b · 2023-04 · 56 · UnknownFalcon-7B · 2023-04 · 95 · Open weights (unrestricted)RedPajama-INCITE-7B-Base · 2023-05 · 91 · UnknownMPT-7B · 2023-05 · 95 · Open weights (unrestricted)PaLM 2-L · 2023-05 · 115 · UnknownPaLM 2-M · 2023-05 · 108 · UnknownPaLM 2-S · 2023-05 · 106 · UnknownFalcon-40B · 2023-05 · 105 · Open weights (unrestricted)Baichuan1-7B · 2023-06 · 91 · Open weights (non-commercial)open_llama_7b · 2023-06 · 92 · UnknownGPT-4 (Jun 2023) · 2023-06 · 123 · API accessGPT-3.5 Turbo (Jun 2023) · 2023-06 · 113 · API accessMPT-30B · 2023-06 · 101 · Open weights (unrestricted)chatglm2-6b · 2023-06 · 99 · UnknownXGen-7B · 2023-06 · 94 · Open weights (unrestricted)internlm-7b · 2023-07 · 103 · UnknownClaude 2 · 2023-07 · 120 · API accessLlama 2-70B · 2023-07 · 114 · Open weights (restricted use)Llama 2-13B · 2023-07 · 106 · Open weights (restricted use)Llama 2-34B · 2023-07 · 105 · UnreleasedLlama 2-7B · 2023-07 · 99 · Open weights (restricted use)Stable Beluga 2 · 2023-07 · 117 · Open weights (non-commercial)Claude Instant · 2023-08 · 120 · API accessFalcon-180B · 2023-09 · 112 · Open weights (restricted use)Baichuan2-13B · 2023-09 · 103 · Open weights (restricted use)Phi-1.5 · 2023-09 · 92 · Open weights (unrestricted)internlm-20b · 2023-09 · 112 · UnknownBaichuan 2-7B · 2023-09 · 96 · Open weights (restricted use)Qwen-14B · 2023-09 · 113 · Open weights (restricted use)Mistral 7B v0.1 · 2023-09 · 112 · Open weights (unrestricted)Qwen-7B · 2023-09 · 107 · Open weights (restricted use)Yi-34B · 2023-11 · 117 · Open weights (restricted use)DeepSeek Coder 33B · 2023-11 · 96 · Open weights (restricted use)DeepSeek Coder 6.7B · 2023-11 · 90 · Open weights (restricted use)DeepSeek Coder 1.3B · 2023-11 · 64 · Open weights (restricted use)GPT-3.5 Turbo (Nov 2023) · 2023-11 · 119 · API accessClaude 2.1 · 2023-11 · 119 · API accessYi 6B · 2023-11 · 105 · Open weights (restricted use)DeepSeek LLM 67B · 2023-11 · 110 · Open weights (restricted use)Qwen-1_8B · 2023-11 · 93 · UnknownMixtral 8x7B · 2023-12 · 119 · Open weights (unrestricted)Phi-2 · 2023-12 · 108 · Open weights (unrestricted)Gemini 1.0 Pro · 2023-12 · 117 · API accessGPT-4 Turbo (Nov 2023) · 2024-01 · 126 · API accessGPT-3.5 Turbo (Jan 2024) · 2024-01 · 116 · API accessStarCoder 2 15B · 2024-02 · 105 · Open weights (restricted use)StarCoder 2 7B · 2024-02 · 94 · Open weights (restricted use)Gemma 7B · 2024-02 · 112 · Open weights (restricted use)Gemma 2B · 2024-02 · 94 · Open weights (restricted use)StarCoder 2 3B · 2024-02 · 89 · Open weights (restricted use)Mistral Large · 2024-02 · 122 · API accessNemotron-4 15B · 2024-02 · 108 · UnreleasedClaude 3 Opus · 2024-02 · 127 · API accessClaude 3 Sonnet · 2024-02 · 121 · API accessYi-9B · 2024-03 · 108 · UnknownClaude 3 Haiku · 2024-03 · 118 · API accessGPT-4 Turbo (Apr 2024) · 2024-04 · 127 · API accessCodeQwen1.5-7B · 2024-04 · 95 · UnknownMixtral 8x22B · 2024-04 · 122 · Open weights (unrestricted)Llama 3-70B · 2024-04 · 123 · Open weights (restricted use)Llama 3-8B · 2024-04 · 116 · Open weights (restricted use)phi-3-small 7.4B · 2024-04 · 122 · Open weights (unrestricted)phi-3-medium 14B · 2024-04 · 121 · Open weights (unrestricted)phi-3-mini 3.8B · 2024-04 · 117 · Open weights (unrestricted)DeepSeek-V2 (MoE-236B, May 2024) · 2024-05 · 125 · Open weights (restricted use)Falcon 2 11B · 2024-05 · 110 · Open weights (restricted use)GPT-4o (May 2024) · 2024-05 · 129 · API accessGemini 1.5 Pro (May 2024) · 2024-05 · 127 · API accessGemini 1.5 Flash (May 2024) · 2024-05 · 123 · API accessMistral 7B v0.3 · 2024-05 · 109 · Open weights (unrestricted)Qwen2-72B · 2024-06 · 125 · Open weights (unrestricted)DeepSeek-Coder-V2-Lite-Base · 2024-06 · 109 · UnknownClaude 3.5 Sonnet · 2024-06 · 130 · API accessGemma 2 27B · 2024-06 · 122 · Open weights (restricted use)Gemma 2 9B · 2024-06 · 120 · Open weights (restricted use)GPT-4o mini · 2024-07 · 127 · API accessMistral NeMo · 2024-07 · 119 · Open weights (unrestricted)Llama 3.1-405B · 2024-07 · 129 · Open weights (restricted use)Llama 3.1-70B · 2024-07 · 126 · Open weights (restricted use)Llama 3.1-8B · 2024-07 · 117 · Open weights (restricted use)Mistral Large 2 (Jul 2024) · 2024-07 · 128 · Open weights (non-commercial)GPT-4o (Aug 2024) · 2024-08 · 129 · API accessCommand R+ · 2024-08 · 119 · Open weights (non-commercial)o1-mini · 2024-09 · 136 · API accesso1-preview · 2024-09 · 135 · API accessQwen2.5-32B · 2024-09 · 129 · Open weights (unrestricted)Qwen2.5-Coder-32B · 2024-09 · 120 · Open weights (unrestricted)Qwen2.5-Coder-14B · 2024-09 · 116 · UnknownQwen2.5-Coder (7B) · 2024-09 · 113 · Open weights (unrestricted)Qwen2.5-Coder-3B · 2024-09 · 108 · UnknownQwen2.5-Coder (1.5B) · 2024-09 · 103 · Open weights (unrestricted)Qwen2.5-Coder-0.5B · 2024-09 · 88 · UnknownQwen2.5-72B · 2024-09 · 129 · Open weights (unrestricted)Qwen2.5-7B · 2024-09 · 119 · Open weights (unrestricted)Gemini 1.5 Pro (Sept 2024) · 2024-09 · 132 · API accessGemini 1.5 Flash (Sep 2024) · 2024-09 · 129 · API accessLlama 3.2 90B · 2024-09 · 126 · Open weights (restricted use)Llama 3.2 1B · 2024-09 · 102 · Open weights (restricted use)Ministral 3B · 2024-10 · 118 · API accessClaude 3.5 Sonnet (October 2024) · 2024-10 · 134 · API accessClaude 3.5 Haiku · 2024-10 · 127 · API accessMistral Large 2 (Nov 2024) · 2024-11 · 129 · Open weights (non-commercial)GPT-4o (Nov 2024) · 2024-11 · 129 · API accessINTELLECT-1 · 2024-11 · 101 · UnknownAmazon Nova Pro · 2024-12 · 124 · API accessLlama 3.3 70B · 2024-12 · 127 · Open weights (restricted use)Gemini 2.0 Flash (Dec 2024) · 2024-12 · 135 · API accessGrok-2 (Dec 2024) · 2024-12 · 130 · API accessPhi-4 · 2024-12 · 130 · Open weights (unrestricted)o1 · 2024-12 · 142 · API accessDeepSeek-V3 · 2024-12 · 132 · Open weights (restricted use)DeepSeek-R1 · 2025-01 · 139 · Open weights (unrestricted)DeepSeek-R1-Distill-Qwen-32B · 2025-01 · 137 · Open weights (unrestricted)DeepSeek-R1-Distill-Qwen-14B · 2025-01 · 135 · Open weights (unrestricted)Gemini 2.0 Flash Thinking (Jan 2025) · 2025-01 · 135 · API accessQwen2.5-Max · 2025-01 · 133 · API accessMistral Small 3 · 2025-01 · 127 · Open weights (unrestricted)o3-mini · 2025-01 · 140 · API accessGemini 2.0 Pro · 2025-02 · 135 · Hosted access (no API)Gemini 2.0 Flash (Feb 2025) · 2025-02 · 135 · API accessClaude 3.7 Sonnet · 2025-02 · 141 · API accessGPT-4.5 · 2025-02 · 137 · API accessQwQ-32B · 2025-03 · 138 · Open weights (unrestricted)Gemma 3 27B · 2025-03 · 130 · Open weights (restricted use)Gemma 3 12B · 2025-03 · 123 · Open weights (restricted use)Gemma 3 4B · 2025-03 · 116 · Open weights (restricted use)Mistral Small 3.1 · 2025-03 · 127 · Open weights (unrestricted)DeepSeek-V3 (Mar 2025) · 2025-03 · 136 · Open weights (restricted use)Gemini 2.5 Pro (Mar 2025) · 2025-03 · 144 · API accessLlama 4 Scout · 2025-04 · 130 · Open weights (restricted use)Llama 4 Maverick · 2025-04 · 132 · Open weights (restricted use)Grok 3 · 2025-04 · 138 · API accessGPT-4.1 · 2025-04 · 137 · API accessGPT-4.1 mini · 2025-04 · 135 · API accessGPT-4.1 nano · 2025-04 · 130 · API accesso3 · 2025-04 · 147 · API accesso4-mini · 2025-04 · 146 · API accessGemini 2.5 Flash (Apr 2025) · 2025-04 · 140 · API accessQwen3-235B-A22B · 2025-04 · 139 · Open weights (unrestricted)Qwen3-8B · 2025-04 · 136 · Open weights (unrestricted)Qwen3-32B · 2025-04 · 138 · Open weights (unrestricted)Qwen3-14B · 2025-04 · 138 · Open weights (unrestricted)Qwen3-30B-A3B · 2025-04 · 136 · Open weights (unrestricted)Gemini 2.5 Pro (May 2025) · 2025-05 · 142 · API accessMistral Medium 3 · 2025-05 · 134 · API accessGemini 2.5 Flash (May 2025) · 2025-05 · 142 · API accessClaude Opus 4 · 2025-05 · 143 · API accessClaude Sonnet 4 · 2025-05 · 142 · API accessDeepSeek-R1 (May 2025) · 2025-05 · 141 · Open weights (unrestricted)Gemini 2.5 Pro (Jun 2025) · 2025-06 · 145 · API accesso3-pro · 2025-06 · 147 · API accessMagistral Small 1.0 · 2025-06 · 133 · Open weights (unrestricted)Gemini 2.5 Flash (Jun 2025) · 2025-06 · 141 · API accessGemini 2.5 Flash-Lite (Jun 2025) · 2025-06 · 134 · API accessMistral Small 3.2 · 2025-06 · 132 · Open weights (unrestricted)Grok-3 mini · 2025-06 · 140 · API accessGrok 4 · 2025-07 · 146 · API accessKimi K2 (Jul 2025) · 2025-07 · 140 · Open weights (restricted use)Qwen3-235B-A22B-Thinking (Jul 2025) · 2025-07 · 144 · Open weights (unrestricted)Qwen3-235B-A22B-Instruct (Jul 2025) · 2025-07 · 139 · Open weights (unrestricted)Qwen3-30B-A3B-Instruct (Jul 2025) · 2025-07 · 137 · Open weights (unrestricted)Qwen3-30B-A3B-Thinking (Jul 2025) · 2025-07 · 140 · Open weights (unrestricted)Claude Opus 4.1 · 2025-08 · 144 · API accessgpt-oss-120b · 2025-08 · 140 · Open weights (unrestricted)gpt-oss-20b · 2025-08 · 138 · Open weights (unrestricted)GPT-5 · 2025-08 · 150 · API accessGPT-5 mini · 2025-08 · 145 · API accessGPT-5 nano · 2025-08 · 139 · API accessDeepSeek-V3.1 · 2025-08 · 140 · Open weights (unrestricted)Magistral Small 1.2 · 2025-09 · 131 · Open weights (unrestricted)Grok 4 Fast · 2025-09 · 144 · API accessQwen3-Max · 2025-09 · 142 · API accessGemini 2.5 Flash (Sep 2025) · 2025-09 · 143 · API accessClaude Sonnet 4.5 · 2025-09 · 147 · API accessDeepSeek-V3.2-Exp · 2025-09 · 145 · Open weights (unrestricted)GPT-5 Pro · 2025-10 · 151 · API accessClaude Haiku 4.5 · 2025-10 · 142 · API accessKimi K2 Thinking · 2025-11 · 146 · Open weights (restricted use)GPT-5.1 · 2025-11 · 150 · API accessGemini 3 Pro · 2025-11 · 153 · API accessClaude Opus 4.5 · 2025-11 · 150 · API accessDeepSeek-V3.2 · 2025-12 · 146 · Open weights (unrestricted)GPT-5.2 Pro · 2025-12 · 156 · API accessGPT-5.2 · 2025-12 · 153 · API accessGemini 3 Flash · 2025-12 · 152 · API accessGLM-4.7 · 2025-12 · 144 · Open weights (unrestricted)Kimi K2.5 · 2026-01 · 148 · Open weights (unrestricted)GPT-5.3 Codex · 2026-02 · 157 · API accessClaude Opus 4.6 · 2026-02 · 155 · API accessGLM-5 · 2026-02 · 146 · Open weights (unrestricted)MiniMax-M2.5 · 2026-02 · 147 · Open weights (unrestricted)Qwen3.5 397B-A17B · 2026-02 · 147 · Open weights (unrestricted)Qwen 3.5 Plus (hosted 397B-A17B) · 2026-02 · 146 · UnknownClaude Sonnet 4.6 · 2026-02 · 152 · API accessGrok 4.20 · 2026-02 · 152 · API accessGemini 3.1 Pro · 2026-02 · 155 · API accessQwen3.5-35B-A3B · 2026-02 · 142 · Open weights (unrestricted)Qwen3.5-9B · 2026-02 · 139 · Open weights (restricted use)Qwen 3.5 Flash (hosted 35B-A3B) · 2026-02 · 144 · UnknownGemini 3.1 Flash-Lite · 2026-03 · 144 · API accessGPT-5.4 Pro · 2026-03 · 159 · API accessGPT-5.4 · 2026-03 · 157 · API accessGPT-5.4 Mini · 2026-03 · 149 · API accessGPT-5.4 Nano · 2026-03 · 146 · API accessMiniMax-M2.7 · 2026-03 · 146 · Open weights (non-commercial)Qwen 3.6 Plus · 2026-03 · 147 · API accessGemma 4 31B IT · 2026-04 · 143 · Open weights (restricted use)Gemma 4 26B A4B · 2026-04 · 142 · Open weights (unrestricted)GLM-5.1 · 2026-04 · 150 · Open weights (unrestricted)Muse Spark · 2026-04 · 152 · API accessQwen 3.6 35B-A3B · 2026-04 · 144 · Open weights (unrestricted)Claude Opus 4.7 · 2026-04 · 156 · API accessGrok 4.3 Beta · 2026-04 · 149 · Hosted access (no API)Kimi K2.6 · 2026-04 · 151 · Open weights (unrestricted)Qwen 3.6 Max (Preview) · 2026-04 · 149 · UnknownQwen3.6 27B · 2026-04 · 146 · Open weights (unrestricted)GPT-5.5 Pro · 2026-04 · 162 · API accessGPT-5.5 · 2026-04 · 159 · API accessQwen 3.6 Flash · 2026-04 · 143 · UnknownMistral Medium 3.5 · 2026-04 · 141 · Open weights (restricted use)GPT-5.5 Instant · 2026-05 · 142 · API accessGemini 3.5 Flash · 2026-05 · 154 · API accessQwen3.7-Max · 2026-05 · 154 · API accessClaude Opus 4.8 · 2026-05 · 158 · API accessMiniMax-M3 · 2026-06 · 147 · Open weights (restricted use)Qwen3.7-Plus · 2026-06 · 147 · API accessNemotron 3 Ultra · 2026-06 · 146 · Open weights (unrestricted)Claude Fable 5 · 2026-06 · 162 · API accessKimi K2.7 Code · 2026-06 · 150 · Open weights (unrestricted)GLM-5.2 · 2026-06 · 152 · Open weights (unrestricted)Claude Sonnet 5 · 2026-06 · 156 · API accessGrok 4.5 · 2026-07 · 154 · API accessGPT-5.6 Sol · 2026-07 · 162 · API accessGPT-5.6 Terra · 2026-07 · 159 · API accessGPT-5.6 Luna · 2026-07 · 156 · API accessMuse Spark 1.1 · 2026-07 · 154 · API accessInkling-Small · 2026-07 · 150 · Open weights (unrestricted)Inkling · 2026-07 · 149 · Open weights (unrestricted)Kimi K3 · 2026-07 · 157 · Open weights (non-commercial)Gemini 3.6 Flash · 2026-07 · 154 · API accessGemini 3.5 Flash-Lite · 2026-07 · 145 · API accessClaude Opus 5 · 2026-07 · 163 · API accessQwen3.7 Flash · 2026-07 · 145 · API accessDeepSeek V4 Flash 0731 · 2026-07 · 154 · Open weights (unrestricted)Qwen 3.8 Max · 2026-08 · 157 · API accessMuse Spark 1.2 · 2026-08 · 155 · API accessGrok 4.6 · 2026-08 · 156 · API accessGemini 3.7 Flash · 2026-08 · 157 · API accessDeepSeek V4 Pro 0813 · 2026-08 · 155 · Open weights (unrestricted)GLM-5.3 · 2026-08 · 156 · API accessQwen 3.8 27B · 2026-08 · 152 · Open weights (unrestricted)GLM-5.3-Flash · 2026-08 · 153 · Open weights (unrestricted)Claude Fable 5.1 · 2026-09 · 165 · API accessQwen3.8 Max (0902) · 2026-09 · 155 · API accessGemini 3.8 Flash · 2026-09 · 157 · API accessMuse Spark 1.3 · 2026-09 · 157 · API accessGPT-6 Astra · 2026-09 · 166 · API accessDeepSeek V4.1 Flash · 2026-09 · 156 · Open weights (unrestricted)Grok 4.7 · 2026-09 · 154 · API accessClaude Opus 5.5 · 2026-09 · 167 · API accessGPT-6 Sol · 2026-09 · 163 · API accessGPT-6 Luna · 2026-09 · 156 · API accessClaude Sonnet 5.5 · 2026-09 · 164 · API accessGPT-6.1 Sol · 2026-09 · 166 · API accessGemini 4 Argon · 2026-09 · 165 · Limited accessMistral Large 4 · 2026-10 · 147 · UnknownClaude Haiku 5.5 · 2026-10 · 159 · API accessDeepSeek-V4-Pro · 2026-04 · 149 · ahead of 78% of scored modelsDeepSeek-V4-ProDeepSeek-V4-Flash · 2026-04 · 146 · ahead of 71% of scored modelsDeepSeek-V4-Flash
What to notice: the dashed line is the best score at each point in time, the frontier. Open dots are open-weights models, filled grey dots are models with closed weights. Blue rings are other models in this atlas (click one to open it), and the green line follows this family. Data: Epoch AI, Capabilities & benchmarking, CC BY 4.0.
  • Pro: April 2026 preview row, matching the entry; Epoch also has a later "DeepSeek V4 Pro 0813" revision.
  • Flash: April 2026 preview row, matching the entry; Epoch also has a later "DeepSeek V4 Flash 0731" revision.

Where a model was tested in several reasoning or effort settings, the best score is shown. A dash means no result for that test.

Explore the components

Sources for this map