Compare
Gemma 3 12B vs Mistral NeMo 12B
Mistral NeMo 12B has 12.2B parameters and Gemma 3 12B 11.8B, about the same. In BF16 the weights take 23.5 GB and 24.5 GB. Gemma 3 12B needs 2.4 times as much KV cache per token (393.2 KB against 163.8 KB): GQA against GQA.
| Gemma 3 12B | Mistral NeMo 12B | Ratio | |
|---|---|---|---|
| Parameters | 11.8B 11,766,034,176 | 12.2B 12,247,782,400 | 1.04× |
| Active per token | all (dense) | all (dense) | 1.04× |
| Layers | 48 | 40 | 0.83× |
| Hidden size (d) | 3,840 | 5,120 | 1.33× |
| Attention | 16 heads, 8 KV heads × 256 | 32 heads, 8 KV heads × 128 | |
| FFN | GeGLU, 15,360 | SwiGLU, 14,336 | |
| Vocabulary | 262,208 | 131,072 | 0.50× |
| Tied embeddings | yes | no | |
| Max context | 128K | 128K | same |
| Weights, BF16 | 23.5 GB | 24.5 GB | 1.04× |
| Weights, 4-bit | 5.9 GB | 6.1 GB | 1.04× |
| KV cache per token (BF16) | 393.2 KB | 163.8 KB | 0.42× |
| KV cache at 32K tokens | 12.9 GB | 5.4 GB | 0.42× |
| FLOPs per token (4K context) | 24.7 GFLOPs | 27.2 GFLOPs | 1.10× |
The full workings: Gemma 3 12B · Mistral NeMo 12B · change the models