Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex vs Llama 4 Maverick

GPT-5.1-Codex leads Llama 4 Maverick on the Artificial Analysis Intelligence Index, 23.7 to 9.3, and Llama 4 Maverick costs 10.0x less per output token ($1.00 vs $10.00 per million). Updated October 22, 2026; 19 benchmarks have a result for both.

GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
19
Llama 4 MaverickMeta Llama
Coding
No data
Overall
21.8
Output $/M
$1.00
0
vs boards won of 19 shared

GPT-5.1-Codex or Llama 4 Maverick: which to pick

Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; Llama 4 Maverick has none, so the two cannot be ranked on coding.

Pick Llama 4 Maverick for output tokens 10.0x cheaper ($1.00 vs $10.00 per million) and a larger context window (524K against 400K tokens).

Shared results
19
GPT-5.1-Codex only
7
Llama 4 Maverick only
66
Like-for-like categories
8 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 15.3 from 2 benchmarks, Llama 4 Maverick not benchmarked.
Widest category
Math, 76.4 points apart on average over 2 shared benchmarks.
Widest single gap
AA Math Index: GPT-5.1-Codex 95.7 against Llama 4 Maverick 19.3, 76.4 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex $10.00 against Llama 4 Maverick $1.00 per million output tokens, 10.0x apart.
Context window
GPT-5.1-Codex takes 400K 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
CategoryGPT-5.1-CodexBarsLlama 4 MaverickTies
Coding50
Intelligence10
Agentic work10
Reasoning20
Math20
Knowledge10
Web design50
General20
All shared boards190
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 4 MaverickLeader
Aider polyglotNot measured15.6%Only Llama 4 Maverick measured
SWE-bench Verified66.0%21.0%GPT-5.1-Codex
LMArena WebDev1337Not measuredOnly GPT-5.1-Codex measured
AA Coding IndexNot measured16.3Only Llama 4 Maverick measured
LiveCodeBench (Vals AI)85.5%47.3%GPT-5.1-Codex
Vibe Code Bench (Vals AI)13.1%Not measuredOnly GPT-5.1-Codex measured
LiveCodeBench (Artificial Analysis run)84.9%39.7%GPT-5.1-Codex
SciCodeNot measured31.7%Only Llama 4 Maverick measured
Terminal-Bench Hard (Artificial Analysis run)34.8%6.8%GPT-5.1-Codex
Terminal-Bench57.8%Not measuredOnly GPT-5.1-Codex measured
WeirdMLNot measured24.5%Only Llama 4 Maverick measured
ALE-Bench1244.9173.0GPT-5.1-Codex
LMArena Text: codingNot measured1301Only Llama 4 Maverick measured
LMArena Text: software and ITNot measured1299Only Llama 4 Maverick measured
LMArena WebDev: HTML1346Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 4 MaverickLeader
AA Intelligence Index23.79.3GPT-5.1-Codex
Epoch Capabilities IndexNot measured132.2Only Llama 4 Maverick measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 4 MaverickLeader
AA Agentic IndexNot measured0.6Only Llama 4 Maverick measured
Design Arena: agents building web apps1018Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building full-stack apps1086Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building mobile apps1191Not measuredOnly GPT-5.1-Codex measured
τ²-Bench Telecom83.0%17.8%GPT-5.1-Codex
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 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)86.0%67.1%GPT-5.1-Codex
Humanity's Last Exam (Artificial Analysis run)25.7%4.9%GPT-5.1-Codex
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 promptsNot measured1281Only Llama 4 Maverick measured
LMArena Text: expertNot measured1259Only Llama 4 Maverick measured
LMArena Text: hard prompts in EnglishNot measured1295Only Llama 4 Maverick measured
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 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 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 Index95.719.3GPT-5.1-Codex
AIME 2025 (Artificial Analysis run)95.7%19.3%GPT-5.1-Codex
LMArena Text: mathNot measured1299Only Llama 4 Maverick measured
LMArena Text: mathematical workNot measured1295Only Llama 4 Maverick measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 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)86.0%80.9%GPT-5.1-Codex
GeoBenchNot measured52.0%Only Llama 4 Maverick measured
LMArena Text: scienceNot measured1288Only Llama 4 Maverick measured
LMArena Text: medicine and healthcareNot measured1275Only Llama 4 Maverick measured
LMArena Text: legal and governmentNot measured1286Only Llama 4 Maverick measured
LMArena Text: business and financeNot measured1260Only Llama 4 Maverick measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index50
Web design benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 4 MaverickLeader
Design Arena: websites1161871GPT-5.1-Codex
Design Arena: UI components1234896GPT-5.1-Codex
Design Arena: game dev1137837GPT-5.1-Codex
Design Arena: data viz1213882GPT-5.1-Codex
Design Arena: 3DNot measured900Only Llama 4 Maverick measured
Design Arena: all code categories1152879GPT-5.1-Codex
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
General benchmarks for GPT-5.1-Codex and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 4 MaverickLeader
SAGE (Vals AI)Not measured35.7%Only Llama 4 Maverick measured
MedScribe (Vals AI)Not measured54.2%Only Llama 4 Maverick measured
IFBench70.0%43.0%GPT-5.1-Codex
Long context reasoning (AA-LCR)69.3%50.0%GPT-5.1-Codex
DTBenchNot measured61.9%Only Llama 4 Maverick measured
LMCANot measured15.9%Only Llama 4 Maverick measured
Fiction.LiveBenchNot measured46.2%Only Llama 4 Maverick measured
Creative writing (Lech Mazur)Not measured62.0%Only Llama 4 Maverick measured
LMArena TextNot measured1287Only Llama 4 Maverick measured
LMArena Text: instruction followingNot measured1267Only Llama 4 Maverick measured
LMArena Text: creative writingNot measured1266Only Llama 4 Maverick measured
LMArena VisionNot measured1142Only Llama 4 Maverick measured
LMArena Text: EnglishNot measured1303Only Llama 4 Maverick measured
LMArena Text: non-EnglishNot measured1269Only Llama 4 Maverick measured
LMArena Text: ChineseNot measured1277Only Llama 4 Maverick measured
LMArena Text: GermanNot measured1291Only Llama 4 Maverick measured
LMArena Text: JapaneseNot measured1206Only Llama 4 Maverick measured
LMArena Text: KoreanNot measured1203Only Llama 4 Maverick measured
LMArena Text: FrenchNot measured1259Only Llama 4 Maverick measured
LMArena Text: SpanishNot measured1293Only Llama 4 Maverick measured
LMArena Text: RussianNot measured1286Only Llama 4 Maverick measured
LMArena Text: PolishNot measured1275Only Llama 4 Maverick measured
LMArena Text: multi-turnNot measured1289Only Llama 4 Maverick measured
LMArena Text: longer queriesNot measured1280Only Llama 4 Maverick measured
LMArena Text: writing and languageNot measured1277Only Llama 4 Maverick measured
LMArena Text: entertainment and mediaNot measured1250Only Llama 4 Maverick measured
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 15 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 and Llama 4 Maverick
BenchmarkGPT-5.1-CodexLlama 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

