Enter opens the highlighted result. Esc closes.

Grok 4.5 vs Llama 3.1 70B Instruct

Grok 4.5 leads Llama 3.1 70B Instruct on the Artificial Analysis Intelligence Index, 38.8 to 6.6, and Llama 3.1 70B Instruct costs 10.7x less per output token ($0.56 vs $6.00 per million). Updated October 21, 2026; 36 benchmarks have a result for both.

Grok 4.5xAI
Coding
58.6
Overall
62.1
Output $/M
$6.00
36
Llama 3.1 70B InstructMeta Llama
Coding
No data
Overall
24.3
Output $/M
$0.56
0
vs boards won of 36 shared

Grok 4.5 or Llama 3.1 70B Instruct: which to pick

Only Grok 4.5 has a coding score, 58.6 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 10.7x cheaper ($0.56 vs $6.00 per million).

Shared results
36
Grok 4.5 only
87
Llama 3.1 70B Instruct only
11
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
Grok 4.5 58.6 from 6 benchmarks, Llama 3.1 70B Instruct not benchmarked.
Widest category
Math, 55.6 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Grok 4.5 97.8% against Llama 3.1 70B Instruct 3.6%, 94.2 points apart on a 0 to 100 scale.
Output price
Grok 4.5 $6.00 against Llama 3.1 70B Instruct $0.56 per million output tokens, 10.7x apart.
Context window
Grok 4.5 takes 500K tokens, Llama 3.1 70B Instruct 131K.

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
CategoryGrok 4.5BarsLlama 3.1 70B InstructTies
Coding30
Intelligence20
Reasoning60
Math30
Knowledge40
General180
All shared boards360
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
LiveBench coding94.3%Not measuredOnly Grok 4.5 measured
LMArena WebDev1553Not measuredOnly Grok 4.5 measured
AA Coding Index72.4Not measuredOnly Grok 4.5 measured
LiveCodeBench (Vals AI)87.3%Not measuredOnly Grok 4.5 measured
SWE-bench Verified (Vals AI)86.6%Not measuredOnly Grok 4.5 measured
Terminal-Bench 4 (Vals AI)8.6%Not measuredOnly Grok 4.5 measured
Vibe Code Bench (Vals AI)69.0%Not measuredOnly Grok 4.5 measured
Code migration (Vals AI)36.6%Not measuredOnly Grok 4.5 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Grok 4.5 measured
IOI (Vals AI)40.6%Not measuredOnly Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)67.8%Not measuredOnly Grok 4.5 measured
SkillsBench (Vals AI)66.0%Not measuredOnly Grok 4.5 measured
CyberBench (Vals AI)71.0%Not measuredOnly Grok 4.5 measured
LiveCodeBench (Artificial Analysis run)Not measured23.2%Only Llama 3.1 70B Instruct measured
SciCode55.0%Not measuredOnly Grok 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.0%Only Llama 3.1 70B Instruct measured
FrontierCode42.4%Not measuredOnly Grok 4.5 measured
WeirdML46.4%9.0%Grok 4.5
ALE-Bench1309.3Not measuredOnly Grok 4.5 measured
LMArena Text: coding14741260Grok 4.5
LMArena Text: software and IT14711260Grok 4.5
LMArena WebDev: React1556Not measuredOnly Grok 4.5 measured
LMArena WebDev: HTML1567Not measuredOnly Grok 4.5 measured
LMArena WebDev: from an image1562Not measuredOnly Grok 4.5 measured
SciCode6.5%Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
AA Intelligence Index38.86.6Grok 4.5
Epoch Capabilities Index154.1125.9Grok 4.5
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index25 boards, none shared
Agentic work benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
AA Agentic Index41.2Not measuredOnly Grok 4.5 measured
Design Arena: agents building web apps1218Not measuredOnly Grok 4.5 measured
Design Arena: agents building full-stack apps1249Not measuredOnly Grok 4.5 measured
Design Arena: agents building mobile apps1221Not measuredOnly Grok 4.5 measured
Design Arena: agents building Android apps1242Not measuredOnly Grok 4.5 measured
Design Arena: agents building Godot games1229Not measuredOnly Grok 4.5 measured
Design Arena: agents building games1236Not measuredOnly Grok 4.5 measured
Design Arena: HTML slides1204Not measuredOnly Grok 4.5 measured
Design Arena: PowerPoint slides1233Not measuredOnly Grok 4.5 measured
LiveBench research85.9%Not measuredOnly Grok 4.5 measured
LiveBench browser44.0%Not measuredOnly Grok 4.5 measured
LiveBench long agentic27.9%Not measuredOnly Grok 4.5 measured
SREBench (Vals AI)0.8%Not measuredOnly Grok 4.5 measured
Finance Agent (Vals AI)48.4%Not measuredOnly Grok 4.5 measured
Tax Agent Bench (Vals AI)24.9%Not measuredOnly Grok 4.5 measured
Legal Research Bench (Vals AI)38.0%Not measuredOnly Grok 4.5 measured
Excel Modeling Benchmark (Vals AI)52.9%Not measuredOnly Grok 4.5 measured
Time Horizon Index (Vals AI)6.3%Not measuredOnly Grok 4.5 measured
τ²-Bench TelecomNot measured15.2%Only Llama 3.1 70B Instruct measured
APEX-Agents56.2%Not measuredOnly Grok 4.5 measured
BALROGNot measured27.9%Only Llama 3.1 70B Instruct measured
PostTrainBench23.4%Not measuredOnly Grok 4.5 measured
TheAgentCompanyNot measured6.9%Only Llama 3.1 70B Instruct measured
Vending-Bench 2$3,887Not measuredOnly Grok 4.5 measured
LMArena Search1216Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
GPQA Diamond92.9%Not measuredOnly Grok 4.5 measured
LiveBench reasoning87.2%Not measuredOnly Grok 4.5 measured
MMMU Pro (Vals AI)61.8%Not measuredOnly Grok 4.5 measured
GPQA Diamond (Artificial Analysis run)93.1%40.9%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)42.7%4.5%Grok 4.5
GPQA Diamond (Epoch AI run)93.4%44.2%Grok 4.5
ARC-AGI87.2%Not measuredOnly Grok 4.5 measured
ARC-AGI-252.6%Not measuredOnly Grok 4.5 measured
SimpleBench70.0%Not measuredOnly Grok 4.5 measured
Chess puzzles35.0%Not measuredOnly Grok 4.5 measured
LMArena Text: hard prompts14621241Grok 4.5
LMArena Text: expert14651209Grok 4.5
LMArena Text: hard prompts in English14641261Grok 4.5
LMArena Vision: diagrams1304Not measuredOnly Grok 4.5 measured
LMArena Vision: homework1295Not measuredOnly Grok 4.5 measured
Kagi LLM Benchmark83.5%Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
AA Math IndexNot measured4.0Only Llama 3.1 70B Instruct measured
AIME 2025 (Artificial Analysis run)Not measured4.0%Only Llama 3.1 70B Instruct measured
OTIS Mock AIME97.8%3.6%Grok 4.5
FrontierMath, tiers 1 to 357.2%Not measuredOnly Grok 4.5 measured
FrontierMath, tier 424.4%Not measuredOnly Grok 4.5 measured
ProofBench31.0%Not measuredOnly Grok 4.5 measured
MATH level 5Not measured36.7%Only Llama 3.1 70B Instruct measured
LMArena Text: math14601252Grok 4.5
LMArena Text: mathematical work14821253Grok 4.5
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
MMLU Pro89.2%Not measuredOnly Grok 4.5 measured
LegalBench (Vals AI)86.0%Not measuredOnly Grok 4.5 measured
CorpFin (Vals AI)67.4%Not measuredOnly Grok 4.5 measured
TaxEval (Vals AI)71.7%Not measuredOnly Grok 4.5 measured
MortgageTax (Vals AI)61.8%Not measuredOnly Grok 4.5 measured
MedCode (Vals AI)43.3%Not measuredOnly Grok 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured67.6%Only Llama 3.1 70B Instruct measured
SimpleQA Verified48.3%Not measuredOnly Grok 4.5 measured
MMLUNot measured80.1%Only Llama 3.1 70B Instruct measured
LMArena Text: science14641276Grok 4.5
LMArena Text: medicine and healthcare14401257Grok 4.5
LMArena Text: legal and government14631283Grok 4.5
LMArena Text: business and finance14411235Grok 4.5
FACTS Benchmark Suite50.2%Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
Design Arena: websites1281Not measuredOnly Grok 4.5 measured
Design Arena: UI components1279Not measuredOnly Grok 4.5 measured
Design Arena: game dev1263Not measuredOnly Grok 4.5 measured
Design Arena: data viz1266Not measuredOnly Grok 4.5 measured
Design Arena: 3D1257Not measuredOnly Grok 4.5 measured
Design Arena: all code categories1275Not measuredOnly Grok 4.5 measured
Design Arena: SVG1215Not measuredOnly Grok 4.5 measured
Design Arena: ASCII art1257Not measuredOnly Grok 4.5 measured
LiveBench design78.1%Not measuredOnly Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
General benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B InstructLeader
LiveBench data analysis73.0%Not measuredOnly Grok 4.5 measured
SAGE (Vals AI)35.0%Not measuredOnly Grok 4.5 measured
MedScribe (Vals AI)86.9%Not measuredOnly Grok 4.5 measured
Vals Multimodal Index63.4%Not measuredOnly Grok 4.5 measured
IFBenchNot measured34.4%Only Llama 3.1 70B Instruct measured
Long context reasoning (AA-LCR)79.3%Not measuredOnly Grok 4.5 measured
DTBench96.5%60.0%Grok 4.5
LMCA45.2%14.8%Grok 4.5
Surface Evolver Bench74.4%Not measuredOnly Grok 4.5 measured
Furniture assembly22.5%Not measuredOnly Grok 4.5 measured
LMArena Text14481261Grok 4.5
LMArena Text: instruction following14451231Grok 4.5
LMArena Text: creative writing14421232Grok 4.5
LMArena Vision1287Not measuredOnly Grok 4.5 measured
LMArena Text: English14531294Grok 4.5
LMArena Text: non-English14401219Grok 4.5
LMArena Text: Chinese14951215Grok 4.5
LMArena Text: German14481222Grok 4.5
LMArena Text: Japanese14301132Grok 4.5
LMArena Text: Korean14061140Grok 4.5
LMArena Text: French14571262Grok 4.5
LMArena Text: Spanish14511253Grok 4.5
LMArena Text: Russian14491234Grok 4.5
LMArena Text: Polish1432Not measuredOnly Grok 4.5 measured
LMArena Text: multi-turn14561256Grok 4.5
LMArena Text: longer queries14621241Grok 4.5
LMArena Text: writing and language14451236Grok 4.5
LMArena Text: entertainment and media14341230Grok 4.5
LMArena Vision: English1285Not measuredOnly Grok 4.5 measured
LMArena Vision: Chinese1345Not measuredOnly Grok 4.5 measured
LMArena Vision: reading text1293Not measuredOnly Grok 4.5 measured
LMArena Vision: humor1276Not measuredOnly Grok 4.5 measured
LMArena Vision: creative writing1293Not measuredOnly Grok 4.5 measured
LMArena Document1452Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Grok 4.5 and Llama 3.1 70B Instruct
BenchmarkGrok 4.5Llama 3.1 70B 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

