Parameters
11.9B
Architecture
Dense (Unified, encoder-free)
Released
23.05.2026
License
Apache License 2.0
Input Modalities
Output Modalities
Context (native)
262,144 tokens
Context (extended)
262,144 tokens
About
Gemma4-12B (google/gemma-4-12B-it) is the instruction-tuned 12B "Unified" model of Google DeepMind's Gemma 4 family - an encoder-free multimodal architecture that eliminates dedicated vision and audio encoders entirely: raw image patches and audio waveforms are projected directly into the LLM's embedding space through lightweight linear layers, so all modalities flow into a single decoder-only transformer. It handles text, image and audio input and generates text (any-to-any pipeline), with multilingual support in over 140 languages.
The 12B Unified has 11.95B parameters, 48 layers (40 Sliding-Window Attention (SWA) layers with window 1024 + 8 full-attention layers), hidden size 3840, FFN 15360, 262,144-token context window and 262K vocabulary. Like its siblings it uses the hybrid local-global attention design (final layer always global), unified Keys and Values (K=V) with Proportional RoPE (p-RoPE) on global layers (1 global KV head, head dim 512, theta 1M partial rotary 0.25), and final logit softcapping at 30.0.
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, images and audio (cutoff January 2025, 140+ languages) with CSAM and sensitive-data filtering; this checkpoint is the instruction-tuned variant. Released May 23, 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 |
|---|---|---|---|
|
Terminal-Bench 2.1 (Terminus-2)
coding_agent
|
21.00
|
25.06.2026 |
#44/44
better than 0%
|
|
SWE-bench Verified
coding_agent
|
50.23%
|
25.06.2026 |
#49/60
better than 19%
|
|
SWE-bench Multilingual
coding_agent
|
32.54%
|
25.06.2026 |
#43/48
better than 11%
|
|
NL2Repo
coding_agent
|
10.30
|
25.06.2026 |
#41/41
better than 0%
|
|
Claw-Eval Avg
coding_agent
|
37.39%
|
25.06.2026 |
#36/40
better than 10%
|
|
MMLU-Pro
knowledge
|
55.48%
|
02.07.2026 |
#33/48
better than 32%
|
|
LiveCodeBench v6
stem_reasoning
|
70.67%
|
02.07.2026 |
#34/49
better than 31%
|
|
CodeForces
stem_reasoning
|
46.09%
|
02.07.2026 |
#15/18
better than 18%
|
|
GPQA Diamond
stem_reasoning
|
70.69%
|
02.07.2026 |
#62/80
better than 23%
|
|
TAU2-Bench
general_agent
|
65.31%
|
02.07.2026 |
#11/21
better than 50%
|
|
BigBench Extra Hard
stem_reasoning
|
61.16%
|
02.07.2026 |
#3/6
better than 60%
|
|
MMMLU
multilingual
|
69.87%
|
02.07.2026 |
#12/20
better than 37%
|
|
MMMU-Pro
vision_language
|
74.00%
|
02.07.2026 |
#26/35
better than 26%
|
|
OmniDocBench 1.5
document_understanding
|
0.16
|
02.07.2026 |
#26/26
better than 0%
|
|
MathVision
vision_language
|
65.06%
|
02.07.2026 |
#15/27
better than 46%
|
|
MedXpertQA-MM
vision_language
|
57.53%
|
02.07.2026 |
#7/13
better than 50%
|
|
CoVoST
multilingual
|
100.00%
|
02.07.2026 |
#1/3
better than 100%
|
|
FLEURS
multilingual
|
0.07
|
02.07.2026 |
#5/5
better than 0%
|
|
MRCR v2 128K (8-needle)
long_context
|
56.52%
|
02.07.2026 |
#3/6
better than 60%
|
|
BFCL-V4
general_agent
|
17.06%
|
— |
#25/27
better than 8%
|
|
TAU3-Bench
general_agent
|
17.87%
|
— |
#12/21
better than 45%
|
|
VITA-Bench
general_agent
|
20.73%
|
— |
#12/16
better than 27%
|
|
BrowseComp
general_agent
|
7.75%
|
— |
#39/45
better than 14%
|
|
SciCode
|
64.38%
|
— |
#9/27
better than 69%
|
|
Gaokao 2026
|
90.88%
|
— |
#3/8
better than 71%
|
|
HMMT Feb 26
stem_reasoning
|
58.42%
|
— |
#35/44
better than 21%
|
|
IMOAnswerBench
stem_reasoning
|
49.15%
|
— |
#27/30
better than 10%
|
|
IFBench
instruction_following
|
82.60%
|
— |
#21/42
better than 51%
|
|
GPQA
reasoning
|
92.93%
|
— |
#3/14
better than 85%
|
|
AIME 26
stem_reasoning
|
78.19%
|
02.07.2026 |
#37/45
better than 18%
|
|
Humanity's Last Exam
stem_reasoning
|
20.83%
|
02.07.2026 |
#56/71
better than 21%
|
|
MCP-Atlas
general_agent
|
23.37%
|
— |
#50/54
better than 8%
|
|
IFEval
instruction_following
|
96.85%
|
— |
#4/26
better than 88%
|
|
SWE-bench Pro
coding_agent
|
24.41%
|
25.06.2026 |
#66/77
better than 14%
|
|
AA-LCR
long_context
|
65.83%
|
— |
#33/42
better than 22%
|
What is a good Terminal-Bench 2.1 (Terminus-2) score? What is a good SWE-bench Verified score? What is a good SWE-bench Multilingual score?
Hardware Requirements
Estimated VRAM per quantization at 4,096 tokens context
| Quantization | Weights | KV Cache | Total VRAM | On your hardware |
|---|---|---|---|---|
| FP16 — 16-bit | 23.9 GB | 1.9 GB | 26.9 GB | Which GPUs can run it? Calculate on your GPU |
| INT8 — 8-bit | 11.9 GB | 0.9 GB | 13.5 GB | Which GPUs can run it? Calculate on your GPU |
| INT4 — 4-bit | 6.0 GB | 0.5 GB | 6.7 GB | Which GPUs can run it? Calculate on your GPU |
| FP4 — 4-bit | 6.0 GB | 0.5 GB | 6.7 GB | Which GPUs can run it? Calculate on your GPU |
Consumer GPUs that fit this model with a single card (INT4):
Architecture
- Attention
- Hybrid Attention (16:8)
- Layers
- 48
- Hidden size
- 3840
- Context
- 262K tokens
- Parameters
- 11950M
Source: Hugging Face config.json · Gemma4UnifiedForConditionalGeneration · exact layer pattern · model repo
none - raw image patches and audio waveforms projected via lightweight linear layers
Training Pipeline
-
1
pretraining
Multimodal pre-training incl. audio (cutoff January 2025)
Web documents, code, mathematics, images and audio in 140+ languages; CSAM and sensitive-data filtering.
-
2
sft
Instruction tuning
This checkpoint is the instruction-tuned (-it) variant of Gemma 4 12B Unified.
Training & Evaluation Datasets
| Name | Role | Size | Modalities | Collection |
|---|---|---|---|---|
| Web documents (140+ languages) | pretraining | — | — | |
| Code | pretraining | — | — | |
| Mathematics | pretraining | — | — | |
| Images | pretraining | — | — | |
| Audio | pretraining | — | — |
Linked Resources
Gemma 4 Technical Report
https://arxiv.org/abs/2607.02770
Introducing Gemma 4 12B (launch blog)
https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12B/
Gemma documentation (Google AI for Developers)
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
BibTeX citation (Google DeepMind, 2026)
https://huggingface.co/google/gemma-4-12B-it
Trend Analysis
24h Change
+0.2%
7d Change
+0.9%
30d Change
+4.3%
Current
73,412
downloads
-2.5%
downloads_all_time
+0.4%
likes
+0.3%
downloads
+0.3%
No comments yet
Be the first to share your thoughts!