๐ Google
Google
Gemma 3 4B
Current1.1MDownloads1.4KLikesMar 2025Released128K tokensContextGemmaLicense51 GoodQuality
Gemma 3 4B (4B parameters) requires approximately 6.3 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 8 GB of VRAM.
Get started
โ copy & paste to run locallyCopy-paste commands to run Gemma 3 4B on your machine.
Run
ollama run gemma3:4bQuick specs
Parameters4B
Architecturedense
Context128K tokens
Modalitytext
Min RAM1.6 GB
Rec. RAM2.4 GB (Q4_K_M)
LicenseGemma
FamilyGemma
โ Chatโ Reasoning
About this model
Related models
Your hardware
Detecting...
Quick picks
๐ Intel
๐ NVIDIA
Best budgetA
Intel Arc A580 8GB~$179 โ 56 tok/sBest overallA
RTX 5060 8GB~$299 โ 76 tok/sBest hardware
Top picks for Gemma 3 4B
Run this model
Quantization options
VRAM estimates by quant level
No hardware detected โ fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 1.6 GB | Low | โ |
Q3_K_S | 3 | 2.0 GB | Low | โ |
NVFP4 | 4 | 2.2 GB | Medium | โ |
Q4_K_M | 4 | 2.4 GB | Medium | โ |
Q5_K_M | 5 | 2.9 GB | High | โ |
Q6_K | 6 | 3.3 GB | High | โ |
Q8_0 | 8 | 4.3 GB | Very High | โ |
F16 | 16 | 8.2 GB | Maximum | โ |
Quality benchmarks
Gemma 3 4B benchmark scores
Coding
SWE-bench Verifiedโ
HumanEval+71.3%
Aider Polyglotโ
LiveCodeBench12.6%
Reasoning
MMLU-Pro43.6%
GPQA Diamond30.8%
MATH-50075.6%
ARC Challengeโ
General
Chatbot Arenaโ
IFEval90.2%
Source: official ยท 2025-03-12
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights2.4 GB
KV Cache2.1 GB
Runtime1.2 GB
Headroom0.6 GB
Frequently asked questions
FAQ โ Gemma 3 4B
See also
