Family · Google

Gemma 2: every size compared

3 Gemma 2 models, from Gemma 2 2B (2.61B) to Gemma 2 27B (27.2B). The weights go from 5.2 GB to 54.5 GB in BF16, 1.3 GB to 13.6 GB at 4-bit.

ModelParamsLayersdHeads / KVFFNContextBF168-bit4-bitKV / token
Gemma 2 2B2.61B262,3048 / 49,2168K5.2 GB2.6 GB1.3 GB106.5 KB
Gemma 2 9B9.24B423,58416 / 814,3368K18.5 GB9.2 GB4.6 GB344.1 KB
Gemma 2 27B27.2B464,60832 / 1636,8648K54.5 GB27.2 GB13.6 GB376.8 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 2 model whose 4-bit weights and an 8K-token KV cache fit:

Comparisons

Gemma 2 9B vs Llama 3.1 8B · Gemma 2 27B vs Qwen2.5 72B

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