Enter opens the highlighted result. Esc closes.

GPT-4o-mini (2024-07-18) vs Llama 3.1 70B Instruct

GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct cost about the same per output token ($0.60 vs $0.56 per million). Updated October 22, 2026; 33 benchmarks have a result for both.

GPT-4o-mini (2024-07-18)OpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
30
Llama 3.1 70B InstructMeta Llama
Coding
No data
Overall
24.3
Output $/M
$0.56
3
vs boards won of 33 shared

GPT-4o-mini (2024-07-18) or Llama 3.1 70B Instruct: which to pick

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

Pick GPT-4o-mini (2024-07-18) for work measured by BALROG or GPQA Diamond (Epoch AI run), where it leads.

Shared results
33
GPT-4o-mini (2024-07-18) only
13
Llama 3.1 70B Instruct only
14
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
GPT-4o-mini (2024-07-18) not benchmarked, Llama 3.1 70B Instruct not benchmarked.
Widest category
Agentic work, 10.5 points apart on average over 1 shared benchmark.
Widest single gap
MATH level 5: GPT-4o-mini (2024-07-18) 52.6% against Llama 3.1 70B Instruct 36.7%, 16.0 points apart on a 0 to 100 scale.
Output price
GPT-4o-mini (2024-07-18) $0.60 against Llama 3.1 70B Instruct $0.56 per million output tokens, 1.1x apart.
Context window
GPT-4o-mini (2024-07-18) takes 128K 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
CategoryGPT-4o-mini (2024-07-18)BarsLlama 3.1 70B InstructTies
Coding30
Agentic work01
Reasoning31
Math40
Knowledge41
General160
All shared boards303
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 3.1 70B InstructLeader
Aider polyglot3.6%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LiveCodeBench (Artificial Analysis run)Not measured23.2%Only Llama 3.1 70B Instruct measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.0%Only Llama 3.1 70B Instruct measured
WeirdML11.8%9.0%GPT-4o-mini (2024-07-18)
LMArena Text: coding12901260GPT-4o-mini (2024-07-18)
LMArena Text: software and IT12911260GPT-4o-mini (2024-07-18)
Neither model has a result on the other 37 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 3.1 70B InstructLeader
AA Intelligence IndexNot measured6.6Only Llama 3.1 70B Instruct measured
Epoch Capabilities IndexNot measured125.9Only Llama 3.1 70B Instruct measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 3.1 70B InstructLeader
τ²-Bench TelecomNot measured15.2%Only Llama 3.1 70B Instruct measured
BALROG17.4%27.9%Llama 3.1 70B Instruct
TheAgentCompanyNot measured6.9%Only Llama 3.1 70B Instruct measured
Neither model has a result on the other 39 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index31
Reasoning benchmarks for GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 3.1 70B InstructLeader
GPQA Diamond (Artificial Analysis run)Not measured40.9%Only Llama 3.1 70B Instruct measured
Humanity's Last Exam (Artificial Analysis run)Not measured4.5%Only Llama 3.1 70B Instruct measured
GPQA Diamond (Epoch AI run)37.7%44.2%Llama 3.1 70B Instruct
SimpleBench10.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Chess puzzles3.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Mystery game puzzles12.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
VPCT34.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: hard prompts12671241GPT-4o-mini (2024-07-18)
LMArena Text: expert12341209GPT-4o-mini (2024-07-18)
LMArena Text: hard prompts in English12781261GPT-4o-mini (2024-07-18)
Neither model has a result on the other 13 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 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 AIME6.9%3.6%GPT-4o-mini (2024-07-18)
FrontierMath, tiers 1 to 30.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
MATH level 552.6%36.7%GPT-4o-mini (2024-07-18)
LMArena Text: math12671252GPT-4o-mini (2024-07-18)
LMArena Text: mathematical work12711253GPT-4o-mini (2024-07-18)
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 3.1 70B InstructLeader
MMLU Pro (Artificial Analysis run)Not measured67.6%Only Llama 3.1 70B Instruct measured
SimpleQA Verified8.3%Not measuredOnly GPT-4o-mini (2024-07-18) measured
MMLU76.7%80.1%Llama 3.1 70B Instruct
GeoBench64.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: science12861276GPT-4o-mini (2024-07-18)
LMArena Text: medicine and healthcare12821257GPT-4o-mini (2024-07-18)
LMArena Text: legal and government13051283GPT-4o-mini (2024-07-18)
LMArena Text: business and finance12651235GPT-4o-mini (2024-07-18)
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 GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 3.1 70B InstructLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index160
General benchmarks for GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 3.1 70B InstructLeader
IFBenchNot measured34.4%Only Llama 3.1 70B Instruct measured
DTBenchNot measured60.0%Only Llama 3.1 70B Instruct measured
LMCANot measured14.8%Only Llama 3.1 70B Instruct measured
Creative writing (Lech Mazur)67.2%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text12861261GPT-4o-mini (2024-07-18)
LMArena Text: instruction following12581231GPT-4o-mini (2024-07-18)
LMArena Text: creative writing12681232GPT-4o-mini (2024-07-18)
LMArena Vision1066Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: English13011294GPT-4o-mini (2024-07-18)
LMArena Text: non-English12661219GPT-4o-mini (2024-07-18)
LMArena Text: Chinese12651215GPT-4o-mini (2024-07-18)
LMArena Text: German12721222GPT-4o-mini (2024-07-18)
LMArena Text: Japanese12161132GPT-4o-mini (2024-07-18)
LMArena Text: Korean11951140GPT-4o-mini (2024-07-18)
LMArena Text: French12971262GPT-4o-mini (2024-07-18)
LMArena Text: Spanish12761253GPT-4o-mini (2024-07-18)
LMArena Text: Russian12751234GPT-4o-mini (2024-07-18)
LMArena Text: Polish1244Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: multi-turn12851256GPT-4o-mini (2024-07-18)
LMArena Text: longer queries12891241GPT-4o-mini (2024-07-18)
LMArena Text: writing and language12821236GPT-4o-mini (2024-07-18)
LMArena Text: entertainment and media12531230GPT-4o-mini (2024-07-18)
LMArena Vision: English1072Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Vision: Chinese1033Not measuredOnly GPT-4o-mini (2024-07-18) measured
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 GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
BenchmarkGPT-4o-mini (2024-07-18)Llama 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

