Family · Google

Gemma 4: every size compared

2 Gemma 4 models, from Gemma 4 26B-A4B (25.2B) to Gemma 4 31B (30.7B). The weights go from 50.5 GB to 61.4 GB in BF16, 12.6 GB to 15.3 GB at 4-bit.

ModelParamsActiveLayersdHeads / KVFFNContextBF168-bit4-bitKV / token
Gemma 4 26B-A4B25.2B3.82B302,81616 / 2128×704256K50.5 GB25.2 GB12.6 GB225.3 KB
Gemma 4 31B30.7B–605,37632 / 421,504256K61.4 GB30.7 GB15.3 GB901.1 KB

Weights at 2, 1 and 0.5 bytes per parameter; KV cache in BF16 for one sequence. Each model's page has the full tensor list and the parameter count worked out.

What changes with size

Which size fits your GPU

The biggest Gemma 4 model whose 4-bit weights and an 8K-token KV cache fit:

Comparisons

Qwen3.5 27B vs Gemma 4 31B · Qwen3.5 35B-A3B vs Gemma 4 26B-A4B · Gemma 4 31B vs Gemma 3 27B

Other families: Llama 3 · Llama 4 · Qwen2.5 · Qwen3 · Gemma 2 · Gemma 3 · Mistral · Phi · DeepSeek · DeepSeek-R1 distills · gpt-oss · SmolLM · OLMo 2 · Granite · Falcon3 · Inkling · GLM-4.5 · OLMo 3 · Qwen3.5 · Nemotron 3