Gemma 4 31B
Gemma 4 31B needs roughly 23.2 GB VRAM at Q4_K_M quantization (73.0 GB at FP16). 75 GPUs we track can run it fully in VRAM at 8k context.
75 GPUs run this natively · 19 with CPU offload
Gemma 4 31B is a 31B parameter dense model developed by Google. April 2026 dense model optimized for workstations and servers. 256K context with multimodal support.
To run Gemma 4 31B locally: Q4_K_M ~18-20GB — fits on 24GB GPUs. Good choice for M4 Max or RTX 4090 owners.
31B dense architecture with vision capabilities — Google's workstation-focused offering.
VRAM at each quantization
Assumes 8k context. KV cache grows linearly with context length.
| Quant | Weights | KV cache | Total |
|---|---|---|---|
| FP32 | 124.0 GB | 3.22 GB | 142.5 GB |
| BF16 | 62.0 GB | 3.22 GB | 73.0 GB |
| FP16 | 62.0 GB | 3.22 GB | 73.0 GB |
| Q8_0 | 31.0 GB | 3.22 GB | 38.3 GB |
| Q6_K | 25.4 GB | 3.22 GB | 32.1 GB |
| Q5_K_M | 20.0 GB | 3.22 GB | 26.0 GB |
| Q4_K_Mrec | 17.4 GB | 3.22 GB | 23.2 GB |
| Q3_K_M | 13.3 GB | 3.22 GB | 18.5 GB |
| Q2_K | 10.2 GB | 3.22 GB | 15.0 GB |
| NVFP4cuda | 15.5 GB | 3.22 GB | 21.0 GB |
KV cache shown at 8k context (FP16). NVFP4 requires a CUDA GPU. Enable TurboQuant in the calculator to see reduced KV cache estimates.
Benchmarks
GPUs that run Gemma 4 31B natively (75)
- NVIDIA RTX 5090NVFP4 · 115.6 t/s
- NVIDIA RTX 5080Q2_K · 94.1 t/s
- NVIDIA RTX 5070 TiQ2_K · 87.9 t/s
- NVIDIA RTX 5060 Ti 16GBQ2_K · 43.9 t/s
- NVIDIA RTX 4090NVFP4 · 65 t/s
- NVIDIA RTX 4080Q2_K · 70.3 t/s
- NVIDIA RTX 4060 Ti 16GBQ2_K · 28.2 t/s
- NVIDIA RTX 3090NVFP4 · 60.4 t/s
- NVIDIA RTX 3090 TiNVFP4 · 65 t/s
- NVIDIA H100 80GBBF16 · 54 t/s
- NVIDIA A100 80GBBF16 · 32.9 t/s
- NVIDIA A100 40GBNVFP4 · 100.3 t/s
- NVIDIA L40SNVFP4 · 55.7 t/s
- NVIDIA RTX A6000NVFP4 · 49.5 t/s
- NVIDIA RTX 4000 AdaQ3_K_M · 24 t/s
- NVIDIA RTX 4500 AdaNVFP4 · 27.9 t/s
- NVIDIA RTX 5000 AdaNVFP4 · 37.2 t/s
- NVIDIA RTX 6000 AdaNVFP4 · 61.9 t/s
- NVIDIA RTX Pro 6000BF16 · 21.7 t/s
- NVIDIA DGX Spark (128GB)BF16 · 4.4 t/s
- AMD Radeon RX 7900 XTXQ3_K_M · 72 t/s
- AMD Radeon RX 7900 XTQ3_K_M · 60 t/s
- AMD Radeon RX 7900 GREQ2_K · 56.5 t/s
- AMD Radeon RX 6800 XTQ2_K · 50.2 t/s
- AMD Radeon PRO W7800Q5_K_M · 28.9 t/s
- AMD Radeon PRO W7900Q8_0 · 27.9 t/s
- AMD Instinct MI300XFP32 · 42.7 t/s
- AMD Radeon AI Pro 9700 32GBQ5_K_M · 32.1 t/s
- AMD Strix Halo (128GB)BF16 · 4.1 t/s
- AMD Strix Halo (96GB)BF16 · 4.1 t/s
- AMD Strix Halo (64GB)Q8_0 · 8.3 t/s
- Apple M5 Max (128GB)BF16 · 9.9 t/s
- Apple M5 Max (64GB)Q8_0 · 19.8 t/s
- Apple M5 Max (48GB)Q8_0 · 19.8 t/s
- Apple M5 Pro (48GB)Q8_0 · 9.9 t/s
- Apple M5 Pro (36GB)Q5_K_M · 15.4 t/s
- Apple M5 Pro (24GB)Q3_K_M · 23 t/s
- Apple M5 (32GB)Q5_K_M · 7.7 t/s
- Apple M4 Ultra (384GB)FP32 · 8.8 t/s
- Apple M4 Ultra (192GB)FP32 · 8.8 t/s
- Apple M4 Max (128GB)BF16 · 8.8 t/s
- Apple M4 Max (96GB)BF16 · 8.8 t/s
- Apple M4 Max (64GB)Q8_0 · 17.6 t/s
- Apple M4 Max (48GB)Q8_0 · 17.6 t/s
- Apple M4 Pro (48GB)Q8_0 · 8.8 t/s
- Apple M4 Pro (24GB)Q3_K_M · 20.5 t/s
- Apple M4 (32GB)Q5_K_M · 6 t/s
- Apple M3 Ultra (512GB)FP32 · 6.6 t/s
- Apple M3 Ultra (256GB)FP32 · 6.6 t/s
- Apple M3 Ultra (96GB)BF16 · 13.2 t/s
- Apple M3 Max (128GB)BF16 · 6.5 t/s
- Apple M3 Max (96GB)BF16 · 6.5 t/s
- Apple M3 Max (64GB)Q8_0 · 12.9 t/s
- Apple M3 Max (48GB)Q8_0 · 12.9 t/s
- Apple M3 Max (36GB)Q5_K_M · 20 t/s
- Apple M3 Pro (36GB)Q5_K_M · 7.5 t/s
- Apple M3 (24GB)Q3_K_M · 7.5 t/s
- Apple M2 Ultra (384GB)FP32 · 6.5 t/s
- Apple M2 Ultra (192GB)FP32 · 6.5 t/s
- Apple M2 Max (96GB)BF16 · 6.5 t/s
- Apple M2 Max (64GB)Q8_0 · 12.9 t/s
- Apple M2 Max (32GB)Q5_K_M · 20 t/s
- Apple M2 Pro (32GB)Q5_K_M · 10 t/s
- Apple M2 (24GB)Q3_K_M · 7.5 t/s
- Apple M1 Ultra (128GB)BF16 · 12.9 t/s
- Apple M1 Ultra (64GB)Q8_0 · 25.8 t/s
- Apple M1 Max (64GB)Q8_0 · 12.9 t/s
- Apple M1 Max (32GB)Q5_K_M · 20 t/s
- Apple M1 Pro (32GB)Q5_K_M · 10 t/s
- Intel Arc Pro B70 24GBQ3_K_M · 34.2 t/s
- Intel Arc Pro B60 24GBQ3_K_M · 28.5 t/s
- Intel Arc A770 16GBQ2_K · 54.9 t/s
- Intel Data Center GPU Max 1550BF16 · 52.8 t/s
- Intel Data Center GPU Max 1100Q8_0 · 39.6 t/s
- Intel Arc 140V (32GB)Q5_K_M · 6.9 t/s
Plus 19 GPUs that run it with CPU offload (slower)
- NVIDIA RTX 5070NVFP4 · 10.8 t/s
- NVIDIA RTX 5060NVFP4 · 7.2 t/s
- NVIDIA RTX 5050NVFP4 · 5.2 t/s
- NVIDIA RTX 4070 TiNVFP4 · 8.1 t/s
- NVIDIA RTX 4070NVFP4 · 8.1 t/s
- NVIDIA RTX 4060NVFP4 · 4.4 t/s
- NVIDIA RTX 3080 10GBNVFP4 · 12.3 t/s
- NVIDIA RTX 3060 12GBNVFP4 · 5.8 t/s
- Intel Arc B580 12GBQ6_K · 4.5 t/s
- Intel Arc B570 10GBQ6_K · 3.7 t/s
- Intel Arc A770 8GBQ6_K · 5 t/s
- Intel Arc A750 8GBQ6_K · 5 t/s
- Intel Arc A580 8GBQ6_K · 5 t/s
- Intel Arc A380 6GBQ5_K_M · 2.3 t/s
- Intel Arc A310 4GBQ5_K_M · 1.6 t/s
- Intel Arc Pro A60 12GBQ6_K · 3.8 t/s
- Intel Arc Pro A50 6GBQ5_K_M · 2.4 t/s
- Intel Arc Pro A40 6GBQ5_K_M · 2.4 t/s
- CPU only (system RAM)Q5_K_M · 0.5 t/s
Notes
Dense model optimized for workstations/servers.
Compare Gemma 4 31B with other models
Frequently asked questions
- What are the VRAM requirements for Gemma 4 31B?
- Gemma 4 31B requires approximately 23.2 GB of VRAM at Q4_K_M quantization, 38.3 GB at Q8, and 73.0 GB at FP16. These numbers assume 8k context window; VRAM scales linearly with context length due to the KV cache.
- How many parameters does Gemma 4 31B have?
- Gemma 4 31B has 31 billion parameters.
- How capable is Gemma 4 31B?
- Gemma 4 31B achieves an MMLU-Pro score of 85.2, placing it among the most capable open-weight models available — competitive with frontier systems on general knowledge and reasoning.
- Can Gemma 4 31B run on a 16 GB GPU?
- No. At Q4_K_M, Gemma 4 31B needs 23.2 GB of VRAM — more than 16 GB. You will need a 24 GB GPU like the RTX 4090 or RTX 3090.
- Can Gemma 4 31B run on a 24 GB GPU?
- Yes. Gemma 4 31B fits in a 24 GB GPU at Q4_K_M, requiring 23.2 GB VRAM. GPUs with 24 GB include the RTX 4090, RTX 3090, and RTX 3090 Ti.
- What is the smallest quantization for Gemma 4 31B that fits in 24 GB of VRAM?
- At NVFP4, Gemma 4 31B needs 21.0 GB — the highest-quality quantization that fits in 24 GB of VRAM.
- What GPU do I need to run Gemma 4 31B locally?
- A 24 GB GPU is the minimum. At Q4_K_M, Gemma 4 31B needs 23.2 GB VRAM. Good options: RTX 4090 (24 GB), RTX 3090 (24 GB).