GPUs tracked45Price history8 dayssince Sep 3, 2026Price points (24h)6,955 pointsBiggest 24h dropBiggest 24h riseData updated

How to Deploy Gemma 4 31B Locally

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 card that runs it today is the Tesla V100 32GB at about $1,141, at roughly 28.5 tokens/s.

Gemma 4 31B details

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

How much VRAM does Gemma 4 31B need for local deployment?

QuantizationWeightsGBTotal at 8KGBTotal at 32KGBTotal at 128KGB
1-bit7.3est.15.838.3128.3
2-bit11.8GGUF20.142.6132.6
3-bit15.4GGUF23.546136
4-bit18.3GGUF25.948.4138.4
5-bit21.7GGUF29.652.1142.1
8-bit32.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. Each tier takes whichever file of that bit width the repository has, preferring unsloth dynamic quants, so the exact file name varies by model.

Which GPUs can run Gemma 4 31B?

AmazonJP
DeviceVRAMGBPriceEst. t/sSuggested context
Tesla V100 32GB32$1,1413 listings28.58K
Arc Pro B7032$2,0743 listings12.68K
Radeon AI PRO R970032$2,2446 listings14.78K
Ryzen AI Max+ 395 128GB128$3,9136 listings5.932K
GeForce RTX 509032$7,4899 listings55.68K
DGX Spark 128GB128$8,2233 listings8.832K
Arc Pro B6532No listings12.68K
GeForce RTX 4080 SUPER 32GB32No listings23.48K
GeForce RTX 5090 D32No listings55.68K
Instinct MI10032No listings27.88K
Instinct MI50 32GB32No listings23.38K
Radeon PRO W780032No listings13.28K
RTX PRO 4500 Blackwell32No listings28.48K
A100 40GB PCIe40No listings48.58K
CMP 170HX 40GB40No listings48.68K
GeForce RTX 4090 48GB48No listings31.98K
Radeon PRO W790048No listings19.78K
RTX PRO 5000 Blackwell 48GB48No listings42.18K
CMP 170HX 64GB64No listings46.632K
Instinct MI21064No listings36.932K
RTX PRO 5000 Blackwell 72GB72No listings42.132K
RTX PRO 6000D84No listings48.932K
RTX PRO 6000 Blackwell96No listings55.632K
Mac Studio M4 Max 128GB128No listings13.832K
Mac Studio M5 Max 128GB128No listings15.532K
MacBook Pro M4 Max 128GB128No listings13.832K
MacBook Pro M5 Max 128GB128No listings15.532K
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.

Deploy Gemma 4 31B locally 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 Tesla V100 32GB: 32GB of VRAM, currently about $1,141, at roughly 28.5 tokens/s.

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.