Enter opens the highlighted result. Esc closes.

Llama 3.1 70B Instruct vs Qwen3.8 27B

Qwen3.8 27B leads Llama 3.1 70B Instruct on the Artificial Analysis Intelligence Index, 33.7 to 6.6, and Llama 3.1 70B Instruct costs 4.6x less per output token ($0.56 vs $2.55 per million). Updated October 22, 2026; 33 benchmarks have a result for both.

Llama 3.1 70B InstructMeta Llama
Coding
No data
Overall
24.3
Output $/M
$0.56
0
Qwen3.8 27BQwen
Coding
74.2
Overall
59.6
Output $/M
$2.55
33
vs boards won of 33 shared

Llama 3.1 70B Instruct or Qwen3.8 27B: which to pick

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; Llama 3.1 70B Instruct has none, so the two cannot be ranked on coding.

Pick Llama 3.1 70B Instruct for output tokens 4.6x cheaper ($0.56 vs $2.55 per million).

Shared results
33
Llama 3.1 70B Instruct only
14
Qwen3.8 27B only
52
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 70B Instruct not benchmarked, Qwen3.8 27B 74.2 from 4 benchmarks.
Widest category
Reasoning, 38.7 points apart on average over 5 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): Llama 3.1 70B Instruct 40.9% against Qwen3.8 27B 90.5%, 49.6 points apart on a 0 to 100 scale.
Output price
Llama 3.1 70B Instruct $0.56 against Qwen3.8 27B $2.55 per million output tokens, 4.6x apart.
Context window
Llama 3.1 70B Instruct takes 131K tokens, Qwen3.8 27B 1M.

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 70B InstructBarsQwen3.8 27BTies
Coding02
Intelligence02
Reasoning05
Math02
Knowledge04
General018
All shared boards033
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
LiveBench codingNot measured86.8%Only Qwen3.8 27B measured
LMArena WebDevNot measured1593Only Qwen3.8 27B measured
AA Coding IndexNot measured68.1Only Qwen3.8 27B measured
LiveCodeBench (Vals AI)Not measured84.0%Only Qwen3.8 27B measured
SWE-bench Verified (Vals AI)Not measured86.0%Only Qwen3.8 27B measured
Vibe Code Bench (Vals AI)Not measured64.8%Only Qwen3.8 27B measured
Code migration (Vals AI)Not measured14.2%Only Qwen3.8 27B measured
ProgramBench (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
IOI (Vals AI)Not measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)Not measured58.4%Only Qwen3.8 27B measured
SkillsBench (Vals AI)Not measured38.1%Only Qwen3.8 27B measured
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
LiveCodeBench (Artificial Analysis run)23.2%Not measuredOnly Llama 3.1 70B Instruct measured
SciCodeNot measured46.6%Only Qwen3.8 27B measured
Terminal-Bench Hard (Artificial Analysis run)3.0%Not measuredOnly Llama 3.1 70B Instruct measured
WeirdML9.0%Not measuredOnly Llama 3.1 70B Instruct measured
LMArena Text: coding12601483Qwen3.8 27B
LMArena Text: software and IT12601478Qwen3.8 27B
LMArena WebDev: ReactNot measured1602Only Qwen3.8 27B measured
LMArena WebDev: HTMLNot measured1570Only Qwen3.8 27B measured
LMArena WebDev: from an imageNot measured1577Only Qwen3.8 27B measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
AA Intelligence Index6.633.7Qwen3.8 27B
Epoch Capabilities Index125.9151.7Qwen3.8 27B
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Agentic work benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
AA Agentic IndexNot measured45.8Only Qwen3.8 27B measured
LiveBench researchNot measured59.4%Only Qwen3.8 27B measured
LiveBench browserNot measured32.0%Only Qwen3.8 27B measured
LiveBench long agenticNot measured27.9%Only Qwen3.8 27B measured
Finance Agent (Vals AI)Not measured48.5%Only Qwen3.8 27B measured
Tax Agent Bench (Vals AI)Not measured30.9%Only Qwen3.8 27B measured
Legal Research Bench (Vals AI)Not measured36.1%Only Qwen3.8 27B measured
Excel Modeling Benchmark (Vals AI)Not measured59.7%Only Qwen3.8 27B measured
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom15.2%Not measuredOnly Llama 3.1 70B Instruct measured
APEX-AgentsNot measured47.5%Only Qwen3.8 27B measured
BALROG27.9%Not measuredOnly Llama 3.1 70B Instruct measured
TheAgentCompany6.9%Not measuredOnly Llama 3.1 70B Instruct measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
Reasoning benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
GPQA DiamondNot measured88.9%Only Qwen3.8 27B measured
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)Not measured83.9%Only Qwen3.8 27B measured
GPQA Diamond (Artificial Analysis run)40.9%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)4.5%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)44.2%Not measuredOnly Llama 3.1 70B Instruct measured
ARC-AGINot measured87.5%Only Qwen3.8 27B measured
ARC-AGI-2Not measured42.4%Only Qwen3.8 27B measured
LMArena Text: hard prompts12411459Qwen3.8 27B
LMArena Text: expert12091479Qwen3.8 27B
LMArena Text: hard prompts in English12611461Qwen3.8 27B
LMArena Vision: diagramsNot measured1285Only Qwen3.8 27B measured
LMArena Vision: homeworkNot measured1295Only Qwen3.8 27B measured
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
AA Math Index4.0Not measuredOnly Llama 3.1 70B Instruct measured
AIME 2025 (Artificial Analysis run)4.0%Not measuredOnly Llama 3.1 70B Instruct measured
OTIS Mock AIME3.6%Not measuredOnly Llama 3.1 70B Instruct measured
ProofBenchNot measured16.0%Only Qwen3.8 27B measured
MATH level 536.7%Not measuredOnly Llama 3.1 70B Instruct measured
LMArena Text: math12521455Qwen3.8 27B
LMArena Text: mathematical work12531458Qwen3.8 27B
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
MMLU ProNot measured84.3%Only Qwen3.8 27B measured
LegalBench (Vals AI)Not measured82.4%Only Qwen3.8 27B measured
TaxEval (Vals AI)Not measured70.8%Only Qwen3.8 27B measured
MortgageTax (Vals AI)Not measured64.9%Only Qwen3.8 27B measured
MedCode (Vals AI)Not measured28.7%Only Qwen3.8 27B measured
MMLU Pro (Artificial Analysis run)67.6%Not measuredOnly Llama 3.1 70B Instruct measured
MMLU80.1%Not measuredOnly Llama 3.1 70B Instruct measured
LMArena Text: science12761467Qwen3.8 27B
LMArena Text: medicine and healthcare12571437Qwen3.8 27B
LMArena Text: legal and government12831447Qwen3.8 27B
LMArena Text: business and finance12351438Qwen3.8 27B
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Web design benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
LiveBench designNot measured75.9%Only Qwen3.8 27B measured
Neither model has a result on the other 8 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index018
General benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
SAGE (Vals AI)Not measured52.4%Only Qwen3.8 27B measured
MedScribe (Vals AI)Not measured83.8%Only Qwen3.8 27B measured
IFBench34.4%Not measuredOnly Llama 3.1 70B Instruct measured
Long context reasoning (AA-LCR)Not measured82.0%Only Qwen3.8 27B measured
DTBench60.0%88.0%Qwen3.8 27B
LMCA14.8%41.4%Qwen3.8 27B
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
LMArena Text12611440Qwen3.8 27B
LMArena Text: instruction following12311436Qwen3.8 27B
LMArena Text: creative writing12321383Qwen3.8 27B
LMArena VisionNot measured1269Only Qwen3.8 27B measured
LMArena Text: English12941448Qwen3.8 27B
LMArena Text: non-English12191428Qwen3.8 27B
LMArena Text: Chinese12151501Qwen3.8 27B
LMArena Text: German12221443Qwen3.8 27B
LMArena Text: Japanese11321387Qwen3.8 27B
LMArena Text: Korean11401384Qwen3.8 27B
LMArena Text: French12621465Qwen3.8 27B
LMArena Text: Spanish12531449Qwen3.8 27B
LMArena Text: Russian12341415Qwen3.8 27B
LMArena Text: PolishNot measured1439Only Qwen3.8 27B measured
LMArena Text: multi-turn12561440Qwen3.8 27B
LMArena Text: longer queries12411448Qwen3.8 27B
LMArena Text: writing and language12361405Qwen3.8 27B
LMArena Text: entertainment and media12301393Qwen3.8 27B
LMArena Vision: EnglishNot measured1267Only Qwen3.8 27B measured
LMArena Vision: ChineseNot measured1326Only Qwen3.8 27B measured
LMArena Vision: reading textNot measured1281Only Qwen3.8 27B measured
LMArena Vision: humorNot measured1235Only Qwen3.8 27B measured
LMArena Vision: creative writingNot measured1237Only Qwen3.8 27B measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Llama 3.1 70B Instruct and Qwen3.8 27B
BenchmarkLlama 3.1 70B InstructQwen3.8 27BLeader
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 70B Instruct$0.0008Fits in one request
Qwen3.8 27B$0.0017Fits in one request