Grok 4.5$0.0050Fits in one request
Llama 3.1 70B Instruct$0.0008Fits in one request

Llama 3.1 70B Instruct costs less

Repository review

50K input + 3K output tokens

Grok 4.5$0.118Fits in one request
Llama 3.1 70B Instruct$0.030Fits in one request

Llama 3.1 70B Instruct costs less

Agent loop

200K input + 10K output tokens

Grok 4.5$0.460Fits in one request
Llama 3.1 70B Instruct$0.118Exceeds the context window

Llama 3.1 70B 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 Grok 4.5 and Llama 3.1 70B Instruct
SpecificationSpaceXAI Grok 4.5Meta Llama 3.1 70B Instruct
MakerxAIMeta Llama
WeightsNo public weights listedOpen weights
ReleasedJuly 8, 2026July 23, 2024
Context window500K131K
Input $/Mtok$2.00$0.56
Output $/Mtok$6.00$0.56
Coding index58.6Not benchmarked
Independent measurements behind it60
Cost per solved task$0.62Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Grok 4.5 better than Llama 3.1 70B Instruct for coding?

Only Grok 4.5 has a coding score, 58.6 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 10.7x cheaper ($0.56 vs $6.00 per million).

Which is cheaper, Grok 4.5 or Llama 3.1 70B Instruct?

Grok 4.5 costs $2.00 per million input tokens and $6.00 per million output tokens; Llama 3.1 70B Instruct costs $0.56 and $0.56. Cost per solved task is known for Grok 4.5 only.

Which has the bigger context window, Grok 4.5 or Llama 3.1 70B Instruct?

Grok 4.5, with 500K tokens against 131K.

How many benchmarks is the Grok 4.5 vs Llama 3.1 70B Instruct comparison based on?

36 benchmarks have a result for both models as of October 21, 2026. Grok 4.5's coding index rests on 6 independent benchmarks and Llama 3.1 70B Instruct's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next