Model comparison

Llama 3.1-8B vs Qwen2.5-Coder-32B

Qwen2.5-Coder-32B is the stronger model overall, scoring 33.4 to 23.0 on the Noometry Index. Llama 3.1-8B costs 13× less per token, which makes it the better buy when Qwen2.5-Coder-32B's lead doesn't matter for your workload.

Last verified . 19 shared benchmarks.

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Qwen2.5-Coder-32B Alibaba (Qwen)

33.4

Rank #245 Confirmed

Summary

  • They share 19 benchmarks with published results for both. Llama 3.1-8B scores higher in 0 categories and Qwen2.5-Coder-32B in 8 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Qwen2.5-Coder-32B leads 33.4 to 8.0.
  • The biggest single-benchmark swing is BigCodeBench Complete: 40.5% for Llama 3.1-8B and 58% for Qwen2.5-Coder-32B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.66 / $1 for Qwen2.5-Coder-32B.
  • Llama 3.1-8B accepts more context: 128K tokens versus 33K.

Side by side

Llama 3.1-8B and Qwen2.5-Coder-32B specifications
Llama 3.1-8BQwen2.5-Coder-32B
ProviderMetaAlibaba (Qwen)
Noometry Index23.033.4
Released2024-07-232024-09-18
WeightsOpenOpen
Context window128K33K
Max output4K29K
Input $ / M tokens$0.05$0.66
Output $ / M tokens$0.08$1
Results tracked4331

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Qwen2.5-Coder-32B leads

Llama 3.1-8B: 20.2 (#340), Qwen2.5-Coder-32B: 22.6 (#333)

Coding benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
BigCodeBench Instruct32.8%49%
LMArena Coding11951276
BigCodeBench Complete40.5%58%
HumanEval+62.8%87.2%
MBPP+55.6%77%
SWE-bench Verified (bash only)—9%
Aider Polyglot—16.4%
SciCode13.2%—
WeirdML1.7%—
LiveBench Coding—56.9%

Agentic & Tool Use Not comparable

Llama 3.1-8B: 22.5 (#131), Qwen2.5-Coder-32B: —

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
Berkeley Function Calling Leaderboard25.8%—
BALROG15.1%—

Reasoning Qwen2.5-Coder-32B leads

Llama 3.1-8B: 14.9 (#321), Qwen2.5-Coder-32B: 21.2 (#225)

Reasoning benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
LMArena Hard Prompts11751251
Epoch Capabilities Index116.57119.49
CritPt0%—
Chess Puzzles0%—
LiveBench Reasoning—42.1%
DTBench50.9%—
LiveBench Data Analysis—49.9%
LMCA5.4%—
HellaSwag—83%
LiveBench—46.2%
PIQA81.2%—
WinoGrande—80.8%

Math Qwen2.5-Coder-32B leads

Llama 3.1-8B: 10.2 (#317), Qwen2.5-Coder-32B: 33.3 (#204)

Math benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
LMArena Math11791251
GSM8K82.4%93%
OTIS Mock AIME 2024-20251.7%—
Omni-MATH13.7%—
LiveBench Math—46.6%
MATH Level 522.9%—

Knowledge Qwen2.5-Coder-32B leads

Llama 3.1-8B: 8.0 (#307), Qwen2.5-Coder-32B: 33.4 (#203)

Knowledge benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
LMArena Expert11441221
MMLU56.1%79.1%
GPQA Diamond27%—
MMLU-Pro40.6%—
GPQA (HELM)24.7%—
ARC (AI2) Challenge—70.5%
BoolQ82.8%—

Multilingual Qwen2.5-Coder-32B leads

Llama 3.1-8B: 34.0 (#249), Qwen2.5-Coder-32B: 37.8 (#235)

Multilingual benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
LMArena Non-English11481205
LMArena Chinese11511222
LMArena Russian11581228
LMArena French1177—
LMArena German1144—
LMArena Japanese1061—
LMArena Korean1053—
LMArena Spanish1169—

Instruction Following Qwen2.5-Coder-32B leads

Llama 3.1-8B: 58.9 (#258), Qwen2.5-Coder-32B: 61.4 (#245)

Instruction Following benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
LMArena Instruction Following11591223
LiveBench Instruction Following—58.7%
IFEval74.3%—

Long Context Qwen2.5-Coder-32B leads

Llama 3.1-8B: 35.8 (#238), Qwen2.5-Coder-32B: 38.0 (#208)

Long Context benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
LMArena Longer Query11821251

Writing & Preference Qwen2.5-Coder-32B leads

Llama 3.1-8B: 29.7 (#290), Qwen2.5-Coder-32B: 41.6 (#240)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BQwen2.5-Coder-32B
LMArena Text11871230
LMArena Creative Writing11541174
LMArena Multi-Turn11721222
EQ-Bench Creative Writing713—
WildBench68.7%—
LiveBench Language—23.3%

Frequently asked questions

Is Llama 3.1-8B better than Qwen2.5-Coder-32B?

Qwen2.5-Coder-32B is the stronger model overall, scoring 33.4 to 23.0 on the Noometry Index. Llama 3.1-8B costs 13× less per token, which makes it the better buy when Qwen2.5-Coder-32B's lead doesn't matter for your workload.

Which is cheaper, Llama 3.1-8B or Qwen2.5-Coder-32B?

Llama 3.1-8B is cheaper. It lists at $0.05 per million input tokens and $0.08 per million output tokens; Qwen2.5-Coder-32B lists at $0.66 and $1.

Is Llama 3.1-8B or Qwen2.5-Coder-32B better for coding?

Qwen2.5-Coder-32B scores higher on coding benchmarks: 22.6 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

Llama 3.1-8B does, with 128K tokens against 33K.

How many benchmarks do Llama 3.1-8B and Qwen2.5-Coder-32B share?

19 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Qwen2.5-Coder-32B has 31.

Related comparisons

Go deeper