Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Google DeepMind · Architecture map

Gemma 2

Local and global attention layers alternate one to one, with soft-capped attention scores.

Gemma 2, June 2024 · Gemma release timeline

Inside Gemma 2

Size
Parameters
2.6B
Layers
26
Width
2,304
Mixer
Grouped-query
Select a component to explore it. Layer colours match the execution-order strip.
The complete Gemma 2 architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50. Keys and values for 4 heads of 256 values per token per layer. Local layers need only the last 4,096 tokens. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup256,0002,304Input token vectorsCL2,304Execution order · 26 layersLayer 1: Local layers (1, 3, ... 25)Layer 2: Global layers (2, 4, ... 26)Layer 3: Local layers (1, 3, ... 25)Layer 4: Global layers (2, 4, ... 26)Layer 5: Local layers (1, 3, ... 25)Layer 6: Global layers (2, 4, ... 26)Layer 7: Local layers (1, 3, ... 25)Layer 8: Global layers (2, 4, ... 26)Layer 9: Local layers (1, 3, ... 25)Layer 10: Global layers (2, 4, ... 26)Layer 11: Local layers (1, 3, ... 25)Layer 12: Global layers (2, 4, ... 26)Layer 13: Local layers (1, 3, ... 25)Layer 14: Global layers (2, 4, ... 26)Layer 15: Local layers (1, 3, ... 25)Layer 16: Global layers (2, 4, ... 26)Layer 17: Local layers (1, 3, ... 25)Layer 18: Global layers (2, 4, ... 26)Layer 19: Local layers (1, 3, ... 25)Layer 20: Global layers (2, 4, ... 26)Layer 21: Local layers (1, 3, ... 25)Layer 22: Global layers (2, 4, ... 26)Layer 23: Local layers (1, 3, ... 25)Layer 24: Global layers (2, 4, ... 26)Layer 25: Local layers (1, 3, ... 25)Layer 26: Global layers (2, 4, ... 26)Local layers (1, 3, ... 25) · matches this colour in the execution-order barLocal layers (1, 3, ... 25)Local layers (1, 3, ... 25) · 13 repetitions13 layers · one layer shown13RMSNorm before this operation.RMSNormGrouped-query attention: Sliding-window attention over 4,096 tokens, then a dense gated feed-forward network 9,216 wide.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. Sliding-window attention over 4,096 tokens, then a dense gated feed-forward network 9,216 wide.RoPESliding-window attention over 4,096 tokens.4,0968 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Score cap 50Normalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormGeGLU: Sliding-window attention over 4,096 tokens, then a dense gated feed-forward network 9,216 wide.GeGLUNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +Layer type · execution order aboveGlobal layers (2, 4, ... 26) · matches this colour in the execution-order barGlobal layers (2, 4, ... 26)Global layers (2, 4, ... 26) · 13 repetitions13 layers · one layer shown13RMSNorm before this operation.RMSNormGrouped-query attention: Full attention over the context, then a dense gated feed-forward network 9,216 wide.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. Full attention over the context, then a dense gated feed-forward network 9,216 wide.RoPE8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Score cap 50Normalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormGeGLU: Full attention over the context, then a dense gated feed-forward network 9,216 wide.GeGLUNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +Layer type · execution order aboveAfter all 26 layer executionsResidual streamLast columnCL2,304Final RMSNormReuses the embedding table, transposed.Tied output weights2,304256,000Vocabulary scoresSoftmax256,000Next-token probabilities
Inside grouped-query attention · Local layers (1, 3, ... 25)
2 query heads per group × 4 K/V groups.

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

Gemma 2: Local layers (1, 3, ... 25) · grouped-query attention8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50. Keys and values for 4 heads of 256 values per token per layer. Local layers need only the last 4,096 tokens.4 KV groups; the front face shows one representative.4 KV groups2 heads / group; the front face shows one representative.2 heads / groupAttention input. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,304CLWq. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wq2,304256Wk. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wk2,304256Wv. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wv2,304256RoPE. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.RoPERoPE. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.RoPEK cache. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache256≤ 4096V cache. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache256≤ 4096Q context. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier context is dimmed; outlined columns are current.Current token computation.Q context256CLScaled query–key scores, masking and softmax. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Window 4,0968 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Cap 50CLCL×. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.×Joined heads. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.8Wo. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wo2,0482,304Attention output. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,304CL
Inside grouped-query attention · Global layers (2, 4, ... 26)
2 query heads per group × 4 K/V groups.

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

Gemma 2: Global layers (2, 4, ... 26) · grouped-query attention8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50. Keys and values for 4 heads of 256 values per token per layer. Local layers need only the last 4,096 tokens.4 KV groups; the front face shows one representative.4 KV groups2 heads / group; the front face shows one representative.2 heads / groupAttention input. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,304CLWq. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wq2,304256Wk. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wk2,304256Wv. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wv2,304256RoPE. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.RoPERoPE. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.RoPEK cache. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache256CLV cache. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache256CLQ context. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier context is dimmed; outlined columns are current.Current token computation.Q context256CLScaled query–key scores, masking and softmax. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Cap 50CLCL×. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.×Joined heads. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.8Wo. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Wo2,0482,304Attention output. 8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,304CL
Model-specific details
Local layers (1, 3, ... 25) · 13 repetitions
Sliding-window attention over 4,096 tokens, then a dense gated feed-forward network 9,216 wide.
Global layers (2, 4, ... 26) · 13 repetitions
Full attention over the context, then a dense gated feed-forward network 9,216 wide.
Attention and positions
8 query heads share 4 key/value heads, each 256 wide. Layers alternate: odd layers see only the last 4,096 tokens, even layers see the whole 8,192-token context. Attention scores are soft-capped at 50.
Memory
Keys and values for 4 heads of 256 values per token per layer. Local layers need only the last 4,096 tokens.

Local and global layers

The 2B, 9B and 27B sizes alternate 4,096-token sliding-window attention with global attention over the 8,192-token context.

How it scores

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
9BGemma 2 9BOpen weights (restricted use) · 2024-06120ahead of 27% of 277 scored models27.5%—
27BGemma 2 27BOpen weights (restricted use) · 2024-06122ahead of 30% of 277 scored models36.5%—
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 accessGPT-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 accessDeepSeek-V4-Pro · 2026-04 · 149 · Open weights (unrestricted)DeepSeek-V4-Flash · 2026-04 · 146 · Open weights (unrestricted)Qwen 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 accessGemma 2 27B · 2024-06 · 122 · ahead of 30% of scored modelsGemma 2 27BGemma 2 9B · 2024-06 · 120 · ahead of 27% of scored modelsGemma 2 9B
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.

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