GPT-4o-mini (2024-07-18)$0.0004Fits in one request
Llama 3.1 70B Instruct$0.0008Fits in one request

GPT-4o-mini (2024-07-18) costs less

Repository review

50K input + 3K output tokens

GPT-4o-mini (2024-07-18)$0.0093Fits in one request
Llama 3.1 70B Instruct$0.030Fits in one request

GPT-4o-mini (2024-07-18) costs less

Agent loop

200K input + 10K output tokens

GPT-4o-mini (2024-07-18)$0.036Exceeds the context window
Llama 3.1 70B Instruct$0.118Exceeds the context window

GPT-4o-mini (2024-07-18) 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 GPT-4o-mini (2024-07-18) and Llama 3.1 70B Instruct
SpecificationOpenAI GPT-4o-mini (2024-07-18)Meta Llama 3.1 70B Instruct
MakerOpenAIMeta Llama
WeightsNo public weights listedOpen weights
ReleasedJuly 18, 2024July 23, 2024
Context window128K131K
Input $/Mtok$0.15$0.56
Output $/Mtok$0.60$0.56
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o-mini (2024-07-18) better than Llama 3.1 70B Instruct for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GPT-4o-mini (2024-07-18) for work measured by BALROG or GPQA Diamond (Epoch AI run), where it leads.

Which is cheaper, GPT-4o-mini (2024-07-18) or Llama 3.1 70B Instruct?

GPT-4o-mini (2024-07-18) costs $0.15 per million input tokens and $0.60 per million output tokens; Llama 3.1 70B Instruct costs $0.56 and $0.56. Cost per solved task is known for neither of them.

Which has the bigger context window, GPT-4o-mini (2024-07-18) or Llama 3.1 70B Instruct?

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

How many benchmarks is the GPT-4o-mini (2024-07-18) vs Llama 3.1 70B Instruct comparison based on?

33 benchmarks have a result for both models as of October 22, 2026. GPT-4o-mini (2024-07-18)'s coding index rests on 0 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