Gemma 3 12B VRAM Requirements
Gemma 3 12B needs about 8.8 GB of VRAM at Q4_K_M with an 8K context: 6.9 GB for weights, 0.8 GB for the KV cache and 1.1 GB of runtime overhead. At Q8_0 it needs 13.9 GB and at full FP16 precision 24.6 GB. The smallest GPU that runs it fully is the Intel Arc B570 10GB.
8.8 GB VRAM
Gemma 3 12B at Q4_K_M with 8K context and the KV cache in FP16.
- Weights 6.9 GB
- KV cache 0.8 GB
- Runtime overhead 1.1 GB
Which GPUs can run it
- RTX 3060 12GBFits~29 tok/s
- RTX 4060 Ti 16GBFits~23 tok/s
- RTX 3090 24GBFits~73 tok/s
- Radeon RX 7900 XTX 24GBFits~64 tok/s
- RTX 4090 24GBFits~79 tok/s
- RTX 5090 32GBFits~136 tok/s
- RTX 6000 Ada 48GBFits~75 tok/s
- A100 80GBFits~153 tok/s
- H100 80GB SXMFits~241 tok/s
- Ryzen AI Max+ 395 128GBFits~19 tok/s
- Apple M4 Max 128GBFits~43 tok/s
- Apple M5 Max 128GBFits~49 tok/s
- RTX PRO 6000 Blackwell 96GBFits~136 tok/s
- NVIDIA DGX Spark 128GBFits~20 tok/s
- Apple M3 Ultra 512GBFits~64 tok/s
Gemma 3 12B VRAM by quantization
Total memory with an FP16 KV cache. "Smallest tier" is the smallest standard VRAM size with a 6% safety margin at 8K.
| Quantization | Bits/weight | Weights | Total at 8K | Total at 32K | Smallest tier |
|---|---|---|---|---|---|
| Q4_K_M | 4.85 | 6.9 GB | 8.8 GB | 10.3 GB | 10 GB |
| Q5_K_M | 5.69 | 8.1 GB | 10.0 GB | 11.5 GB | 12 GB |
| Q6_K | 6.59 | 9.4 GB | 11.2 GB | 12.7 GB | 12 GB |
| Q8_0 | 8.50 | 12.1 GB | 13.9 GB | 15.4 GB | 16 GB |
| FP16 / BF16 | 16.00 | 22.7 GB | 24.6 GB | 26.1 GB | 32 GB |
| Q3_K_M | 3.91 | 5.6 GB | 7.4 GB | 8.9 GB | 8 GB |
| Q2_K | 3.00 | 4.3 GB | 6.1 GB | 7.6 GB | 8 GB |
VRAM by context length
At Q4_K_M. 8 of 48 layers keep the full context. The other 40 use a 1024-token sliding window, so their cache stops growing after 1K tokens.
| Context | KV cache (FP16) | KV cache (Q8_0) | Total, FP16 cache | Total, Q8_0 cache |
|---|---|---|---|---|
| 4K tokens | 0.6 GB | 0.3 GB | 8.5 GB | 8.2 GB |
| 8K tokens | 0.8 GB | 0.4 GB | 8.8 GB | 8.4 GB |
| 32K tokens | 2.3 GB | 1.2 GB | 10.3 GB | 9.2 GB |
| 128K tokens | 8.3 GB | 4.4 GB | 16.3 GB | 12.4 GB |
GPUs that can run Gemma 3 12B
At Q4_K_M with 8K context. "Best quant" is the highest-quality format that fits fully; "max context" is at Q4_K_M.
| GPU | Usable memory | Status | Best quant | Max context | Speed |
|---|---|---|---|---|---|
| Intel Arc B570 10GB | 10.0 GB | Fits | Q4_K_M | 18K | ~23 tok/s |
| RTX 3080 10GB | 10.0 GB | Fits | Q4_K_M | 18K | ~60 tok/s |
| Apple M4 16GB | 10.7 GB | Fits | Q5_K_M | 28K | ~9.7 tok/s |
| RTX 2080 Ti 11GB | 11.0 GB | Fits | Q5_K_M | 33K | ~49 tok/s |
| RTX 2060 12GB | 12.0 GB | Fits | Q6_K | 48K | ~27 tok/s |
| RTX 3060 12GB | 12.0 GB | Fits | Q6_K | 48K | ~29 tok/s |
| Radeon RX 6700 XT 12GB | 12.0 GB | Fits | Q6_K | 48K | ~26 tok/s |
| Radeon RX 7700 XT 12GB | 12.0 GB | Fits | Q6_K | 48K | ~29 tok/s |
| Intel Arc B580 12GB | 12.0 GB | Fits | Q6_K | 48K | ~28 tok/s |
| RTX 4070 12GB | 12.0 GB | Fits | Q6_K | 48K | ~40 tok/s |
| RTX 4070 Super 12GB | 12.0 GB | Fits | Q6_K | 48K | ~40 tok/s |
| RTX 4070 Ti 12GB | 12.0 GB | Fits | Q6_K | 48K | ~40 tok/s |
| RTX 5070 12GB | 12.0 GB | Fits | Q6_K | 48K | ~53 tok/s |
| RTX 3080 12GB | 12.0 GB | Fits | Q6_K | 48K | ~72 tok/s |
| RTX 3050 8GB | 8.0 GB | 86% on GPU | Q3_K_M | – | ~13 tok/s |
| RTX 3060 Ti 8GB | 8.0 GB | 86% on GPU | Q3_K_M | – | ~20 tok/s |
| RTX 3070 8GB | 8.0 GB | 86% on GPU | Q3_K_M | – | ~20 tok/s |
| RTX 3070 Ti 8GB | 8.0 GB | 86% on GPU | Q3_K_M | – | ~22 tok/s |
| RTX 4060 8GB | 8.0 GB | 86% on GPU | Q3_K_M | – | ~15 tok/s |
| RTX 4060 Ti 8GB | 8.0 GB | 86% on GPU | Q3_K_M | – | ~16 tok/s |
About Gemma 3 12B
A strong multimodal mid-size model. Its 256-dimension heads make each cached token heavy on the 8 full-attention layers, but sliding windows on the other 40 layers keep long contexts affordable. Google also published official QAT (quantization-aware trained) Q4_0 weights.
| Spec | Value |
|---|---|
| Parameters | 12.2B |
| Layers | 48 |
| Hidden size | 3840 |
| Attention heads / KV heads | 16 / 8 |
| Head dimension | 256 |
| Vocabulary | 262,208 |
| Max context (used here) | 128K tokens |
| Sliding window | 1024 tokens on 40 of 48 layers |
| KV cache per token (FP16) | 64 KB |
| Released | 2025-03 |
| License | Gemma Terms of Use |
Gemma 3 12B VRAM: common questions
Can Gemma 3 12B run on 8GB VRAM?
At Q4_K_M the weights are about 6.9 GB, so 8 GB cards fit it only with a short context. 12 GB is the comfortable minimum.
How much VRAM does Gemma 3 12B need?
About 8.8 GB at Q4_K_M with an 8K context, 13.9 GB at Q8_0 and 24.6 GB at FP16. Longer contexts add 0.06 GB per 1,000 tokens with an FP16 cache.
What is the cheapest GPU that can run Gemma 3 12B?
The smallest listed device that fits it fully at Q4_K_M with 8K context is the Intel Arc B570 10GB (10.0 GB usable).