Enter opens the highlighted result. Esc closes.

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

Updated October 21, 2026. 30 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
6.9
Output $/M
$0.08
2
Qwen2.5 Coder 32B InstructQwen
Coding
No data
Overall
6.7
Output $/M
$1.00
28
vs boards won of 30 shared

Decision reading

Neither model has a coding score yet, so the two cannot be ranked on coding.

Llama 3.1 8B Instruct has the edge where output tokens cost 12.5x less, and where the context window is larger, 131K against 33K tokens.

Shared results
30
Llama 3.1 8B Instruct only
20
Qwen2.5 Coder 32B Instruct only
5
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Llama 3.1 8B Instruct not benchmarked, Qwen2.5 Coder 32B Instruct not benchmarked.
Widest category
Coding, 14.1 points apart on average over 3 shared benchmarks.
Widest single gap
MMLU: Llama 3.1 8B Instruct 56.1% against Qwen2.5 Coder 32B Instruct 79.1%, 23.0 points apart on a 0 to 100 scale.
Output price
Llama 3.1 8B Instruct $0.08 against Qwen2.5 Coder 32B Instruct $1.00 per million output tokens, 12.5x apart.
Context window
Llama 3.1 8B Instruct takes 131K tokens, Qwen2.5 Coder 32B Instruct 33K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryLlama 3.1 8B InstructBarsQwen2.5 Coder 32B InstructTies
Coding03
Intelligence11
Reasoning14
Math03
Knowledge06
General011
All shared boards228
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
Aider polyglotNot measured16.4%Only Qwen2.5 Coder 32B Instruct measured
SWE-bench VerifiedNot measured47.0%Only Qwen2.5 Coder 32B Instruct measured
AA Coding Index5.4Not measuredOnly Llama 3.1 8B Instruct measured
LiveCodeBench (Artificial Analysis run)11.6%29.5%Qwen2.5 Coder 32B Instruct
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Llama 3.1 8B Instruct measured
WeirdML1.7%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: coding11951276Qwen2.5 Coder 32B Instruct
LMArena Text: software and IT11951261Qwen2.5 Coder 32B Instruct
Neither model has a result on the other 30 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
AA Intelligence Index6.96.7Llama 3.1 8B Instruct
Epoch Capabilities Index116.5119.5Qwen2.5 Coder 32B Instruct
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
τ²-Bench Telecom16.4%Not measuredOnly Llama 3.1 8B Instruct measured
BALROG15.1%Not measuredOnly Llama 3.1 8B Instruct measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index14
Reasoning benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
GPQA Diamond (Artificial Analysis run)25.9%41.7%Qwen2.5 Coder 32B Instruct
Humanity's Last Exam (Artificial Analysis run)5.3%3.5%Llama 3.1 8B Instruct
GPQA Diamond (Epoch AI run)27.0%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: hard prompts11751251Qwen2.5 Coder 32B Instruct
LMArena Text: expert11441221Qwen2.5 Coder 32B Instruct
LMArena Text: hard prompts in English11961269Qwen2.5 Coder 32B Instruct
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
AA Math Index4.3Not measuredOnly Llama 3.1 8B Instruct measured
AIME 2025 (Artificial Analysis run)4.3%Not measuredOnly Llama 3.1 8B Instruct measured
OTIS Mock AIME1.7%Not measuredOnly Llama 3.1 8B Instruct measured
MATH level 522.9%Not measuredOnly Llama 3.1 8B Instruct measured
GSM8K82.4%93.0%Qwen2.5 Coder 32B Instruct
LMArena Text: math11791251Qwen2.5 Coder 32B Instruct
LMArena Text: mathematical work11801243Qwen2.5 Coder 32B Instruct
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index06
Knowledge benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
MMLU Pro (Artificial Analysis run)47.6%63.5%Qwen2.5 Coder 32B Instruct
MMLU56.1%79.1%Qwen2.5 Coder 32B Instruct
AI2 Reasoning ChallengeNot measured70.5%Only Qwen2.5 Coder 32B Instruct measured
LMArena Text: science11931221Qwen2.5 Coder 32B Instruct
LMArena Text: medicine and healthcare11821187Qwen2.5 Coder 32B Instruct
LMArena Text: legal and government12061257Qwen2.5 Coder 32B Instruct
LMArena Text: business and finance11661224Qwen2.5 Coder 32B Instruct
Neither model has a result on the other 10 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index011
General benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
IFBench28.6%Not measuredOnly Llama 3.1 8B Instruct measured
Long context reasoning (AA-LCR)18.0%Not measuredOnly Llama 3.1 8B Instruct measured
DTBench50.9%Not measuredOnly Llama 3.1 8B Instruct measured
LMCA5.4%Not measuredOnly Llama 3.1 8B Instruct measured
HellaSwagNot measured83.0%Only Qwen2.5 Coder 32B Instruct measured
WinoGrandeNot measured80.8%Only Qwen2.5 Coder 32B Instruct measured
PIQA81.2%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text11871230Qwen2.5 Coder 32B Instruct
LMArena Text: instruction following11591223Qwen2.5 Coder 32B Instruct
LMArena Text: creative writing11541174Qwen2.5 Coder 32B Instruct
LMArena Text: English12181248Qwen2.5 Coder 32B Instruct
LMArena Text: non-English11481205Qwen2.5 Coder 32B Instruct
LMArena Text: Chinese11511222Qwen2.5 Coder 32B Instruct
LMArena Text: German1144Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: Japanese1061Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: Korean1053Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: French1178Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: Spanish1169Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: Russian11581228Qwen2.5 Coder 32B Instruct
LMArena Text: multi-turn11721222Qwen2.5 Coder 32B Instruct
LMArena Text: longer queries11811251Qwen2.5 Coder 32B Instruct
LMArena Text: writing and language11621191Qwen2.5 Coder 32B Instruct
LMArena Text: entertainment and media11451150Qwen2.5 Coder 32B Instruct
Neither model has a result on the other 23 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
BenchmarkLlama 3.1 8B InstructQwen2.5 Coder 32B InstructLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Llama 3.1 8B Instruct$0.0001Fits in one request
Qwen2.5 Coder 32B Instruct$0.0012Fits in one request

