Enter opens the highlighted result. Esc closes.

Llama 3.1 8B Instruct vs Llama 4 Maverick

Llama 4 Maverick leads Llama 3.1 8B Instruct on the Artificial Analysis Intelligence Index, 9.3 to 6.9, and Llama 3.1 8B Instruct costs 12.5x less per output token ($0.08 vs $1.00 per million). Updated October 21, 2026; 43 benchmarks have a result for both.

Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
1
Llama 4 MaverickMeta Llama
Coding
No data
Overall
21.8
Output $/M
$1.00
42
vs boards won of 43 shared

Llama 3.1 8B Instruct or Llama 4 Maverick: 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 12.5x cheaper ($0.08 vs $1.00 per million) and work measured by AA Coding Index or LiveCodeBench (Artificial Analysis run), where it leads.

Shared results
43
Llama 3.1 8B Instruct only
8
Llama 4 Maverick only
42
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, Llama 4 Maverick not benchmarked.
Widest category
Reasoning, 19.0 points apart on average over 5 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): Llama 3.1 8B Instruct 25.9% against Llama 4 Maverick 67.1%, 41.2 points apart on a 0 to 100 scale.
Output price
Llama 3.1 8B Instruct $0.08 against Llama 4 Maverick $1.00 per million output tokens, 12.5x apart.
Context window
Llama 3.1 8B Instruct takes 131K tokens, Llama 4 Maverick 524K.

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 InstructBarsLlama 4 MaverickTies
Coding06
Intelligence02
Agentic work01
Reasoning14
Math04
Knowledge05
General020
All shared boards142
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
Coding benchmarks for Llama 3.1 8B Instruct and Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
Aider polyglotNot measured15.6%Only Llama 4 Maverick measured
SWE-bench VerifiedNot measured21.0%Only Llama 4 Maverick measured
AA Coding Index5.416.3Llama 4 Maverick
LiveCodeBench (Vals AI)Not measured47.3%Only Llama 4 Maverick measured
LiveCodeBench (Artificial Analysis run)11.6%39.7%Llama 4 Maverick
SciCodeNot measured31.7%Only Llama 4 Maverick measured
Terminal-Bench Hard (Artificial Analysis run)0.8%6.8%Llama 4 Maverick
WeirdML1.7%24.5%Llama 4 Maverick
ALE-BenchNot measured173.0Only Llama 4 Maverick measured
LMArena Text: coding11951301Llama 4 Maverick
LMArena Text: software and IT11951299Llama 4 Maverick
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Llama 3.1 8B Instruct and Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
AA Intelligence Index6.99.3Llama 4 Maverick
Epoch Capabilities Index116.5132.2Llama 4 Maverick
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Llama 3.1 8B Instruct and Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
AA Agentic IndexNot measured0.6Only Llama 4 Maverick measured
τ²-Bench Telecom16.4%17.8%Llama 4 Maverick
BALROG15.1%Not measuredOnly Llama 3.1 8B Instruct 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 index14
Reasoning benchmarks for Llama 3.1 8B Instruct and Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
GPQA DiamondNot measured69.4%Only Llama 4 Maverick measured
MMMU Pro (Vals AI)Not measured71.7%Only Llama 4 Maverick measured
GPQA Diamond (Artificial Analysis run)25.9%67.1%Llama 4 Maverick
Humanity's Last Exam (Artificial Analysis run)5.3%4.9%Llama 3.1 8B Instruct
GPQA Diamond (Epoch AI run)27.0%Not measuredOnly Llama 3.1 8B Instruct measured
ARC-AGINot measured4.4%Only Llama 4 Maverick measured
ARC-AGI-2Not measured0.0%Only Llama 4 Maverick measured
SimpleBenchNot measured27.7%Only Llama 4 Maverick measured
LMArena Text: hard prompts11751281Llama 4 Maverick
LMArena Text: expert11441259Llama 4 Maverick
LMArena Text: hard prompts in English11961295Llama 4 Maverick
LMArena Vision: diagramsNot measured1134Only Llama 4 Maverick measured
LMArena Vision: homeworkNot measured1164Only Llama 4 Maverick measured
Kagi LLM BenchmarkNot measured55.9%Only Llama 4 Maverick measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Llama 3.1 8B Instruct and Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
AIMENot measured25.2%Only Llama 4 Maverick measured
MATH 500 (Vals AI)Not measured85.2%Only Llama 4 Maverick measured
MGSM (Vals AI)Not measured92.4%Only Llama 4 Maverick measured
AA Math Index4.319.3Llama 4 Maverick
AIME 2025 (Artificial Analysis run)4.3%19.3%Llama 4 Maverick
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%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: math11791299Llama 4 Maverick
LMArena Text: mathematical work11801295Llama 4 Maverick
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Llama 3.1 8B Instruct and Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
MMLU ProNot measured79.4%Only Llama 4 Maverick measured
LegalBench (Vals AI)Not measured77.8%Only Llama 4 Maverick measured
CorpFin (Vals AI)Not measured49.7%Only Llama 4 Maverick measured
TaxEval (Vals AI)Not measured66.6%Only Llama 4 Maverick measured
MortgageTax (Vals AI)Not measured58.5%Only Llama 4 Maverick measured
MedQA (Vals AI)Not measured43.3%Only Llama 4 Maverick measured
MedCode (Vals AI)Not measured36.5%Only Llama 4 Maverick measured
MMLU Pro (Artificial Analysis run)47.6%80.9%Llama 4 Maverick
MMLU56.1%Not measuredOnly Llama 3.1 8B Instruct measured
GeoBenchNot measured52.0%Only Llama 4 Maverick measured
LMArena Text: science11931288Llama 4 Maverick
LMArena Text: medicine and healthcare11821275Llama 4 Maverick
LMArena Text: legal and government12061286Llama 4 Maverick
LMArena Text: business and finance11661260Llama 4 Maverick
Neither model has a result on the other 4 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 Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
Design Arena: websitesNot measured871Only Llama 4 Maverick measured
Design Arena: UI componentsNot measured899Only Llama 4 Maverick measured
Design Arena: game devNot measured838Only Llama 4 Maverick measured
Design Arena: data vizNot measured882Only Llama 4 Maverick measured
Design Arena: 3DNot measured901Only Llama 4 Maverick measured
Design Arena: all code categoriesNot measured880Only Llama 4 Maverick measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index020
General benchmarks for Llama 3.1 8B Instruct and Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
SAGE (Vals AI)Not measured35.7%Only Llama 4 Maverick measured
MedScribe (Vals AI)Not measured54.2%Only Llama 4 Maverick measured
IFBench28.6%43.0%Llama 4 Maverick
Long context reasoning (AA-LCR)18.0%50.0%Llama 4 Maverick
DTBench50.9%61.9%Llama 4 Maverick
LMCA5.4%15.9%Llama 4 Maverick
Fiction.LiveBenchNot measured46.2%Only Llama 4 Maverick measured
Creative writing (Lech Mazur)Not measured62.0%Only Llama 4 Maverick measured
PIQA81.2%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text11871287Llama 4 Maverick
LMArena Text: instruction following11591267Llama 4 Maverick
LMArena Text: creative writing11541266Llama 4 Maverick
LMArena VisionNot measured1142Only Llama 4 Maverick measured
LMArena Text: English12181303Llama 4 Maverick
LMArena Text: non-English11481269Llama 4 Maverick
LMArena Text: Chinese11511277Llama 4 Maverick
LMArena Text: German11441291Llama 4 Maverick
LMArena Text: Japanese10611206Llama 4 Maverick
LMArena Text: Korean10531203Llama 4 Maverick
LMArena Text: French11781259Llama 4 Maverick
LMArena Text: Spanish11691293Llama 4 Maverick
LMArena Text: Russian11581286Llama 4 Maverick
LMArena Text: PolishNot measured1275Only Llama 4 Maverick measured
LMArena Text: multi-turn11721289Llama 4 Maverick
LMArena Text: longer queries11811280Llama 4 Maverick
LMArena Text: writing and language11621277Llama 4 Maverick
LMArena Text: entertainment and media11451250Llama 4 Maverick
LMArena Vision: EnglishNot measured1150Only Llama 4 Maverick measured
LMArena Vision: ChineseNot measured1141Only Llama 4 Maverick measured
LMArena Vision: reading textNot measured1143Only Llama 4 Maverick measured
LMArena Vision: humorNot measured1100Only Llama 4 Maverick measured
LMArena Vision: creative writingNot measured1099Only Llama 4 Maverick measured
Neither model has a result on the other 14 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 Llama 4 Maverick
BenchmarkLlama 3.1 8B InstructLlama 4 MaverickLeader
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
Llama 4 Maverick$0.0008Fits 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
Llama 4 Maverick$0.021Fits 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
Llama 4 Maverick$0.080Fits in one request

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 Llama 4 Maverick
SpecificationMeta Llama 3.1 8B InstructMeta Llama 4 Maverick
MakerMeta LlamaMeta Llama
WeightsOpen weightsOpen weights
ReleasedJuly 23, 2024April 5, 2025
Context window131K524K
Input $/Mtok$0.05$0.35
Output $/Mtok$0.08$1.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$1.491
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 3.1 8B Instruct better than Llama 4 Maverick 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 12.5x cheaper ($0.08 vs $1.00 per million) and work measured by AA Coding Index or LiveCodeBench (Artificial Analysis run), where it leads.

Which is cheaper, Llama 3.1 8B Instruct or Llama 4 Maverick?

Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens; Llama 4 Maverick costs $0.35 and $1.00. Cost per solved task is known for Llama 4 Maverick only.

Which has the bigger context window, Llama 3.1 8B Instruct or Llama 4 Maverick?

Llama 4 Maverick, with 524K tokens against 131K.

How many benchmarks is the Llama 3.1 8B Instruct vs Llama 4 Maverick comparison based on?

43 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 Llama 4 Maverick's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next