作者: Jakub Rusinowski · 最后更新: 2025年3月12日
Model library → Gemma 3 → Gemma 3 12B Instruct
The sweet spot of the Gemma 3 family. Rivals Llama 3.3 70B in many tasks while fitting comfortably in 8GB VRAM. Exceptional for creative writing and coding.
Gemma 3 12B Instruct needs about 8 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.
| Parameters | 12 Billion |
| Context window | 128,000 |
| Architecture | Dense |
| Provider | |
| Licence | Gemma Terms |
| Specified at | Q4_K_M |
| System RAM | 16 GB |
| Record updated | 2025-03-12 |
Gemma Terms — commercial use permitted. Weights are downloadable and commercial use is permitted, subject to the licence’s acceptable-use terms.
Modelled on a reference NVIDIA RTX 4090 (24 GB), at 8K context. Speed figures are ESTIMATES from the memory-bandwidth roofline described on the methodology page, not benchmarks we ran — rows marked measured come from published or reader-submitted runs. VRAM here includes the KV cache, so it reads higher than the headline figure above, which does not.
| Quant | Weights | VRAM needed | Est. speed | Fit on 24 GB |
|---|---|---|---|---|
| Q2_K | 3.9 GB | 7.8 GB | ~105 tok/s (est.) | Fits comfortably |
| Q3_K_M | 5.1 GB | 9.0 GB | ~90 tok/s (est.) | Fits comfortably |
| Q4_K_M | 7.2 GB | 11.1 GB | ~72 tok/s (est.) | Fits comfortably |
| Q5_K_M | 8.5 GB | 12.4 GB | ~64 tok/s (est.) | Fits comfortably |
| Q6_K | 9.8 GB | 13.7 GB | ~58 tok/s (est.) | Fits comfortably |
| Q8_0 | 12.8 GB | 16.6 GB | ~47 tok/s (est.) | Fits comfortably |
| F16 | 24.0 GB | 27.9 GB | ~4 tok/s (est.) | Offloads to system RAM (slow) |
Want the memory numbers alone, at every quantization level and your own context length? Use the Gemma 3 12B Instruct VRAM calculator.
or compare on Vast.ai from $0.35/hr (typical low · varies)
As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.
The cheapest catalogued GPU that runs Gemma 3 12B Instruct is the Intel Arc B570 (10 GB).
Install Ollama, then run:
ollama run gemma3:12b
Weights on Hugging Face: google/gemma-3-12b-it.
Best for: chat, creative, coding, balanced.
← All Gemma 3 models | VRAM calculator | Build a PC for this model | Check your own hardware