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 7BQwen3 8BRatio
Parameters7.62B 7,615,616,5128.19B 8,190,735,3601.08×
Active per tokenall (dense)all (dense)1.08×
Layers28361.29×
Hidden size (d)3,5844,0961.14×
Attention28 heads, 4 KV heads × 12832 heads, 8 KV heads × 128
FFNSwiGLU, 18,944SwiGLU, 12,288
Vocabulary152,064151,936same
Tied embeddingsnono
Max context128K40K0.31×
Weights, BF1615.2 GB16.4 GB1.08×
Weights, 4-bit3.8 GB4.1 GB1.08×
KV cache per token (BF16)57.3 KB147.5 KB2.57×
KV cache at 32K tokens1.9 GB4.8 GB2.57×
FLOPs per token (4K context)16.9 GFLOPs18.8 GFLOPs1.11×

The full workings: Qwen2.5 7B · Qwen3 8B · change the models