GPUs tracked29Price history3 dayssince Sep 3, 2026Price points (24h)10,787 pointsBiggest 24h dropBiggest 24h riseData updated Sep 5, 2026

How Much VRAM Does Gemma 4 31B Need to Run Locally?

See devices that run it

Gemma 4 31B is a dense model with 31.3B parameters. At Q4 it needs at least 26GB of VRAM, and 32GB is the comfortable amount for an 8K context. The cheapest device that holds it is the Arc Pro B65, with no used-price data yet, at roughly 12.6 tokens/s.

Gemma 4 31B details

Launch dateMar 11, 2026
Hugging Face repogoogle/gemma-4-31B-it
Revision
LicenseApache-2.0
ArchitectureDense
Ollama tag
Downloads (30d)8,332,852
Min VRAM at Q426 GB · Q4_K_M · 8K
Parameters31.3B
Layers60
Hidden size5,376
KV heads16
Head dim256
Max context256K
VendorGoogle DeepMind

VRAM needed for Gemma 4 31B by quantization and context

Total at 8K
QuantizationWeightsGBTotal at 8KGBTotal at 32KGBTotal at 128KGB
Q4_K_M18.3GGUF25.948.4138.4
Q5_K_M21.7GGUF29.652.1142.1
Q8_032.6GGUF40.963.4153.4
FP1661.4GGUF69.792.2182.2

Total = weights + KV cache (FP16) + 1GB runtime overhead. Weights marked GGUF are measured file sizes from the repository; the rest are estimated from bytes per parameter. Contexts beyond this model's 256K limit show a dash.

Which GPUs can run Gemma 4 31B?

Q4_K_M · 8K context · sorted by eBay used price
DeviceVRAMGBUsed priceEst. t/sSuggested context
Arc Pro B6532No listings12.68K
Arc Pro B7032No listings12.68K
GeForce RTX 4080 SUPER 32GB (modded)32No listings23.48K
GeForce RTX 509032No listings55.68K
GeForce RTX 5090 D32No listings55.68K
Instinct MI10032No listings27.88K
Radeon AI PRO R970032No listings14.78K
Radeon PRO W780032No listings13.28K
RTX PRO 4500 Blackwell32No listings28.48K
A100 40GB PCIe40No listings48.58K
GeForce RTX 4090 48GB (modded)48No listings31.98K
Radeon PRO W790048No listings19.78K
RTX PRO 5000 Blackwell 48GB48No listings42.18K
Instinct MI21064No listings36.932K
RTX PRO 5000 Blackwell 72GB72No listings42.132K
Mac Studio M4 Max 128GB128No listings13.832K
Mac Studio M3 Ultra 256GB256No listings20.5128K
Mac Studio M3 Ultra 512GB512No listings20.5128K

Fits when weights + KV cache + runtime overhead is at or below usable memory, single card. "Offload" on MoE models means it runs with expert weights in system RAM (only attention layers and KV cache stay in VRAM); that speed assumes 70 GB/s RAM bandwidth. The context column is the largest tier that fits.

Run Gemma 4 31B with Ollama, llama.cpp or vLLM

Ollama

The Ollama library has no official tag for it yet.

llama.cpp

llama.cpp pulls the GGUF straight from Hugging Face; -c sets the context length.

llama-server -hf unsloth/gemma-4-31B-it-GGUF:Q4_K_M -c 8192
vLLM

vLLM serves the original-precision weights, which needs far more memory than GGUF and usually more than one GPU.

vllm serve google/gemma-4-31B-it

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

FAQ

How much VRAM does Gemma 4 31B need?

At Q4_K_M with an 8K context Gemma 4 31B needs about 26GB of VRAM; 32GB leaves comfortable headroom.

What is the cheapest GPU that runs Gemma 4 31B?

The Arc Pro B65: 32GB of VRAM at roughly 12.6 tokens/s. We have no used-price data for it yet.

Can you run Gemma 4 31B with Ollama?

Not yet: the Ollama library has no official tag for it. You can load the GGUF with llama.cpp instead.