Leaderboard / Google

Gemma 3 4B

Google · Gemma 3 · released 2025-03-12 · data checked 2026-11-01 Needs verification

Gemma 3 4B is a 4.3B-parameter dense model from Google (United States), released 2025-03-12 under the Gemma license. It scores 17.5 on the Small LM Index, #18 of 21 tiny models. It needs about 3.5 GB of memory at 4-bit with an 8K-token context and costs $0.042 per million tokens through the cheapest API provider.

Small LM Index
17.5
#18 of 21 scored tiny models
Likely 13.4–22.7 · from 3 of 6 core benchmarks
Parameters
4.3B
Dense
Price per 1M tokens
$0.042
$0.040 in / $0.050 out · blended 3:1
Context window
128K
tokens

Benchmarks

Each bar shows this model's score. The tick marks the best tiny model on that benchmark. Sources: 3 reported by Google. How we label sources.

MMLU-Pro Lab-reported Knowledge43.6
Class best: Qwen3.5 4B 79.1
GPQA Diamond Lab-reported Knowledge30.8
Class best: Nanbeige4.2 3B 87.4
LiveCodeBench Lab-reported Coding · LiveCodeBench v512.6
Class best: LFM3 1.7B 73.5

Not reported: estimated

What the index model expects from this model's other scores. Not a measurement.

Humanity's Last Exam≈ 1
AIME≈ 12
SWE-bench Verified≈ 5

Specifications

Lab
Google (US · United States)
Architecture
Dense transformer
Total parameters
4.3B
Active parameters
All (dense)
Size class
Tiny
Context window
128K tokens
Input modalities
text, image
Reasoning
Instruct (no thinking)
License
Gemma
Openness
Open weights
Memory to run
~3.5 GB at 4-bit, 8K context (more sizes)
Hugging Face
982K downloads (30 days) · 1.6K likes
API providers
2 on OpenRouter
API price
$0.040 in / $0.050 out per 1M (OpenRouter, 2026-11-03)

Compare with

Sources

Something wrong here? Report it.

Run it locally

Uses google/gemma-3-4b-it-qat-q4_0-gguf (Q4_0). Swap the tag for another size: Q4_0.

Ollama
ollama run hf.co/google/gemma-3-4b-it-qat-q4_0-gguf:Q4_0
llama.cpp
llama-server -hf google/gemma-3-4b-it-qat-q4_0-gguf:Q4_0
Then open http://localhost:8080 for a chat window.
MLX (Mac)
pip install -U mlx-lm
mlx_lm.chat --model mlx-community/gemma-3-4b-it-4bit-DWQ
Text only; for images use mlx-vlm.
vLLM (GPU server)
vllm serve google/gemma-3-4b-it
Full-precision weights, for a server GPU.

Open in LM Studio

Memory needed: weights, context cache and runtime buffers.

Quantization4K context32K context128K context
16-bit F169.4 GB10.0 GB12 GB
8-bit Q8_05.4 GB5.9 GB7.9 GB
4-bit Q4_K_M3.4 GB4.0 GB5.9 GB

Check it against your GPU, Mac or phone →