Model comparison
Llama 3.1-8B vs Qwen3-4B
Qwen3-4B is the stronger model overall, scoring 31.5 to 22.8 on the Noometry Index.
Last verified . 4 shared benchmarks.
Summary
- They share 4 benchmarks with published results for both. Llama 3.1-8B scores higher in 0 categories and Qwen3-4B in 4 categories; 4 gaps are clear of the uncertainty.
- The widest gap is in knowledge, where Qwen3-4B leads 33.0 to 8.0.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 1.7% for Llama 3.1-8B and 52.2% for Qwen3-4B.
Side by side
| Llama 3.1-8B | Qwen3-4B | |
|---|---|---|
| Provider | Meta | Alibaba (Qwen) |
| Noometry Index | 22.8 | 31.5 |
| Released | 2024-07-23 | 2025-04-29 |
| Weights | Open | Open |
| Context window | 128K | — |
| Max output | 4K | — |
| Input $ / M tokens | $0.05 | — |
| Output $ / M tokens | $0.08 | — |
| Results tracked | 43 | 6 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Not comparable
Llama 3.1-8B: 19.9 (#335), Qwen3-4B: —
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| SciCode | 13.2% | — |
| WeirdML | 1.7% | — |
| BigCodeBench Instruct | 32.8% | — |
| LMArena Coding | 1195 | — |
| BigCodeBench Complete | 40.5% | — |
| HumanEval+ | 62.8% | — |
| MBPP+ | 55.6% | — |
Agentic & Tool Use Qwen3-4B leads
Llama 3.1-8B: 22.3 (#123), Qwen3-4B: 27.3 (#94)
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| Berkeley Function Calling Leaderboard | 25.8% | 35.7% |
| BALROG | 15.1% | — |
Reasoning Qwen3-4B leads
Llama 3.1-8B: 14.5 (#316), Qwen3-4B: 18.5 (#264)
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| Chess Puzzles | 0% | 4% |
| CritPt | 0% | — |
| LMArena Hard Prompts | 1175 | — |
| DTBench | 50.9% | — |
| LMCA | 5.4% | — |
| Epoch Capabilities Index | 116.48 | — |
| PIQA | 81.2% | — |
Math Qwen3-4B leads
Llama 3.1-8B: 9.5 (#311), Qwen3-4B: 28.5 (#228)
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 1.7% | 52.2% |
| MathArena Final-Answer Competitions | — | 38.5% |
| Omni-MATH | 13.7% | — |
| LMArena Math | 1179 | — |
| MATH Level 5 | 22.9% | — |
| GSM8K | 82.4% | — |
Knowledge Qwen3-4B leads
Llama 3.1-8B: 8.0 (#302), Qwen3-4B: 33.0 (#198)
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| GPQA Diamond | 27% | 52.3% |
| MMLU-Pro | 40.6% | — |
| Vectara Hallucination Rate | — | 5.7% |
| GPQA (HELM) | 24.7% | — |
| LMArena Expert | 1144 | — |
| BoolQ | 82.8% | — |
| MMLU | 56.1% | — |
Multilingual Not comparable
Llama 3.1-8B: 34.2 (#244), Qwen3-4B: —
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| LMArena Non-English | 1148 | — |
| LMArena Chinese | 1151 | — |
| LMArena French | 1176 | — |
| LMArena German | 1144 | — |
| LMArena Japanese | 1061 | — |
| LMArena Korean | 1053 | — |
| LMArena Russian | 1158 | — |
| LMArena Spanish | 1169 | — |
Instruction Following Not comparable
Llama 3.1-8B: 59.1 (#253), Qwen3-4B: —
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| IFEval | 74.3% | — |
| LMArena Instruction Following | 1159 | — |
Long Context Not comparable
Llama 3.1-8B: 35.8 (#233), Qwen3-4B: —
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| LMArena Longer Query | 1182 | — |
Writing & Preference Not comparable
Llama 3.1-8B: 29.9 (#285), Qwen3-4B: —
| Benchmark | Llama 3.1-8B | Qwen3-4B |
|---|---|---|
| LMArena Text | 1187 | — |
| LMArena Creative Writing | 1154 | — |
| EQ-Bench Creative Writing | 713 | — |
| WildBench | 68.7% | — |
| LMArena Multi-Turn | 1172 | — |
Frequently asked questions
Is Llama 3.1-8B better than Qwen3-4B?
Qwen3-4B is the stronger model overall, scoring 31.5 to 22.8 on the Noometry Index.
How many benchmarks do Llama 3.1-8B and Qwen3-4B share?
4 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Qwen3-4B has 6.