Gemma 3 12B VRAM & GPU Requirements Calculator
Gemma 3 12B requires 22.7 GiB in FP16, 11.4 GiB in FP8, and 6.9 GiB in GGUF Q4_K_M for weights alone (48L · 5:1 sliding window (1K local / 8 global) · GQA 16Q/8KV). At 8K context (batch=1, FP16 KV), KV-cache adds 0.81 GiB (7.4× smaller than MHA).
Can Your GPU or Mac Run Gemma-3 12B? (8K Context, Batch=1)
Pre-computed fit verdict and estimated decode speed across RTX 4090/3090, Apple Silicon Unified Memory, and NVIDIA H100 clusters.
| Hardware Rig | Q4_K_M (9.2 GiB) | FP8 (13.2 GiB) | FP16 (25.0 GiB) |
|---|---|---|---|
| 1× RTX 4090 (23.9 GiB usable) | FIT · ~95 tok/s | FIT · ~62 tok/s | OOM (-1G) |
| 2× RTX 4090 / 3090 (47.8 GiB usable) | FIT · ~89 tok/s | FIT · ~69 tok/s | FIT · ~42 tok/s |
| Apple M4 Max (128 GiB Unified · 96 GiB GPU) | FIT · ~47 tok/s | FIT · ~31 tok/s | FIT · ~16 tok/s |
| Apple M3 Ultra (256 GiB Unified · 192 GiB GPU) | FIT · ~71 tok/s | FIT · ~47 tok/s | FIT · ~23 tok/s |
| 1× H100 SXM (79.6 GiB usable) | FIT · ~314 tok/s | FIT · ~207 tok/s | FIT · ~103 tok/s |
| 4× H100 SXM (318.4 GiB usable) | FIT · ~229 tok/s | FIT · ~207 tok/s | FIT · ~161 tok/s |
| 8× H100 SXM (636.8 GiB usable) | FIT · ~176 tok/s | FIT · ~169 tok/s | FIT · ~150 tok/s |
| 8× H200 SXM (1,123.2 GiB usable) | FIT · ~181 tok/s | FIT · ~175 tok/s | FIT · ~161 tok/s |
Interactive Gemma-3 12B VRAM & Roofline Simulator
1. Model & Workload
2. Target GPU / Mac Silicon
VRAM Allocation vs. Hardware Capacity
Decode Arithmetic Intensity Roofline
Compare Other LLM VRAM Requirements
All 14 Models →Frequently Asked Questions
Can 1× or 2× RTX 4090 (24 GiB / 48 GiB) run Gemma 3 12B?
At 8K context (batch=1) in GGUF Q4_K_M, Gemma 3 12B needs 9.2 GiB total VRAM including CUDA runtime overhead (6.9 GiB weights). Single 23.9 GiB usable RTX 4090: Fits at ~95 tok/s. Dual 47.8 GiB usable (2× 4090/3090): Fits Q4_K_M cleanly (~89 tok/s).
Can an Apple M4 Max (128 GiB) Mac Studio / MacBook Pro run Gemma 3 12B?
An Apple M4 Max 128 GiB reserves 96 GiB wired GPU memory by default. In GGUF Q4_K_M (9.2 GiB needed at 8K), it fits on M4 Max 128 GiB at ~47.3 tok/s.
How much KV-cache does Gemma 3 12B use at 32K context?
Gemma 3 12B uses GQA with a 5:1 sliding window (1,024 local tokens), giving a 7.4× KV-cache reduction vs standard MHA. At 32,768 context (batch=1, FP16 KV), KV-cache occupies 2.31 GiB.