Compare two models
Pick two models to set their numbers side by side.
| Llama 3.1 8B | Qwen2.5 7B | Ratio | |
|---|---|---|---|
| Parameters | 8.03B 8,030,261,248 | 7.62B 7,615,616,512 | 0.95× |
| Active per token | all (dense) | all (dense) | 0.95× |
| Layers | 32 | 28 | 0.88× |
| Hidden size (d) | 4,096 | 3,584 | 0.88× |
| Attention | 32 heads, 8 KV heads × 128 | 28 heads, 4 KV heads × 128 | |
| FFN | SwiGLU, 14,336 | SwiGLU, 18,944 | |
| Vocabulary | 128,256 | 152,064 | 1.19× |
| Tied embeddings | no | no | |
| Max context | 128K | 128K | same |
| Weights, BF16 | 16.1 GB | 15.2 GB | 0.95× |
| Weights, 4-bit | 4.0 GB | 3.8 GB | 0.95× |
| KV cache per token (BF16) | 131.1 KB | 57.3 KB | 0.44× |
| KV cache at 32K tokens | 4.3 GB | 1.9 GB | 0.44× |
| FLOPs per token (4K context) | 18.2 GFLOPs | 16.9 GFLOPs | 0.93× |
Common comparisons
- Llama 3.1 8B vs Qwen2.5 7B
- Llama 3.1 8B vs Mistral 7B v0.3
- Llama 3.1 8B vs Qwen3 8B
- Qwen2.5 7B vs Qwen3 8B
- Gemma 2 9B vs Llama 3.1 8B
- Llama 2 7B vs Llama 3.1 8B
- OLMo 2 7B vs Llama 3.1 8B
- Llama 3.1 70B vs Qwen2.5 72B
- Mixtral 8x7B vs Llama 3.1 70B
- Qwen3 30B-A3B vs Qwen3 8B
- DeepSeek-V3 vs Llama 3.1 70B
- Llama 3.2 3B vs Phi-3 Mini
- Llama 3.2 1B vs SmolLM2 1.7B
- Phi-4 vs Mistral NeMo 12B
- Gemma 2 27B vs Qwen2.5 72B
- DeepSeek-V2-Lite vs Qwen3 30B-A3B
- Gemma 3 27B vs Qwen3 32B
- Llama 4 Scout (17B-16E) vs Llama 3.3 70B
- gpt-oss-20b vs Qwen3 30B-A3B
- gpt-oss-120b vs Llama 4 Scout (17B-16E)
- DeepSeek-R1-Distill-Qwen-32B vs Qwen3 32B
- Mistral Small 3 (24B) vs Gemma 3 27B
- Phi-4 vs Qwen3 14B
- Gemma 3 12B vs Mistral NeMo 12B
- Llama 3.3 70B vs Qwen2.5 72B
- Qwen3 235B-A22B vs DeepSeek-V3
- Gemma 3 4B vs Qwen3 4B
- Llama 4 Maverick (17B-128E) vs DeepSeek-V3