Leaderboard / Google

Gemma 3 12B

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

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

Small LM Index
28.4
#22 of 26 scored small models
Likely 22.1–35.8 · from 3 of 6 core benchmarks
Parameters
12.2B
Dense
Price per 1M tokens
$0.060
$0.040 in / $0.12 out · blended 3:1
Context window
128K
tokens

Benchmarks

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

MMLU-Pro Lab-reported Knowledge60.6
Class best: Qwen3.5 9B 82.5
GPQA Diamond Lab-reported Knowledge40.9
Class best: Qwen3.5 9B 81.7
LiveCodeBench Lab-reported Coding · LiveCodeBench v524.6
Class best: Granite 4.2 8B 73.2

Not reported: estimated

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

Humanity's Last Exam≈ 2
AIME≈ 30
SWE-bench Verified≈ 11

Specifications

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

Compare with

Sources

Something wrong here? Report it.

Run it locally

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

Ollama
ollama run hf.co/google/gemma-3-12b-it-qat-q4_0-gguf:Q4_0
llama.cpp
llama-server -hf google/gemma-3-12b-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-12b-it-4bit-DWQ
Text only; for images use mlx-vlm.
vLLM (GPU server)
vllm serve google/gemma-3-12b-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 F1626 GB28 GB34 GB
8-bit Q8_014 GB16 GB22 GB
4-bit Q4_K_M8.7 GB11 GB17 GB

Check it against your GPU, Mac or phone →