Enter opens the highlighted result. Esc closes.

Claude Haiku 4.5 vs GPT-5.1-Codex-Mini

Updated October 21, 2026. 12 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Claude Haiku 4.5Anthropic
Coding
49.8
Overall
16.9
Output $/M
$5.00
10
GPT-5.1-Codex-MiniOpenAI
Coding
6.2
Overall
20.4
Output $/M
$2.00
2
vs boards won of 12 shared

Decision reading

Pick Claude Haiku 4.5 for coding: it scores 49.8 on the Vibe Coding Index against 6.2 for GPT-5.1-Codex-Mini.

Pick GPT-5.1-Codex-Mini when output tokens cost 2.5x less, or when the context window is larger, 400K against 200K tokens.

Shared results
12
Claude Haiku 4.5 only
82
GPT-5.1-Codex-Mini only
10
Like-for-like categories
3 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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
Claude Haiku 4.5 49.8 from 3 benchmarks, GPT-5.1-Codex-Mini 6.2 from 1 benchmark.
Widest category
Coding, 16.4 points apart on average over 3 shared benchmarks.
Widest single gap
Terminal-Bench: Claude Haiku 4.5 35.5% against GPT-5.1-Codex-Mini 61.6%, 26.1 points apart on a 0 to 100 scale.
Output price
Claude Haiku 4.5 $5.00 against GPT-5.1-Codex-Mini $2.00 per million output tokens, 2.5x apart.
Context window
Claude Haiku 4.5 takes 200K tokens, GPT-5.1-Codex-Mini 400K.

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
CategoryClaude Haiku 4.5BarsGPT-5.1-Codex-MiniTies
Coding21
Intelligence01
Web design80
All shared boards102
CodingLike-for-likeFour of these boards feed the Vibe Coding Index21
Coding benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
SWE-bench Verified66.6%Not measuredOnly Claude Haiku 4.5 measured
SWE-bench Multilingual64.7%Not measuredOnly Claude Haiku 4.5 measured
LiveBench coding48.1%Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev13301244Claude Haiku 4.5
AA Coding Index43.9Not measuredOnly Claude Haiku 4.5 measured
LiveCodeBench (Vals AI)41.2%Not measuredOnly Claude Haiku 4.5 measured
SWE-bench Verified (Vals AI)66.6%Not measuredOnly Claude Haiku 4.5 measured
Vibe Code Bench (Vals AI)11.4%Not measuredOnly Claude Haiku 4.5 measured
Code migration (Vals AI)7.5%Not measuredOnly Claude Haiku 4.5 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Claude Haiku 4.5 measured
Terminal-Bench 2.1 (Vals AI)43.8%Not measuredOnly Claude Haiku 4.5 measured
LiveCodeBench (Artificial Analysis run)Not measured83.6%Only GPT-5.1-Codex-Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured33.3%Only GPT-5.1-Codex-Mini measured
Terminal-Bench35.5%61.6%GPT-5.1-Codex-Mini
WeirdML45.4%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: coding1454Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: software and IT1439Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev: React1326Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev: HTML13181253Claude Haiku 4.5
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
AA Intelligence Index16.920.4GPT-5.1-Codex-Mini
Epoch Capabilities Index142.2Not measuredOnly Claude Haiku 4.5 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Agentic work benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
AA Agentic Index8.0Not measuredOnly Claude Haiku 4.5 measured
LiveBench research42.2%Not measuredOnly Claude Haiku 4.5 measured
LiveBench browser40.0%Not measuredOnly Claude Haiku 4.5 measured
LiveBench long agentic11.1%Not measuredOnly Claude Haiku 4.5 measured
Finance Agent (Vals AI)31.0%Not measuredOnly Claude Haiku 4.5 measured
Tax Agent Bench (Vals AI)5.9%Not measuredOnly Claude Haiku 4.5 measured
Legal Research Bench (Vals AI)10.6%Not measuredOnly Claude Haiku 4.5 measured
Excel Modeling Benchmark (Vals AI)22.7%Not measuredOnly Claude Haiku 4.5 measured
τ²-Bench TelecomNot measured62.9%Only GPT-5.1-Codex-Mini measured
BALROG31.2%Not measuredOnly Claude Haiku 4.5 measured
DeepResearch Bench45.5%Not measuredOnly Claude Haiku 4.5 measured
Vending-Bench 2$459Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 27 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Reasoning benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
GPQA Diamond72.2%Not measuredOnly Claude Haiku 4.5 measured
LiveBench reasoning61.7%Not measuredOnly Claude Haiku 4.5 measured
MMMU Pro (Vals AI)46.1%Not measuredOnly Claude Haiku 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured81.3%Only GPT-5.1-Codex-Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured18.5%Only GPT-5.1-Codex-Mini measured
GPQA Diamond (Epoch AI run)71.2%Not measuredOnly Claude Haiku 4.5 measured
ARC-AGI47.7%Not measuredOnly Claude Haiku 4.5 measured
ARC-AGI-24.0%Not measuredOnly Claude Haiku 4.5 measured
Chess puzzles8.0%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: hard prompts1421Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: expert1443Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: hard prompts in English1435Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 9 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Math benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
AIME82.7%Not measuredOnly Claude Haiku 4.5 measured
MGSM (Vals AI)92.2%Not measuredOnly Claude Haiku 4.5 measured
AA Math IndexNot measured91.7Only GPT-5.1-Codex-Mini measured
AIME 2025 (Artificial Analysis run)Not measured91.7%Only GPT-5.1-Codex-Mini measured
OTIS Mock AIME66.7%Not measuredOnly Claude Haiku 4.5 measured
MATH level 596.4%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: math1398Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: mathematical work1430Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 5 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
Knowledge benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
MMLU Pro78.7%Not measuredOnly Claude Haiku 4.5 measured
LegalBench (Vals AI)81.2%Not measuredOnly Claude Haiku 4.5 measured
CaseLaw (Vals AI)56.5%Not measuredOnly Claude Haiku 4.5 measured
CorpFin (Vals AI)60.6%Not measuredOnly Claude Haiku 4.5 measured
TaxEval (Vals AI)67.5%Not measuredOnly Claude Haiku 4.5 measured
MortgageTax (Vals AI)62.2%Not measuredOnly Claude Haiku 4.5 measured
MedQA (Vals AI)79.6%Not measuredOnly Claude Haiku 4.5 measured
MedCode (Vals AI)32.7%Not measuredOnly Claude Haiku 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured82.0%Only GPT-5.1-Codex-Mini measured
SimpleQA Verified13.2%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: science1406Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: medicine and healthcare1394Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: legal and government1400Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: business and finance1400Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
Design Arena: websites11221111Claude Haiku 4.5
Design Arena: UI components11001081Claude Haiku 4.5
Design Arena: game dev10971093Claude Haiku 4.5
Design Arena: data viz11241097Claude Haiku 4.5
Design Arena: 3D1072988Claude Haiku 4.5
Design Arena: all code categories11151094Claude Haiku 4.5
Design Arena: SVG1025977Claude Haiku 4.5
Design Arena: ASCII art11391104Claude Haiku 4.5
LiveBench design59.9%Not measuredOnly Claude Haiku 4.5 measured
GeneralDirectional onlyPublic boards, shown as published, kept out of the index28 boards, none shared
General benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
LiveBench data analysis59.3%Not measuredOnly Claude Haiku 4.5 measured
Public Benefits Bench (Vals AI)54.3%Not measuredOnly Claude Haiku 4.5 measured
SAGE (Vals AI)31.8%Not measuredOnly Claude Haiku 4.5 measured
MedScribe (Vals AI)85.2%Not measuredOnly Claude Haiku 4.5 measured
Vals Multimodal Index42.9%Not measuredOnly Claude Haiku 4.5 measured
IFBenchNot measured67.9%Only GPT-5.1-Codex-Mini measured
Long context reasoning (AA-LCR)Not measured66.7%Only GPT-5.1-Codex-Mini measured
DTBench73.6%Not measuredOnly Claude Haiku 4.5 measured
LMCA30.9%Not measuredOnly Claude Haiku 4.5 measured
ExploitBench13.7%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text1397Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: instruction following1414Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: creative writing1371Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: English1414Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: non-English1377Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: Chinese1418Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: German1374Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: Japanese1338Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: Korean1346Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: French1411Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: Spanish1421Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: Russian1381Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: Polish1343Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: multi-turn1409Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: longer queries1427Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: writing and language1386Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: entertainment and media1369Not measuredOnly Claude Haiku 4.5 measured
LMArena Document1420Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 18 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Haiku 4.5 and GPT-5.1-Codex-Mini
BenchmarkClaude Haiku 4.5GPT-5.1-Codex-MiniLeader
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

