VRAMfit guide · updated 2026-06-28
What GPU runs gemma4?
In short: gemma4 ships in several sizes, and VRAM scales with the size you pick. At Q4_K_M the small distills run on a single 8-16 GB card, while the full 31B build needs about 19 GB - workstation or multi-GPU territory. Pick the largest size that fits your card comfortably.
How much VRAM does gemma4 need?
Per size at a 8,192-token context. The last column is the smallest RETAIL card that runs that size comfortably at Q4_K_M (datacenter and Mac options excluded):
| Model | Params | Q4_K_M VRAM | Q8_0 VRAM | Smallest comfortable retail GPU |
|---|---|---|---|---|
| gemma4:e2b | 2B | 3.0 GB | 3.9 GB | NVIDIA GeForce GTX 1650 |
| gemma4:e4b | 4B | 4.1 GB | 5.9 GB | NVIDIA GeForce RTX 2060 |
| gemma4:12b | 12B | 8.6 GB | 13.9 GB | NVIDIA GeForce RTX 2080 Ti |
| gemma4:26b | 26B | 16.5 GB | 27.9 GB | NVIDIA RTX 4000 Ada |
| gemma4:31b | 31B | 19.3 GB | 32.9 GB | NVIDIA GeForce RTX 4090 |
Which size should you run?
The distilled small sizes are the practical local picks - they fit common cards and stay fast. Larger sizes raise quality but quickly exceed a single consumer card, so match the size to your VRAM rather than always reaching for the biggest.
The card to run it on
For a strong, all-in-VRAM experience the NVIDIA GeForce RTX 4090 runs gemma4:31b comfortably at about 32 tok/s (estimated) at Q4_K_M. Check any other size on the fit board.
Frequently asked questions
How much VRAM does gemma4 need?
It depends on the size. The small distills fit 8-16 GB cards at Q4_K_M; the full 31B build needs about 19 GB - see the per-size table above.
Can I run gemma4 on a 24 GB GPU?
Yes for the small and mid sizes at Q4_K_M; the largest size overflows 24 GB and needs offloading or a bigger card.
Does a higher quant need a bigger card?
Yes - Q8_0 roughly doubles the weight memory versus Q4_K_M, so it can push a size up into the next card tier.