Compare

Phi-4 vs Qwen3 14B

Qwen3 14B has 14.8B parameters and Phi-4 14.7B, about the same. In BF16 the weights take 29.3 GB and 29.5 GB. Phi-4 needs 1.3 times as much KV cache per token (204.8 KB against 163.8 KB): GQA against GQA.

Phi-4Qwen3 14BRatio
Parameters14.7B 14,659,507,20014.8B 14,768,307,2001.01×
Active per tokenall (dense)all (dense)1.01×
Layers4040same
Hidden size (d)5,1205,120same
Attention40 heads, 10 KV heads × 12840 heads, 8 KV heads × 128
FFNSwiGLU, 17,920SwiGLU, 17,408
Vocabulary100,352151,9361.51×
Tied embeddingsnono
Max context16K40K2.50×
Weights, BF1629.3 GB29.5 GB1.01×
Weights, 4-bit7.3 GB7.4 GB1.01×
KV cache per token (BF16)204.8 KB163.8 KB0.80×
KV cache at 32K tokens– (max 16K)5.4 GB1.60×
FLOPs per token (4K context)32.7 GFLOPs32.9 GFLOPs1.01×

The full workings: Phi-4 · Qwen3 14B · change the models