Compare

Qwen3.5 27B vs Gemma 4 31B

Gemma 4 31B has 30.7B parameters, 1.1 times the 26.9B of Qwen3.5 27B. In BF16 the weights take 53.8 GB and 61.4 GB. Gemma 4 31B needs 13.8 times as much KV cache per token (901.1 KB against 65.5 KB): GQA against GQA.

Qwen3.5 27BGemma 4 31BRatio
Parameters26.9B 26,895,998,46430.7B 30,697,345,3401.14×
Active per tokenall (dense)all (dense)1.14×
Layers64600.94×
Hidden size (d)5,1205,3761.05×
Attention24 heads, 4 KV heads × 25632 heads, 4 KV heads × 512
FFNSwiGLU, 17,408GeGLU, 21,504
Vocabulary248,320262,1441.06×
Tied embeddingsnoyes
Max context256K256Ksame
Weights, BF1653.8 GB61.4 GB1.14×
Weights, 4-bit13.4 GB15.3 GB1.14×
KV cache per token (BF16)65.5 KB901.1 KB13.75×
KV cache at 32K tokens2.1 GB29.5 GB13.75×
FLOPs per token (4K context)55.6 GFLOPs65.8 GFLOPs1.18×

The full workings: Qwen3.5 27B · Gemma 4 31B · change the models