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.

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Qwen3-4B Alibaba (Qwen)

31.5

Rank #261 Confirmed

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 and Qwen3-4B specifications
Llama 3.1-8BQwen3-4B
ProviderMetaAlibaba (Qwen)
Noometry Index22.831.5
Released2024-07-232025-04-29
WeightsOpenOpen
Context window128K—
Max output4K—
Input $ / M tokens$0.05—
Output $ / M tokens$0.08—
Results tracked436

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: —

Coding benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
SciCode13.2%—
WeirdML1.7%—
BigCodeBench Instruct32.8%—
LMArena Coding1195—
BigCodeBench Complete40.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)

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
Berkeley Function Calling Leaderboard25.8%35.7%
BALROG15.1%—

Reasoning Qwen3-4B leads

Llama 3.1-8B: 14.5 (#316), Qwen3-4B: 18.5 (#264)

Reasoning benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
Chess Puzzles0%4%
CritPt0%—
LMArena Hard Prompts1175—
DTBench50.9%—
LMCA5.4%—
Epoch Capabilities Index116.48—
PIQA81.2%—

Math Qwen3-4B leads

Llama 3.1-8B: 9.5 (#311), Qwen3-4B: 28.5 (#228)

Math benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
OTIS Mock AIME 2024-20251.7%52.2%
MathArena Final-Answer Competitions—38.5%
Omni-MATH13.7%—
LMArena Math1179—
MATH Level 522.9%—
GSM8K82.4%—

Knowledge Qwen3-4B leads

Llama 3.1-8B: 8.0 (#302), Qwen3-4B: 33.0 (#198)

Knowledge benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
GPQA Diamond27%52.3%
MMLU-Pro40.6%—
Vectara Hallucination Rate—5.7%
GPQA (HELM)24.7%—
LMArena Expert1144—
BoolQ82.8%—
MMLU56.1%—

Multilingual Not comparable

Llama 3.1-8B: 34.2 (#244), Qwen3-4B: —

Multilingual benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
LMArena Non-English1148—
LMArena Chinese1151—
LMArena French1176—
LMArena German1144—
LMArena Japanese1061—
LMArena Korean1053—
LMArena Russian1158—
LMArena Spanish1169—

Instruction Following Not comparable

Llama 3.1-8B: 59.1 (#253), Qwen3-4B: —

Instruction Following benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
IFEval74.3%—
LMArena Instruction Following1159—

Long Context Not comparable

Llama 3.1-8B: 35.8 (#233), Qwen3-4B: —

Long Context benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
LMArena Longer Query1182—

Writing & Preference Not comparable

Llama 3.1-8B: 29.9 (#285), Qwen3-4B: —

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BQwen3-4B
LMArena Text1187—
LMArena Creative Writing1154—
EQ-Bench Creative Writing713—
WildBench68.7%—
LMArena Multi-Turn1172—

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.

Related comparisons

Go deeper