Llama 3.1 70B Instruct costs less

Repository review

50K input + 3K output tokens

Llama 3.1 70B Instruct$0.030Fits in one request
Qwen3.8 27B$0.029Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

Llama 3.1 70B Instruct$0.118Exceeds the context window
Qwen3.8 27B$0.111Fits in one request

Qwen3.8 27B 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 70B Instruct and Qwen3.8 27B
SpecificationMeta Llama 3.1 70B InstructQwen3.8 27B
MakerMeta LlamaQwen
WeightsOpen weightsOpen weights
ReleasedJuly 23, 2024August 14, 2026
Context window131K1M
Input $/Mtok$0.56$0.425
Output $/Mtok$0.56$2.55
Coding indexNot benchmarked74.2
Independent measurements behind it04
Cost per solved taskNot computable$1.26
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 3.1 70B Instruct better than Qwen3.8 27B for coding?

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; Llama 3.1 70B Instruct has none, so the two cannot be ranked on coding. Pick Llama 3.1 70B Instruct for output tokens 4.6x cheaper ($0.56 vs $2.55 per million).

Which is cheaper, Llama 3.1 70B Instruct or Qwen3.8 27B?

Llama 3.1 70B Instruct costs $0.56 per million input tokens and $0.56 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Cost per solved task is known for Qwen3.8 27B only.

Which has the bigger context window, Llama 3.1 70B Instruct or Qwen3.8 27B?

Qwen3.8 27B, with 1M tokens against 131K.

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

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

Compare next