Parameters
30.7B
Architecture
Dense
Released
11.03.2026
License
Apache License 2.0
Input Modalities
Output Modalities
Context (native)
262,144 tokens
Context (extended)
262,144 tokens
About
Gemma4-31B-it (google/gemma-4-31B-it) is the instruction-tuned flagship of Google DeepMind's Gemma 4 family - a dense multimodal model handling text and image input and generating text, with multilingual support in over 140 languages. Its 60-layer hybrid attention stack interleaves local Sliding-Window Attention (SWA) (50 layers, window 1024) with 10 full-attention layers (final layer global), with unified Keys and Values (K=V, 4 global KV heads, head dim 512) and Proportional RoPE (p-RoPE) on global layers, 32 Q / 16 KV GQA heads (head dim 256), hidden size 5376, FFN 21504, 262K vocabulary, soft logit capping at 30.0 and a 262,144-token context window. Multimodality comes from a ~550M vision encoder (27-layer ViT, patch 16, 280 soft tokens per image, variable aspect ratio and resolution); audio is not supported on this variant.
Gemma 4 capabilities include configurable thinking modes, native function calling for agentic workflows, native system role support, video understanding via frame sequences, interleaved multimodal input and enhanced coding. Pre-training spans web documents, code, mathematics and images (cutoff January 2025, 140+ languages) with CSAM and sensitive-data filtering; this checkpoint is the instruction-tuned variant. Released March 11, 2026 under Apache 2.0.
Training Data Large-scale diverse collection: web documents, code, images, audio. 140+ languages. Cutoff: January 2025.
Benchmark Scores
| Benchmark | Score | Date | Standing |
|---|---|---|---|
|
SWE-bench Verified
coding_agent
|
59.17%
|
16.04.2026 |
#46/60
better than 22%
|
|
SWE-bench Multilingual
coding_agent
|
55.27%
|
16.04.2026 |
#40/48
better than 15%
|
|
Terminal-Bench 2.0
coding_agent
|
30.05%
|
16.04.2026 |
#15/23
better than 36%
|
|
Claw-Eval Avg
coding_agent
|
57.47%
|
16.04.2026 |
#33/40
better than 18%
|
|
Claw-Eval Pass^3
coding_agent
|
25.00
|
16.04.2026 |
#21/21
better than 0%
|
|
SkillsBench Avg5
coding_agent
|
30.82%
|
16.04.2026 |
#14/16
better than 13%
|
|
QwenClawBench
coding_agent
|
76.07%
|
16.04.2026 |
#8/17
better than 56%
|
|
NL2Repo
coding_agent
|
8.00%
|
16.04.2026 |
#38/41
better than 5%
|
|
QwenWebBench
coding_agent
|
39.25%
|
16.04.2026 |
#4/8
better than 57%
|
|
TAU3-Bench
general_agent
|
97.93%
|
16.04.2026 |
#4/21
better than 85%
|
|
VITA-Bench
general_agent
|
100.00%
|
16.04.2026 |
#1/16
better than 100%
|
|
DeepPlanning
general_agent
|
16.56%
|
16.04.2026 |
#4/10
better than 67%
|
|
Tool Decathlon
general_agent
|
19.21%
|
16.04.2026 |
#10/11
better than 10%
|
|
MCPMark
general_agent
|
17.14%
|
16.04.2026 |
#10/15
better than 36%
|
|
MCP-Atlas
general_agent
|
58.22%
|
16.04.2026 |
#41/54
better than 25%
|
|
WideSearch
general_agent
|
35.20
|
16.04.2026 |
#24/24
better than 0%
|
|
MMLU-Pro
knowledge
|
81.29%
|
16.04.2026 |
#18/48
better than 62%
|
|
MMLU-Redux
knowledge
|
92.02%
|
16.04.2026 |
#6/30
better than 79%
|
|
SuperGPQA
knowledge
|
88.96%
|
16.04.2026 |
#5/28
better than 85%
|
|
GPQA Diamond
stem_reasoning
|
81.09%
|
16.04.2026 |
#50/80
better than 34%
|
|
Humanity's Last Exam
stem_reasoning
|
32.95%
|
16.04.2026 |
#50/71
better than 29%
|
|
LiveCodeBench v6
stem_reasoning
|
81.58%
|
16.04.2026 |
#26/49
better than 48%
|
|
HMMT Feb 25
stem_reasoning
|
86.44%
|
16.04.2026 |
#10/17
better than 44%
|
|
HMMT Nov 25
stem_reasoning
|
54.31%
|
16.04.2026 |
#16/20
better than 16%
|
|
HMMT Feb 26
stem_reasoning
|
73.45%
|
16.04.2026 |
#31/44
better than 30%
|
|
IMOAnswerBench
stem_reasoning
|
73.72%
|
16.04.2026 |
#21/30
better than 31%
|
|
AIME 26
stem_reasoning
|
87.24%
|
16.04.2026 |
#31/45
better than 32%
|
|
MMMU
vision_language
|
89.96%
|
16.04.2026 |
#10/19
better than 50%
|
|
ZEROBench_sub
vision_language
|
26.00
|
16.04.2026 |
#11/11
better than 0%
|
|
RealWorldQA
vision_language
|
62.33%
|
16.04.2026 |
#17/23
better than 27%
|
|
MMBench EN-DEV v1.1
vision_language
|
90.06%
|
16.04.2026 |
#6/15
better than 64%
|
|
HallusionBench
vision_language
|
61.48%
|
16.04.2026 |
#6/13
better than 58%
|
|
OmniDocBench 1.5
document_understanding
|
87.42%
|
16.04.2026 |
#18/26
better than 32%
|
|
CharXiv (RQ)
document_understanding
|
7.51%
|
16.04.2026 |
#29/34
better than 15%
|
|
CC-OCR
document_understanding
|
54.68%
|
16.04.2026 |
#11/14
better than 23%
|
|
AI2D_TEST
document_understanding
|
85.71%
|
16.04.2026 |
#8/15
better than 50%
|
|
DynaMath
vision_language
|
7.87%
|
22.04.2026 |
#12/14
better than 15%
|
|
VlmsAreBlind
vision_language
|
53.77%
|
22.04.2026 |
#7/11
better than 40%
|
|
MMStar
vision_language
|
76.89%
|
22.04.2026 |
#10/16
better than 40%
|
|
CountBench
spatial_intelligence
|
78.21%
|
22.04.2026 |
#7/13
better than 42%
|
|
RefSpatialBench
spatial_intelligence
|
3.69%
|
22.04.2026 |
#11/12
better than 9%
|
|
V-Star
vision_language
|
21.11%
|
22.04.2026 |
#18/20
better than 5%
|
|
Terminal-Bench 2.1 (Terminus-2)
coding_agent
|
31.12%
|
25.06.2026 |
#40/44
better than 7%
|
|
DeepSearch QA
general_agent
|
61.70
|
01.08.2026 |
#9/9
better than 0%
|
|
WildClawBench
coding_agent
|
48.68%
|
01.08.2026 |
#11/20
better than 47%
|
|
GDPVal-AA v2
general_agent
|
44.29%
|
01.08.2026 |
#28/38
better than 27%
|
|
Gaia2
general_agent
|
15.92%
|
01.08.2026 |
#10/12
better than 18%
|
|
SkillsBench
general_agent
|
32.40
|
01.08.2026 |
#9/9
better than 0%
|
|
OSWorld-Verified
general_agent
|
46.54%
|
01.08.2026 |
#19/25
better than 25%
|
|
SciCode (subtask)
stem_reasoning
|
24.76%
|
01.08.2026 |
#13/15
better than 14%
|
|
ScreenSpot Pro
general_agent
|
99.50%
|
01.08.2026 |
#2/11
better than 90%
|
|
IFBench
instruction_following
|
86.67%
|
01.08.2026 |
#17/42
better than 61%
|
|
Beam128K
long_context
|
58.20
|
01.08.2026 |
#3/3
better than 0%
|
|
MBCT
safety
|
52.30%
|
01.08.2026 |
#2/4
better than 67%
|
|
HPCT
safety
|
48.62%
|
01.08.2026 |
#2/4
better than 67%
|
|
VCT
safety
|
68.53%
|
01.08.2026 |
#2/4
better than 67%
|
|
WMDP (Bio)
safety
|
25.58%
|
01.08.2026 |
#3/4
better than 33%
|
|
WMDP (Chem)
safety
|
60.64%
|
01.08.2026 |
#2/4
better than 67%
|
|
Lab Bench (ProtocolQA)
safety
|
52.34%
|
01.08.2026 |
#3/4
better than 33%
|
|
MMMU-Pro
vision_language
|
87.52%
|
16.04.2026 |
#12/35
better than 65%
|
|
CodeForces
stem_reasoning
|
60.70%
|
02.07.2026 |
#9/18
better than 53%
|
|
TAU2-Bench
general_agent
|
75.06%
|
02.07.2026 |
#8/21
better than 65%
|
|
HLE with search
stem_reasoning
|
100.00%
|
02.07.2026 |
#1/2
better than 100%
|
|
BigBench Extra Hard
stem_reasoning
|
100.00%
|
02.07.2026 |
#1/6
better than 100%
|
|
MMMLU
multilingual
|
91.70%
|
02.07.2026 |
#4/20
better than 84%
|
|
MathVision
vision_language
|
76.45%
|
02.07.2026 |
#10/27
better than 65%
|
|
MedXpertQA-MM
vision_language
|
86.30%
|
02.07.2026 |
#4/13
better than 75%
|
|
MRCR v2 128K (8-needle)
long_context
|
100.00%
|
02.07.2026 |
#1/6
better than 100%
|
|
ParseBench Mean
document_understanding
|
100.00%
|
02.07.2026 |
#1/3
better than 100%
|
|
ParseBench Text Content
document_understanding
|
55.56%
|
02.07.2026 |
#2/3
better than 50%
|
|
ParseBench Text Formatting
document_understanding
|
100.00%
|
02.07.2026 |
#1/3
better than 100%
|
|
Ifstruct V1
instruction_following
|
100.00%
|
02.07.2026 |
#1/3
better than 100%
|
|
C-Eval
knowledge
|
3.67%
|
16.04.2026 |
#13/15
better than 14%
|
|
TauBench V3 Banking
general_agent
|
23.49%
|
01.08.2026 |
#13/17
better than 25%
|
|
SimpleVQA
vision_language
|
44.50%
|
16.04.2026 |
#13/16
better than 20%
|
|
ERQA
spatial_intelligence
|
56.21%
|
22.04.2026 |
#10/21
better than 55%
|
|
OCRBench
document_understanding
|
1.30%
|
22.04.2026 |
#9/12
better than 27%
|
|
SWE-bench Pro
coding_agent
|
39.80%
|
16.04.2026 |
#61/77
better than 20%
|
|
VideoMMMU
video_understanding
|
83.55%
|
16.04.2026 |
#12/19
better than 39%
|
|
AA-LCR
long_context
|
81.31%
|
01.08.2026 |
#13/42
better than 66%
|
|
MathVista (mini)
vision_language
|
66.40%
|
16.04.2026 |
#12/14
better than 15%
|
What is a good SWE-bench Verified score? What is a good SWE-bench Multilingual score? What is a good Terminal-Bench 2.0 score?
Hardware Requirements
Estimated VRAM per quantization at 4,096 tokens context
| Quantization | Weights | KV Cache | Total VRAM | On your hardware |
|---|---|---|---|---|
| FP16 — 16-bit | 61.4 GB | 4.8 GB | 69.2 GB | Which GPUs can run it? Calculate on your GPU |
| INT8 — 8-bit | 30.7 GB | 2.4 GB | 34.6 GB | Which GPUs can run it? Calculate on your GPU |
| INT4 — 4-bit | 15.3 GB | 1.2 GB | 17.3 GB | Which GPUs can run it? Calculate on your GPU |
| FP4 — 4-bit | 15.3 GB | 1.2 GB | 17.3 GB | Which GPUs can run it? Calculate on your GPU |
Only datacenter GPUs — FP16 needs 69.2 GB. For consumer hardware, choose the INT4 build with a multi-GPU setup.
Consumer GPUs that fit this model with a single card (INT4):
Architecture
- Attention
- Hybrid Attention (32:16)
- Layers
- 60
- Hidden size
- 5376
- Context
- 262K tokens
- Parameters
- 30700M
Source: Hugging Face config.json · Gemma4ForConditionalGeneration · exact layer pattern · model repo
Training Pipeline
-
1
pretraining
Multimodal pre-training (cutoff January 2025)
Web documents, code, mathematics and images in 140+ languages; CSAM and sensitive-data filtering.
-
2
sft
Instruction tuning
This checkpoint is the instruction-tuned (-it) variant of Gemma 4 31B.
Training & Evaluation Datasets
| Name | Role | Size | Modalities | Collection |
|---|---|---|---|---|
| Web documents (140+ languages) | pretraining | — | — | |
| Code | pretraining | — | — | |
| Mathematics | pretraining | — | — | |
| Images | pretraining | — | — |
Linked Resources
Gemma 4 Technical Report
https://arxiv.org/abs/2607.02770
Gemma 4 Launch Blog
https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/
Gemma Documentation
https://ai.google.dev/gemma/docs/core
Google Gemma GitHub
https://github.com/google-gemma
Gemma 4 HuggingFace Collection
https://huggingface.co/collections/google/gemma-4
Gemma 4 License (Apache 2.0)
https://ai.google.dev/gemma/docs/gemma_4_license
Google DeepMind Gemma
https://deepmind.google/models/gemma/
Gemma 4 Technical Report Citation
https://arxiv.org/abs/2607.02770
Trend Analysis
24h Change
-1.7%
7d Change
-12.9%
30d Change
-20.4%
Current
6,692,367
followers
+0.2%
likes
+0.1%
downloads
+0.3%
downloads_all_time
+0.2%
No comments yet
Be the first to share your thoughts!