Model comparison

GPT-5.1-Codex vs Llama 4 Maverick

GPT-5.1-Codex is the stronger model overall, scoring 38.6 to 30.9 on the Noometry Index. Llama 4 Maverick costs 11× less per token, which makes it the better buy when GPT-5.1-Codex's lead doesn't matter for your workload.

Last verified . 2 shared benchmarks.

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

Llama 4 Maverick Meta

30.9

Rank #282 Confirmed

Summary

  • They share 2 benchmarks with published results for both. GPT-5.1-Codex scores higher in 3 categories and Llama 4 Maverick in 0 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in coding, where GPT-5.1-Codex leads 41.9 to 26.6.
  • The biggest single-benchmark swing is SWE-bench Verified (bash only): 66% for GPT-5.1-Codex and 21% for Llama 4 Maverick.
  • Llama 4 Maverick is cheaper at $0.19 / $0.65 per million input/output tokens, against $1.25 / $10 for GPT-5.1-Codex.
  • GPT-5.1-Codex accepts more context: 400K tokens versus 128K.
  • Llama 4 Maverick has downloadable open weights; the other is API-only.

Side by side

GPT-5.1-Codex and Llama 4 Maverick specifications
GPT-5.1-CodexLlama 4 Maverick
ProviderOpenAIMeta
Noometry Index38.630.9
Released2025-11-122025-04-05
WeightsProprietaryOpen
Context window400K128K
Max output128K4K
Input $ / M tokens$1.25$0.19
Output $ / M tokens$10$0.65
Results tracked654

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GPT-5.1-Codex leads

GPT-5.1-Codex: 41.9 (#116), Llama 4 Maverick: 26.6 (#324)

Coding benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
SWE-bench Verified (bash only)66%21%
ALE-Bench1,245172.97
Aider Polyglot—15.6%
LMArena WebDev1337—
SciCode—33.1%
WeirdML—24.5%
BigCodeBench Instruct—49.7%
LMArena Coding—1302
BigCodeBench Complete—61.4%

Agentic & Tool Use GPT-5.1-Codex leads

GPT-5.1-Codex: 38.0 (#33), Llama 4 Maverick: 28.2 (#91)

Agentic & Tool Use benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
Terminal-Bench60.4%—
Berkeley Function Calling Leaderboard—37.3%
METR Time Horizons70.8%—

Reasoning Not comparable

GPT-5.1-Codex: —, Llama 4 Maverick: 10.1 (#342)

Reasoning benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
ARC-AGI-2—0%
SimpleBench—27.7%
Kagi LLM Benchmark—55.9%
NYT Connections (extended)—8%
ARC-AGI-1—4.4%
CritPt—0%
EnigmaEval—0.6%
LMArena Hard Prompts—1281
DTBench—61.9%
LMCA—15.9%
Epoch Capabilities Index—132.2
ForecastBench—57.5

Math GPT-5.1-Codex leads

GPT-5.1-Codex: 30.3 (#235), Llama 4 Maverick: 26.0 (#262)

Math benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
OTIS Mock AIME 2024-2025—20.6%
ProofBench9%—
Omni-MATH—42.2%
LMArena Math—1299
MATH Level 5—73%
FrontierMath (Feb 2025 set)—0.7%

Knowledge Not comparable

GPT-5.1-Codex: —, Llama 4 Maverick: 33.4 (#204)

Knowledge benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
GPQA Diamond—67%
Humanity's Last Exam—5.7%
MMLU-Pro—81%
Confabulations—22.6%
Vectara Hallucination Rate—8.2%
GPQA (HELM)—65%
LMArena Expert—1259

Multimodal Not comparable

GPT-5.1-Codex: —, Llama 4 Maverick: 31.6 (#105)

Multimodal benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
LMArena Vision—1142
GeoBench—52%
SpatialViz-Bench—31.8%

Multilingual Not comparable

GPT-5.1-Codex: —, Llama 4 Maverick: 42.2 (#195)

Multilingual benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
LMArena Non-English—1269
LMArena Chinese—1277
LMArena French—1259
LMArena German—1291
LMArena Japanese—1207
LMArena Korean—1203
LMArena Russian—1286
LMArena Spanish—1293

Instruction Following Not comparable

GPT-5.1-Codex: —, Llama 4 Maverick: 71.7 (#146)

Instruction Following benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
IFEval—90.8%
LMArena Instruction Following—1267

Long Context Not comparable

GPT-5.1-Codex: —, Llama 4 Maverick: 31.4 (#279)

Long Context benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
Fiction.LiveBench—46.2%
LMArena Longer Query—1280

Writing & Preference Not comparable

GPT-5.1-Codex: —, Llama 4 Maverick: 38.8 (#252)

Writing & Preference benchmarks
BenchmarkGPT-5.1-CodexLlama 4 Maverick
LMArena Text—1287
LMArena Creative Writing—1267
Short-Story Creative Writing—62%
EQ-Bench Creative Writing—860
WildBench—80%
LMArena Multi-Turn—1289

Frequently asked questions

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

GPT-5.1-Codex is the stronger model overall, scoring 38.6 to 30.9 on the Noometry Index. Llama 4 Maverick costs 11× less per token, which makes it the better buy when GPT-5.1-Codex's lead doesn't matter for your workload.

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

Llama 4 Maverick is cheaper. It lists at $0.19 per million input tokens and $0.65 per million output tokens; GPT-5.1-Codex lists at $1.25 and $10.

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

GPT-5.1-Codex scores higher on coding benchmarks: 41.9 versus 26.6 in the Noometry coding category.

Which has the bigger context window?

GPT-5.1-Codex does, with 400K tokens against 128K.

How many benchmarks do GPT-5.1-Codex and Llama 4 Maverick share?

2 benchmarks have published results for both models. GPT-5.1-Codex has 6 scored results on Noometry and Llama 4 Maverick has 54.

Related comparisons

Go deeper