Compare
Qwen2.5 7B vs Qwen3 8B
Qwen3 8B has 8.19B parameters, 1.1 times the 7.62B of Qwen2.5 7B. In BF16 the weights take 15.2 GB and 16.4 GB. Qwen3 8B needs 2.6 times as much KV cache per token (147.5 KB against 57.3 KB): GQA against GQA.
| Qwen2.5 7B | Qwen3 8B | Ratio | |
|---|---|---|---|
| Parameters | 7.62B 7,615,616,512 | 8.19B 8,190,735,360 | 1.08× |
| Active per token | all (dense) | all (dense) | 1.08× |
| Layers | 28 | 36 | 1.29× |
| Hidden size (d) | 3,584 | 4,096 | 1.14× |
| Attention | 28 heads, 4 KV heads × 128 | 32 heads, 8 KV heads × 128 | |
| FFN | SwiGLU, 18,944 | SwiGLU, 12,288 | |
| Vocabulary | 152,064 | 151,936 | same |
| Tied embeddings | no | no | |
| Max context | 128K | 40K | 0.31× |
| Weights, BF16 | 15.2 GB | 16.4 GB | 1.08× |
| Weights, 4-bit | 3.8 GB | 4.1 GB | 1.08× |
| KV cache per token (BF16) | 57.3 KB | 147.5 KB | 2.57× |
| KV cache at 32K tokens | 1.9 GB | 4.8 GB | 2.57× |
| FLOPs per token (4K context) | 16.9 GFLOPs | 18.8 GFLOPs | 1.11× |
The full workings: Qwen2.5 7B · Qwen3 8B · change the models