Llama 3.1 8B Instruct costs less

Repository review

50K input + 3K output tokens

Llama 3.1 8B Instruct$0.0027Fits in one request
Qwen2.5 Coder 32B Instruct$0.036Exceeds the context window

Llama 3.1 8B Instruct costs less

Agent loop

200K input + 10K output tokens

Llama 3.1 8B Instruct$0.011Exceeds the context window
Qwen2.5 Coder 32B Instruct$0.142Exceeds the context window

Llama 3.1 8B Instruct costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Llama 3.1 8B Instruct and Qwen2.5 Coder 32B Instruct
SpecificationMeta Llama 3.1 8B InstructQwen2.5 Coder 32B Instruct
MakerMeta LlamaQwen
WeightsOpen weightsOpen weights
ReleasedJuly 23, 2024November 11, 2024
Context window131K33K
Input $/Mtok$0.05$0.66
Output $/Mtok$0.08$1.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 3.1 8B Instruct better than Qwen2.5 Coder 32B Instruct for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Llama 3.1 8B Instruct has the edge where output tokens cost 12.5x less, and where the context window is larger, 131K against 33K tokens.

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

Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens; Qwen2.5 Coder 32B Instruct costs $0.66 and $1.00. Cost per solved task is known for neither of them.

Which has the bigger context window, Llama 3.1 8B Instruct or Qwen2.5 Coder 32B Instruct?

Llama 3.1 8B Instruct, with 131K tokens against 33K.

How many benchmarks is the Llama 3.1 8B Instruct vs Qwen2.5 Coder 32B Instruct comparison based on?

30 benchmarks have a result for both models as of October 21, 2026. Llama 3.1 8B Instruct's coding index rests on 0 independent benchmarks and Qwen2.5 Coder 32B Instruct's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next