Enter opens the highlighted result. Esc closes.

Llama 3.1 8B Instruct vs Qwen3 32B

Qwen3 32B leads Llama 3.1 8B Instruct on the Artificial Analysis Intelligence Index, 7.3 to 6.9, and Llama 3.1 8B Instruct costs 5.0x less per output token ($0.08 vs $0.40 per million). Updated October 21, 2026; 40 benchmarks have a result for both.

Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
1
Qwen3 32BQwen
Coding
No data
Overall
40.8
Output $/M
$0.40
39
vs boards won of 40 shared

Llama 3.1 8B Instruct or Qwen3 32B: which to pick

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

Pick Llama 3.1 8B Instruct for output tokens 5.0x cheaper ($0.08 vs $0.40 per million) and work measured by LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Shared results
40
Llama 3.1 8B Instruct only
11
Qwen3 32B only
5
Like-for-like categories
7 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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, Qwen3 32B not benchmarked.
Widest category
Math, 55.8 points apart on average over 5 shared benchmarks.
Widest single gap
AA Math Index: Llama 3.1 8B Instruct 4.3 against Qwen3 32B 73.0, 68.7 points apart on a 0 to 100 scale.
Output price
Llama 3.1 8B Instruct $0.08 against Qwen3 32B $0.40 per million output tokens, 5.0x apart.
Context window
Both take 131K tokens.

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 InstructBarsQwen3 32BTies
Coding04
Intelligence02
Agentic work02
Reasoning06
Math05
Knowledge05
General115
All shared boards139
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Llama 3.1 8B Instruct and Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
Aider polyglotNot measured40.0%Only Qwen3 32B measured
AA Coding Index5.4Not measuredOnly Llama 3.1 8B Instruct measured
LiveCodeBench (Artificial Analysis run)11.6%54.6%Qwen3 32B
SciCodeNot measured36.0%Only Qwen3 32B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%3.0%Qwen3 32B
WeirdML1.7%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: coding11951357Qwen3 32B
LMArena Text: software and IT11951366Qwen3 32B
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Llama 3.1 8B Instruct and Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
AA Intelligence Index6.97.3Qwen3 32B
Epoch Capabilities Index116.5138.4Qwen3 32B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Llama 3.1 8B Instruct and Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
τ²-Bench Telecom16.4%29.8%Qwen3 32B
BALROG15.1%Not measuredOnly Llama 3.1 8B Instruct measured
Berkeley Function Calling Leaderboard (BFCL)25.8%48.7%Qwen3 32B
BrowseComp-PlusNot measured10.7%Only Qwen3 32B measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Llama 3.1 8B Instruct and Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
GPQA Diamond (Artificial Analysis run)25.9%66.8%Qwen3 32B
Humanity's Last Exam (Artificial Analysis run)5.3%7.4%Qwen3 32B
GPQA Diamond (Epoch AI run)27.0%65.7%Qwen3 32B
LMArena Text: hard prompts11751334Qwen3 32B
LMArena Text: expert11441362Qwen3 32B
LMArena Text: hard prompts in English11961350Qwen3 32B
Kagi LLM BenchmarkNot measured48.7%Only Qwen3 32B measured
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index05
Math benchmarks for Llama 3.1 8B Instruct and Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
AA Math Index4.373.0Qwen3 32B
AIME 2025 (Artificial Analysis run)4.3%73.0%Qwen3 32B
OTIS Mock AIME1.7%66.9%Qwen3 32B
MATH level 522.9%Not measuredOnly Llama 3.1 8B Instruct measured
GSM8K82.4%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: math11791399Qwen3 32B
LMArena Text: mathematical work11801420Qwen3 32B
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Llama 3.1 8B Instruct and Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
MMLU Pro (Artificial Analysis run)47.6%79.8%Qwen3 32B
MMLU56.1%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: science11931372Qwen3 32B
LMArena Text: medicine and healthcare11821368Qwen3 32B
LMArena Text: legal and government12061324Qwen3 32B
LMArena Text: business and finance11661318Qwen3 32B
Neither model has a result on the other 12 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 Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index115
General benchmarks for Llama 3.1 8B Instruct and Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
IFBench28.6%36.3%Qwen3 32B
Long context reasoning (AA-LCR)18.0%0.0%Llama 3.1 8B Instruct
DTBench50.9%67.5%Qwen3 32B
LMCA5.4%17.3%Qwen3 32B
Fiction.LiveBenchNot measured74.2%Only Qwen3 32B measured
PIQA81.2%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text11871340Qwen3 32B
LMArena Text: instruction following11591305Qwen3 32B
LMArena Text: creative writing11541297Qwen3 32B
LMArena Text: English12181359Qwen3 32B
LMArena Text: non-English11481317Qwen3 32B
LMArena Text: Chinese11511357Qwen3 32B
LMArena Text: German11441341Qwen3 32B
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: Russian11581311Qwen3 32B
LMArena Text: multi-turn11721331Qwen3 32B
LMArena Text: longer queries11811327Qwen3 32B
LMArena Text: writing and language11621298Qwen3 32B
LMArena Text: entertainment and media11451279Qwen3 32B
Neither model has a result on the other 24 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 Qwen3 32B
BenchmarkLlama 3.1 8B InstructQwen3 32BLeader
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
Qwen3 32B$0.0003Fits 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
Qwen3 32B$0.0082Fits in one request

Llama 3.1 8B Instruct costs less

Agent loop

200K input + 10K output tokens

Llama 3.1 8B Instruct$0.011Exceeds the context window
Qwen3 32B$0.032Exceeds 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 Qwen3 32B
SpecificationMeta Llama 3.1 8B InstructQwen3 32B
MakerMeta LlamaQwen
WeightsOpen weightsOpen weights
ReleasedJuly 23, 2024April 28, 2025
Context window131K131K
Input $/Mtok$0.05$0.14
Output $/Mtok$0.08$0.40
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 Qwen3 32B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Llama 3.1 8B Instruct for output tokens 5.0x cheaper ($0.08 vs $0.40 per million) and work measured by LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Which is cheaper, Llama 3.1 8B Instruct or Qwen3 32B?

Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens; Qwen3 32B costs $0.14 and $0.40. Cost per solved task is known for neither of them.

Which has the bigger context window, Llama 3.1 8B Instruct or Qwen3 32B?

Neither: both take 131K tokens.

How many benchmarks is the Llama 3.1 8B Instruct vs Qwen3 32B comparison based on?

40 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 Qwen3 32B's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next