Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex-Mini vs Llama 3.1 70B Instruct

GPT-5.1-Codex-Mini leads Llama 3.1 70B Instruct on the Artificial Analysis Intelligence Index, 20.4 to 6.6, and Llama 3.1 70B Instruct costs 3.6x less per output token ($0.56 vs $2.00 per million). Updated October 21, 2026; 10 benchmarks have a result for both.

GPT-5.1-Codex-MiniOpenAI
Coding
No data
Overall
No data
Output $/M
$2.00
10
Llama 3.1 70B InstructMeta Llama
Coding
No data
Overall
24.3
Output $/M
$0.56
0
vs boards won of 10 shared

GPT-5.1-Codex-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-5.1-Codex-Mini for a larger context window (400K against 131K tokens).

Shared results
10
GPT-5.1-Codex-Mini only
12
Llama 3.1 70B Instruct only
37
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
GPT-5.1-Codex-Mini not benchmarked, Llama 3.1 70B Instruct not benchmarked.
Widest category
Math, 87.7 points apart on average over 2 shared benchmarks.
Widest single gap
AA Math Index: GPT-5.1-Codex-Mini 91.7 against Llama 3.1 70B Instruct 4.0, 87.7 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex-Mini $2.00 against Llama 3.1 70B Instruct $0.56 per million output tokens, 3.6x apart.
Context window
GPT-5.1-Codex-Mini takes 400K 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-5.1-Codex-MiniBarsLlama 3.1 70B InstructTies
Coding20
Intelligence10
Agentic work10
Reasoning20
Math20
Knowledge10
General10
All shared boards100
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
LMArena WebDev1244Not measuredOnly GPT-5.1-Codex-Mini measured
LiveCodeBench (Artificial Analysis run)83.6%23.2%GPT-5.1-Codex-Mini
Terminal-Bench Hard (Artificial Analysis run)33.3%3.0%GPT-5.1-Codex-Mini
Terminal-Bench61.6%Not measuredOnly GPT-5.1-Codex-Mini 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
LMArena WebDev: HTML1253Not measuredOnly GPT-5.1-Codex-Mini measured
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
AA Intelligence Index20.46.6GPT-5.1-Codex-Mini
Epoch Capabilities IndexNot measured125.9Only Llama 3.1 70B Instruct measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
τ²-Bench Telecom62.9%15.2%GPT-5.1-Codex-Mini
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 index20
Reasoning benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
GPQA Diamond (Artificial Analysis run)81.3%40.9%GPT-5.1-Codex-Mini
Humanity's Last Exam (Artificial Analysis run)18.5%4.5%GPT-5.1-Codex-Mini
GPQA Diamond (Epoch AI run)Not measured44.2%Only Llama 3.1 70B Instruct 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
Neither model has a result on the other 16 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
AA Math Index91.74.0GPT-5.1-Codex-Mini
AIME 2025 (Artificial Analysis run)91.7%4.0%GPT-5.1-Codex-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
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 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
MMLU Pro (Artificial Analysis run)82.0%67.6%GPT-5.1-Codex-Mini
MMLUNot measured80.1%Only Llama 3.1 70B Instruct measured
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 12 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
Design Arena: websites1111Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: UI components1081Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: game dev1092Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: data viz1097Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: 3D988Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: all code categories1094Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: SVG978Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: ASCII art1105Not measuredOnly GPT-5.1-Codex-Mini measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for GPT-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-MiniLlama 3.1 70B InstructLeader
IFBench67.9%34.4%GPT-5.1-Codex-Mini
Long context reasoning (AA-LCR)66.7%Not measuredOnly GPT-5.1-Codex-Mini measured
DTBenchNot measured60.0%Only Llama 3.1 70B Instruct measured
LMCANot measured14.8%Only Llama 3.1 70B Instruct 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-5.1-Codex-Mini and Llama 3.1 70B Instruct
BenchmarkGPT-5.1-Codex-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-5.1-Codex-Mini$0.0013Fits 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

GPT-5.1-Codex-Mini$0.018Fits in one request
Llama 3.1 70B Instruct$0.030Fits in one request

GPT-5.1-Codex-Mini costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex-Mini$0.070Fits in one request
Llama 3.1 70B Instruct$0.118Exceeds the context window

GPT-5.1-Codex-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-5.1-Codex-Mini and Llama 3.1 70B Instruct
SpecificationOpenAI GPT-5.1-Codex-MiniMeta Llama 3.1 70B Instruct
MakerOpenAIMeta Llama
WeightsNo public weights listedOpen weights
ReleasedNovember 13, 2025July 23, 2024
Context window400K131K
Input $/Mtok$0.25$0.56
Output $/Mtok$2.00$0.56
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it10
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1-Codex-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-5.1-Codex-Mini for a larger context window (400K against 131K tokens).

Which is cheaper, GPT-5.1-Codex-Mini or Llama 3.1 70B Instruct?

GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 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-5.1-Codex-Mini or Llama 3.1 70B Instruct?

GPT-5.1-Codex-Mini, with 400K tokens against 131K.

How many benchmarks is the GPT-5.1-Codex-Mini vs Llama 3.1 70B Instruct comparison based on?

10 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex-Mini's coding index rests on 1 independent benchmark 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