Claude Haiku 4.5$0.0035Fits in one request
GPT-5.1-Codex-Mini$0.0013Fits in one request

GPT-5.1-Codex-Mini costs less

Repository review

50K input + 3K output tokens

Claude Haiku 4.5$0.065Fits in one request
GPT-5.1-Codex-Mini$0.018Fits in one request

GPT-5.1-Codex-Mini costs less

Agent loop

200K input + 10K output tokens

Claude Haiku 4.5$0.250Exceeds the context window
GPT-5.1-Codex-Mini$0.070Fits in one request

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 Claude Haiku 4.5 and GPT-5.1-Codex-Mini
SpecificationAnthropic Claude Haiku 4.5OpenAI GPT-5.1-Codex-Mini
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedOctober 15, 2025November 13, 2025
Context window200K400K
Input $/Mtok$1.00$0.25
Output $/Mtok$5.00$2.00
Coding index49.86.2
Independent measurements behind it31
Cost per solved task$0.56Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Haiku 4.5 better than GPT-5.1-Codex-Mini for coding?

Pick Claude Haiku 4.5 for coding: it scores 49.8 on the Vibe Coding Index against 6.2 for GPT-5.1-Codex-Mini. Pick GPT-5.1-Codex-Mini when output tokens cost 2.5x less, or when the context window is larger, 400K against 200K tokens.

Which is cheaper, Claude Haiku 4.5 or GPT-5.1-Codex-Mini?

Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GPT-5.1-Codex-Mini costs $0.25 and $2.00. Cost per solved task is known for Claude Haiku 4.5 only.

Which has the bigger context window, Claude Haiku 4.5 or GPT-5.1-Codex-Mini?

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

How many benchmarks is the Claude Haiku 4.5 vs GPT-5.1-Codex-Mini comparison based on?

12 benchmarks have a result for both models as of October 21, 2026. Claude Haiku 4.5's coding index rests on 3 independent benchmarks and GPT-5.1-Codex-Mini's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next