Gemma 4 31B — VRAM Requirements

Written by Jakub Rusinowski · Last updated July 21, 2026

How much GPU VRAM you need to run Gemma 4 Gemma 4 31B by Google locally, a 31B-parameter model. Figures are quantized weights + KV cache + framework overhead from a memory-bandwidth roofline model.

Gemma 4 31B needs about 20 GB VRAM at Q4_K_M.

VRAM by Quantization

QuantBits/weightWeightsTotal VRAM
Q2_K2.6310.2 GB11.0 GB
Q3_K_M3.4113.2 GB14.0 GB
Q4_K_M4.8318.7 GB19.5 GB
Q5_K_M5.6722.0 GB22.8 GB
Q6_K6.5625.4 GB26.2 GB
Q8_08.5032.9 GB33.7 GB
F1616.0062.0 GB62.8 GB

Switch quantization in the interactive calculator, or see the full Gemma 4 model page.

Add this badge to your model card

Model creators: paste this into your Hugging Face model card README to link readers straight to this VRAM breakdown.

VRAM Requirements

[![VRAM Requirements](https://img.shields.io/badge/Check_VRAM-LLM_Configurator-blue)](https://llmconfigurator.com/en/vram-calculator/gemma-4-31b)

Estimates only — actual VRAM varies with context length, batch size, runtime and KV-cache settings.