Sponsored
LimitDigest
Home / Models / Local finder / Requirements / Gemma 4 31B

Gemma 4 31B VRAM requirements

Google · 30.7B params · Apache 2.0. Estimates, not vendor numbers.

Quick answer

Gemma 4 31B (30.7B parameters) needs about 20 GB of VRAM or unified memory at Q4, 23 GB at Q5 and 34 GB at Q8 (weights plus about 1.5 GB headroom, our estimate). The smallest common setup that runs it is 24GB GPU (RTX 4090).

QuantDownloadMemory needed
Q418 GB20 GB
Q522 GB23 GB
Q833 GB34 GB

Will it run on my machine?

SetupRuns?Speed est.
8GB GPU (RTX 4060)Non/a
12GB GPU (RTX 3060 / 4070)Non/a
16GB GPU (RTX 4060 Ti 16GB)Non/a
24GB GPU (RTX 4090)Yes, Q4~33 tok/s
32GB GPU (RTX 5090)Yes, Q5~49 tok/s
Mac 16GB (M4)Non/a
Mac 48GB (M4 Pro)Yes, Q4~9 tok/s
Mac 128GB (M4 Max)Yes, Q5~15 tok/s
PC, 32GB RAM, no GPUNon/a

Best quant that fits each setup, with estimated generation speed from memory bandwidth. Real speed depends on the runtime, context length and settings.

On the best local model board (LMArena, CC BY 4.0) it ranks #1 among the open models in our finder.

FAQ

How much VRAM does Gemma 4 31B need?

About 20 GB at Q4, 23 GB at Q5 and 34 GB at Q8, including about 1.5 GB headroom. These are estimates from the parameter count on the official model card.

Can Gemma 4 31B run on 8GB of VRAM?

Not fully on the GPU. At Q4 it needs about 20 GB; partial CPU offload works but is much slower.

Can Gemma 4 31B run on a Mac?

Yes. Mac 48GB (M4 Pro), Mac 128GB (M4 Max) can run it.

Which quant of Gemma 4 31B should I use?

Use the highest quant that fits with room to spare: Q8 is near full quality, Q5 is a good balance, and Q4 is the smallest that usually keeps quality acceptable.

Similar-size models

Qwen3.6 27B (27B) · Qwen3.8 27B (27.8B) · Muse Glimmer 30B (29.6B) · Qwen3 Coder 30B A3B (30.5B) · DeepSeek R1 Distill Qwen 32B (32.8B) · Qwen3.6 35B A3B (35B)