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

> Qwen2.5-Coder-32B is the stronger model overall, scoring 32.9 to 22.8 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.

- Canonical page: https://noometry.com/compare/llama-3-1-8b-vs-qwen2-5-coder-32b
- Last updated: 2026-10-10
- Shared benchmarks: 19

## 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 32.9 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.

## Snapshot

| | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| Provider | Meta | Alibaba (Qwen) |
| Noometry Index | 22.8 | 32.9 |
| Rank | 347 | 239 |
| Context | 128K | 33K |
| Input $/M | $0.05 | $0.66 |
| Output $/M | $0.08 | $1 |
| Weights | Open | Open |

## Coding

- Llama 3.1-8B: 19.9 (#335)
- Qwen2.5-Coder-32B: 22.4 (#328)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| BigCodeBench Instruct | 32.8% | 49% |
| LMArena Coding | 1195 | 1276 |
| BigCodeBench Complete | 40.5% | 58% |
| HumanEval+ | 62.8% | 87.2% |
| MBPP+ | 55.6% | 77% |
| SWE-bench Verified (bash only) | — | 9% |
| Aider Polyglot | — | 16.4% |
| SciCode | 13.2% | — |
| WeirdML | 1.7% | — |
| LiveBench Coding | — | 56.9% |

## Agentic & Tool Use

- Llama 3.1-8B: 22.3 (#123)
- Qwen2.5-Coder-32B: —

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| Berkeley Function Calling Leaderboard | 25.8% | — |
| BALROG | 15.1% | — |

## Reasoning

- Llama 3.1-8B: 14.5 (#316)
- Qwen2.5-Coder-32B: 20.4 (#220)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| LMArena Hard Prompts | 1175 | 1251 |
| Epoch Capabilities Index | 116.48 | 119.41 |
| CritPt | 0% | — |
| Chess Puzzles | 0% | — |
| LiveBench Reasoning | — | 42.1% |
| DTBench | 50.9% | — |
| LiveBench Data Analysis | — | 49.9% |
| LMCA | 5.4% | — |
| HellaSwag | — | 83% |
| LiveBench | — | 46.2% |
| PIQA | 81.2% | — |
| WinoGrande | — | 80.8% |

## Math

- Llama 3.1-8B: 9.5 (#311)
- Qwen2.5-Coder-32B: 30.8 (#203)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| LMArena Math | 1179 | 1251 |
| GSM8K | 82.4% | 93% |
| OTIS Mock AIME 2024-2025 | 1.7% | — |
| Omni-MATH | 13.7% | — |
| LiveBench Math | — | 46.6% |
| MATH Level 5 | 22.9% | — |

## Knowledge

- Llama 3.1-8B: 8.0 (#302)
- Qwen2.5-Coder-32B: 32.9 (#200)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| LMArena Expert | 1144 | 1221 |
| MMLU | 56.1% | 79.1% |
| GPQA Diamond | 27% | — |
| MMLU-Pro | 40.6% | — |
| GPQA (HELM) | 24.7% | — |
| ARC (AI2) Challenge | — | 70.5% |
| BoolQ | 82.8% | — |

## Multilingual

- Llama 3.1-8B: 34.2 (#244)
- Qwen2.5-Coder-32B: 38.0 (#230)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| LMArena Non-English | 1148 | 1205 |
| LMArena Chinese | 1151 | 1222 |
| LMArena Russian | 1158 | 1228 |
| LMArena French | 1176 | — |
| LMArena German | 1144 | — |
| LMArena Japanese | 1061 | — |
| LMArena Korean | 1053 | — |
| LMArena Spanish | 1169 | — |

## Instruction Following

- Llama 3.1-8B: 59.1 (#253)
- Qwen2.5-Coder-32B: 61.6 (#240)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| LMArena Instruction Following | 1159 | 1223 |
| LiveBench Instruction Following | — | 58.7% |
| IFEval | 74.3% | — |

## Long Context

- Llama 3.1-8B: 35.8 (#233)
- Qwen2.5-Coder-32B: 37.9 (#204)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| LMArena Longer Query | 1182 | 1251 |

## Writing & Preference

- Llama 3.1-8B: 29.9 (#285)
- Qwen2.5-Coder-32B: 41.8 (#235)

| Benchmark | Llama 3.1-8B | Qwen2.5-Coder-32B |
|---|---|---|
| LMArena Text | 1187 | 1230 |
| LMArena Creative Writing | 1154 | 1174 |
| LMArena Multi-Turn | 1172 | 1222 |
| EQ-Bench Creative Writing | 713 | — |
| WildBench | 68.7% | — |
| LiveBench Language | — | 23.3% |

## FAQ

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

Qwen2.5-Coder-32B is the stronger model overall, scoring 32.9 to 22.8 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.4 versus 19.9 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.