GPT-5.1-Codex$0.0063Fits in one request
Llama 4 Maverick$0.0008Fits in one request

Llama 4 Maverick costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
Llama 4 Maverick$0.021Fits in one request

Llama 4 Maverick costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
Llama 4 Maverick$0.080Fits in one request

Llama 4 Maverick 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 and Llama 4 Maverick
SpecificationOpenAI GPT-5.1-CodexMeta Llama 4 Maverick
MakerOpenAIMeta Llama
WeightsNo public weights listedOpen weights
ReleasedNovember 13, 2025April 5, 2025
Context window400K524K
Input $/Mtok$1.25$0.35
Output $/Mtok$10.00$1.00
Coding index15.3Not benchmarked
Independent measurements behind it20
Cost per solved task$0.892$1.491
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1-Codex better than Llama 4 Maverick for coding?

Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; Llama 4 Maverick has none, so the two cannot be ranked on coding. Pick Llama 4 Maverick for output tokens 10.0x cheaper ($1.00 vs $10.00 per million) and a larger context window (524K against 400K tokens).

Which is cheaper, GPT-5.1-Codex or Llama 4 Maverick?

GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; Llama 4 Maverick costs $0.35 and $1.00. Per solved SWE-bench Verified task, GPT-5.1-Codex costs $0.892 and Llama 4 Maverick $1.491.

Which has the bigger context window, GPT-5.1-Codex or Llama 4 Maverick?

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

How many benchmarks is the GPT-5.1-Codex vs Llama 4 Maverick comparison based on?

19 benchmarks have a result for both models as of October 22, 2026. GPT-5.1-Codex's coding index rests on 2 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