Gemma31B params128k contextpopular

Gemma 4 31B locally

Gemma 4 31B is an open-weight LLM from the Gemma family with 31B parameters. Main use: chat, RAG and general assistance. Detected minimum hardware: RTX A4500 (20 GB).

Technical facts
Parameters31B
Max context128k
Q4_K_M19.5 GB
Q5_K_M23.8 GB
Q834.6 GB
FP1669.3 GB
FamilyGemma
Last sync2026-05-12

Available quantizations

Q4_K_M
19.5GB

Acceptable. Good compromise when VRAM is limited.

Q5_K_M
23.8GB

Good quality. Sweet spot for size and precision.

Q8
34.6GB

Near-FP16 quality. Comfortable for production.

FP16
69.3GB

Reference precision. Maximum quality, doubled VRAM.

Compatible GPUs

GPUs that can run Gemma 4 31B on a single card, ranked by VRAM headroom.

Recommended multi-GPU rigs

For Gemma 4 31B at higher quantization or with more context, a multi-GPU rig gives more headroom.

Recommended rig

4× GTX 1060 6GB

Gemma 4 31B with Ubuntu, vLLM, Open WebUI and the model already downloaded.

Configure

Similar models

VRAM estimates: parameters x bits/8 plus margin. Real performance varies by engine, context length and batch size.
sync: 2026-05-12