Enter opens the highlighted result. Esc closes.

Llama 3.1 8B Instruct vs Qwen3 235B A22B Thinking 2507

Qwen3 235B A22B Thinking 2507 leads Llama 3.1 8B Instruct on the Artificial Analysis Intelligence Index, 12.7 to 6.9, and Llama 3.1 8B Instruct costs 43.8x less per output token ($0.08 vs $3.50 per million). Updated October 22, 2026; 33 benchmarks have a result for both.

Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
0
Qwen3 235B A22B Thinking 2507Qwen
Coding
No data
Overall
52.9
Output $/M
$3.50
33
vs boards won of 33 shared

Llama 3.1 8B Instruct or Qwen3 235B A22B Thinking 2507: 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 43.8x cheaper ($0.08 vs $3.50 per million) and a larger context window (131K against 128K tokens).

Shared results
33
Llama 3.1 8B Instruct only
18
Qwen3 235B A22B Thinking 2507 only
13
Like-for-like categories
6 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 235B A22B Thinking 2507 not benchmarked.
Widest category
Math, 55.4 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Llama 3.1 8B Instruct 1.7% against Qwen3 235B A22B Thinking 2507 86.7%, 85.0 points apart on a 0 to 100 scale.
Output price
Llama 3.1 8B Instruct $0.08 against Qwen3 235B A22B Thinking 2507 $3.50 per million output tokens, 43.8x apart.
Context window
Llama 3.1 8B Instruct takes 131K tokens, Qwen3 235B A22B Thinking 2507 128K.

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 235B A22B Thinking 2507Ties
Coding04
Intelligence01
Reasoning04
Math03
Knowledge04
General017
All shared boards033
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
AA Coding Index5.422.1Qwen3 235B A22B Thinking 2507
LiveCodeBench (Artificial Analysis run)11.6%Not measuredOnly Llama 3.1 8B Instruct measured
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Llama 3.1 8B Instruct measured
WeirdML1.7%41.0%Qwen3 235B A22B Thinking 2507
LMArena Text: coding11951424Qwen3 235B A22B Thinking 2507
LMArena Text: software and IT11951431Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 37 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
AA Intelligence Index6.912.7Qwen3 235B A22B Thinking 2507
Epoch Capabilities Index116.5Not measuredOnly Llama 3.1 8B Instruct measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Agentic work benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
AA Agentic IndexNot measured1.3Only Qwen3 235B A22B Thinking 2507 measured
τ²-Bench Telecom16.4%Not measuredOnly Llama 3.1 8B Instruct measured
BALROG15.1%Not measuredOnly Llama 3.1 8B Instruct measured
Vending-Bench 2Not measured-$11Only Qwen3 235B A22B Thinking 2507 measured
Berkeley Function Calling Leaderboard (BFCL)25.8%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 index04
Reasoning benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
GPQA Diamond (Artificial Analysis run)25.9%Not measuredOnly Llama 3.1 8B Instruct measured
Humanity's Last Exam (Artificial Analysis run)5.3%Not measuredOnly Llama 3.1 8B Instruct measured
GPQA Diamond (Epoch AI run)27.0%80.1%Qwen3 235B A22B Thinking 2507
Mystery game puzzlesNot measured9.0%Only Qwen3 235B A22B Thinking 2507 measured
LMArena Text: hard prompts11751416Qwen3 235B A22B Thinking 2507
LMArena Text: expert11441463Qwen3 235B A22B Thinking 2507
LMArena Text: hard prompts in English11961432Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 16 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
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%86.7%Qwen3 235B A22B Thinking 2507
MATH level 522.9%Not measuredOnly Llama 3.1 8B Instruct measured
GSM8K82.4%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: math11791412Qwen3 235B A22B Thinking 2507
LMArena Text: mathematical work11801435Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
MMLU Pro (Artificial Analysis run)47.6%Not measuredOnly Llama 3.1 8B Instruct measured
SimpleQA VerifiedNot measured40.4%Only Qwen3 235B A22B Thinking 2507 measured
MMLU56.1%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: science11931433Qwen3 235B A22B Thinking 2507
LMArena Text: medicine and healthcare11821456Qwen3 235B A22B Thinking 2507
LMArena Text: legal and government12061415Qwen3 235B A22B Thinking 2507
LMArena Text: business and finance11661413Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 13 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
Design Arena: websitesNot measured1052Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: UI componentsNot measured942Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: game devNot measured956Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: data vizNot measured950Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: 3DNot measured997Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: all code categoriesNot measured1032Only Qwen3 235B A22B Thinking 2507 measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
General benchmarks for Llama 3.1 8B Instruct and Qwen3 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
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%80.3%Qwen3 235B A22B Thinking 2507
LMCA5.4%29.3%Qwen3 235B A22B Thinking 2507
Fiction.LiveBenchNot measured75.0%Only Qwen3 235B A22B Thinking 2507 measured
Creative writing (Lech Mazur)Not measured82.4%Only Qwen3 235B A22B Thinking 2507 measured
PIQA81.2%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text11871415Qwen3 235B A22B Thinking 2507
LMArena Text: instruction following11591386Qwen3 235B A22B Thinking 2507
LMArena Text: creative writing11541384Qwen3 235B A22B Thinking 2507
LMArena Text: English12181429Qwen3 235B A22B Thinking 2507
LMArena Text: non-English11481397Qwen3 235B A22B Thinking 2507
LMArena Text: Chinese11511481Qwen3 235B A22B Thinking 2507
LMArena Text: German11441408Qwen3 235B A22B Thinking 2507
LMArena Text: Japanese10611386Qwen3 235B A22B Thinking 2507
LMArena Text: Korean10531375Qwen3 235B A22B Thinking 2507
LMArena Text: French1178Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: Spanish11691389Qwen3 235B A22B Thinking 2507
LMArena Text: Russian11581401Qwen3 235B A22B Thinking 2507
LMArena Text: PolishNot measured1390Only Qwen3 235B A22B Thinking 2507 measured
LMArena Text: multi-turn11721406Qwen3 235B A22B Thinking 2507
LMArena Text: longer queries11811400Qwen3 235B A22B Thinking 2507
LMArena Text: writing and language11621388Qwen3 235B A22B Thinking 2507
LMArena Text: entertainment and media11451370Qwen3 235B A22B Thinking 2507
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 235B A22B Thinking 2507
BenchmarkLlama 3.1 8B InstructQwen3 235B A22B Thinking 2507Leader
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 235B A22B Thinking 2507$0.0022Fits 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 235B A22B Thinking 2507$0.033Fits 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 235B A22B Thinking 2507$0.125Exceeds 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 235B A22B Thinking 2507
SpecificationMeta Llama 3.1 8B InstructQwen3 235B A22B Thinking 2507
MakerMeta LlamaQwen
WeightsOpen weightsOpen weights
ReleasedJuly 23, 2024July 25, 2025
Context window131K128K
Input $/Mtok$0.05$0.45
Output $/Mtok$0.08$3.50
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 235B A22B Thinking 2507 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 43.8x cheaper ($0.08 vs $3.50 per million) and a larger context window (131K against 128K tokens).

Which is cheaper, Llama 3.1 8B Instruct or Qwen3 235B A22B Thinking 2507?

Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens; Qwen3 235B A22B Thinking 2507 costs $0.45 and $3.50. Cost per solved task is known for neither of them.

Which has the bigger context window, Llama 3.1 8B Instruct or Qwen3 235B A22B Thinking 2507?

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

How many benchmarks is the Llama 3.1 8B Instruct vs Qwen3 235B A22B Thinking 2507 comparison based on?

33 benchmarks have a result for both models as of October 22, 2026. Llama 3.1 8B Instruct's coding index rests on 0 independent benchmarks and Qwen3 235B A22B Thinking 2507's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next