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.
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.
Not reported: estimated
What the index model expects from this model's other scores. Not a measurement.
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
- Gemma 3 12B vs Ministral 3 14B (14B, index 60.0)
- Gemma 3 12B vs Gemma 4 12B (11.9B, index 56.9)
- Gemma 3 12B vs Phi-4-reasoning-plus (14.7B, index 54.4)
- Gemma 3 12B vs Phi-4 (14.7B, index 44.7)
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 run hf.co/google/gemma-3-12b-it-qat-q4_0-gguf:Q4_0llama-server -hf google/gemma-3-12b-it-qat-q4_0-gguf:Q4_0pip install -U mlx-lm
mlx_lm.chat --model mlx-community/gemma-3-12b-it-4bit-DWQvllm serve google/gemma-3-12b-itMemory needed: weights, context cache and runtime buffers.
| Quantization | 4K context | 32K context | 128K context |
|---|---|---|---|
| 16-bit F16 | 26 GB | 28 GB | 34 GB |
| 8-bit Q8_0 | 14 GB | 16 GB | 22 GB |
| 4-bit Q4_K_M | 8.7 GB | 11 GB | 17 GB |