Enter opens the highlighted result. Esc closes.

GPT-4o-mini vs Llama 3.1 70B Instruct

GPT-4o-mini leads Llama 3.1 70B Instruct on the Artificial Analysis Intelligence Index, 6.7 to 6.6, at about the same output price ($0.60 vs $0.56 per million). Updated October 21, 2026; 12 benchmarks have a result for both.

GPT-4o-miniOpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
7
Llama 3.1 70B InstructMeta Llama
Coding
No data
Overall
24.3
Output $/M
$0.56
5
vs boards won of 12 shared

GPT-4o-mini 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 for work measured by Humanity's Last Exam (Artificial Analysis run) or MMLU Pro (Artificial Analysis run), where it leads.

Shared results
12
GPT-4o-mini only
17
Llama 3.1 70B Instruct only
35
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 not benchmarked, Llama 3.1 70B Instruct not benchmarked.
Widest category
Math, 10.7 points apart on average over 2 shared benchmarks.
Widest single gap
AA Math Index: GPT-4o-mini 14.7 against Llama 3.1 70B Instruct 4.0, 10.7 points apart on a 0 to 100 scale.
Output price
GPT-4o-mini $0.60 against Llama 3.1 70B Instruct $0.56 per million output tokens, 1.1x apart.
Context window
GPT-4o-mini 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-miniBarsLlama 3.1 70B InstructTies
Coding10
Intelligence20
Reasoning11
Math20
Knowledge11
General03
All shared boards75
CodingLike-for-likeSix of these boards feed the Vibe Coding Index10
Coding benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
AA Coding Index11.4Not measuredOnly GPT-4o-mini measured
LiveCodeBench (Vals AI)26.4%Not measuredOnly GPT-4o-mini measured
LiveCodeBench (Artificial Analysis run)23.4%23.2%GPT-4o-mini
Terminal-Bench Hard (Artificial Analysis run)Not measured3.0%Only Llama 3.1 70B Instruct measured
WeirdMLNot measured9.0%Only Llama 3.1 70B Instruct measured
LMArena Text: codingNot measured1260Only Llama 3.1 70B Instruct measured
LMArena Text: software and ITNot measured1260Only Llama 3.1 70B Instruct measured
SciCode1.5%Not measuredOnly GPT-4o-mini measured
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
AA Intelligence Index6.76.6GPT-4o-mini
Epoch Capabilities Index126.5125.9GPT-4o-mini
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
τ²-Bench TelecomNot measured15.2%Only Llama 3.1 70B Instruct measured
BALROGNot measured27.9%Only Llama 3.1 70B Instruct measured
TheAgentCompanyNot measured6.9%Only Llama 3.1 70B Instruct measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
Reasoning benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
GPQA Diamond44.2%Not measuredOnly GPT-4o-mini measured
MMMU Pro (Vals AI)56.6%Not measuredOnly GPT-4o-mini measured
GPQA Diamond (Artificial Analysis run)42.6%40.9%GPT-4o-mini
Humanity's Last Exam (Artificial Analysis run)4.2%4.5%Llama 3.1 70B Instruct
GPQA Diamond (Epoch AI run)Not measured44.2%Only Llama 3.1 70B Instruct measured
ARC-AGI-20.0%Not measuredOnly GPT-4o-mini measured
LMArena Text: hard promptsNot measured1241Only Llama 3.1 70B Instruct measured
LMArena Text: expertNot measured1209Only Llama 3.1 70B Instruct measured
LMArena Text: hard prompts in EnglishNot measured1261Only Llama 3.1 70B Instruct measured
Kagi LLM Benchmark28.8%Not measuredOnly GPT-4o-mini measured
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
AIME11.5%Not measuredOnly GPT-4o-mini measured
MATH 500 (Vals AI)72.6%Not measuredOnly GPT-4o-mini measured
MGSM (Vals AI)86.2%Not measuredOnly GPT-4o-mini measured
AA Math Index14.74.0GPT-4o-mini
AIME 2025 (Artificial Analysis run)14.7%4.0%GPT-4o-mini
OTIS Mock AIMENot measured3.6%Only Llama 3.1 70B Instruct measured
MATH level 5Not measured36.7%Only Llama 3.1 70B Instruct measured
GSM8K91.3%Not measuredOnly GPT-4o-mini measured
LMArena Text: mathNot measured1252Only Llama 3.1 70B Instruct measured
LMArena Text: mathematical workNot measured1253Only Llama 3.1 70B Instruct measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index11
Knowledge benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
MMLU Pro62.7%Not measuredOnly GPT-4o-mini measured
CorpFin (Vals AI)45.5%Not measuredOnly GPT-4o-mini measured
TaxEval (Vals AI)60.5%Not measuredOnly GPT-4o-mini measured
MortgageTax (Vals AI)54.5%Not measuredOnly GPT-4o-mini measured
MedQA (Vals AI)72.4%Not measuredOnly GPT-4o-mini measured
MMLU Pro (Artificial Analysis run)64.8%67.6%Llama 3.1 70B Instruct
MMLU81.8%80.1%GPT-4o-mini
LMArena Text: scienceNot measured1276Only Llama 3.1 70B Instruct measured
LMArena Text: medicine and healthcareNot measured1257Only Llama 3.1 70B Instruct measured
LMArena Text: legal and governmentNot measured1283Only Llama 3.1 70B Instruct measured
LMArena Text: business and financeNot measured1235Only Llama 3.1 70B Instruct measured
Neither model has a result on the other 7 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index03
General benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 3.1 70B InstructLeader
IFBench31.0%34.4%Llama 3.1 70B Instruct
DTBench54.4%60.0%Llama 3.1 70B Instruct
LMCA10.4%14.8%Llama 3.1 70B Instruct
PIQA88.7%Not measuredOnly GPT-4o-mini measured
LMArena TextNot measured1261Only Llama 3.1 70B Instruct measured
LMArena Text: instruction followingNot measured1231Only Llama 3.1 70B Instruct measured
LMArena Text: creative writingNot measured1232Only Llama 3.1 70B Instruct measured
LMArena Text: EnglishNot measured1294Only Llama 3.1 70B Instruct measured
LMArena Text: non-EnglishNot measured1219Only Llama 3.1 70B Instruct measured
LMArena Text: ChineseNot measured1215Only Llama 3.1 70B Instruct measured
LMArena Text: GermanNot measured1222Only Llama 3.1 70B Instruct measured
LMArena Text: JapaneseNot measured1132Only Llama 3.1 70B Instruct measured
LMArena Text: KoreanNot measured1140Only Llama 3.1 70B Instruct measured
LMArena Text: FrenchNot measured1262Only Llama 3.1 70B Instruct measured
LMArena Text: SpanishNot measured1253Only Llama 3.1 70B Instruct measured
LMArena Text: RussianNot measured1234Only Llama 3.1 70B Instruct measured
LMArena Text: multi-turnNot measured1256Only Llama 3.1 70B Instruct measured
LMArena Text: longer queriesNot measured1241Only Llama 3.1 70B Instruct measured
LMArena Text: writing and languageNot measured1236Only Llama 3.1 70B Instruct measured
LMArena Text: entertainment and mediaNot measured1230Only Llama 3.1 70B Instruct measured
Neither model has a result on the other 26 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4o-mini and Llama 3.1 70B Instruct
BenchmarkGPT-4o-miniLlama 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$0.0004Fits in one request
Llama 3.1 70B Instruct$0.0008Fits in one request

GPT-4o-mini costs less

Repository review

50K input + 3K output tokens

GPT-4o-mini$0.0093Fits in one request
Llama 3.1 70B Instruct$0.030Fits in one request

GPT-4o-mini costs less

Agent loop

200K input + 10K output tokens

GPT-4o-mini$0.036Exceeds the context window
Llama 3.1 70B Instruct$0.118Exceeds the context window

GPT-4o-mini 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 and Llama 3.1 70B Instruct
SpecificationOpenAI GPT-4o-miniMeta 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 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 for work measured by Humanity's Last Exam (Artificial Analysis run) or MMLU Pro (Artificial Analysis run), where it leads.

Which is cheaper, GPT-4o-mini or Llama 3.1 70B Instruct?

GPT-4o-mini 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 or Llama 3.1 70B Instruct?

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

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

12 benchmarks have a result for both models as of October 21, 2026. GPT-4o-mini'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