Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Haiku 4.5 vs GPT-5.1 Codex mini

Anthropic · released

Wins 1 of 7 areas

Long documents

OpenAI · released

Wins 4 of 7 areas

Agents · Reasoning · Images and charts · Following instructions

GPT-5.1 Codex mini wins more areas, narrowly.Claude Haiku 4.5 is better at long documents.

Scores updated · 18 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Claude Haiku 4.5$1.00 to read · $5.00 to write$6.00Price from Anthropic's own price page
GPT-5.1 Codex mini$0.25 to read · $2.00 to write$2.25Price from Artificial Analysis

GPT-5.1 Codex mini costs 63% less for the same work.

The biggest differences

The tests each model wins by the widest margin, up to three each. Scores are out of 100.

Where GPT-5.1 Codex mini pulls ahead

  • Real work tasks from 44 professionsGDPVal+15.9points aheadGPT-5.1 Codex mini27.7Claude Haiku 4.511.8
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+14.1points aheadGPT-5.1 Codex mini81.3Claude Haiku 4.567.2
  • Follows unfamiliar, precisely checkable instructionsIFBench+13.6points aheadGPT-5.1 Codex mini67.9Claude Haiku 4.554.3

Where Claude Haiku 4.5 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+24.3points aheadClaude Haiku 4.572.7GPT-5.1 Codex mini48.4
  • Reasons across sets of long documentsAA-LCR+7.6points aheadClaude Haiku 4.574.3GPT-5.1 Codex mini66.7

Every test, side by side

All 18 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingEven

Full coding ranking

AgentsGPT-5.1 Codex mini
  • GDPValGPT-5.1 Codex mini by 15.911.827.7+15.9

Full agents ranking

ReasoningGPT-5.1 Codex mini

Full reasoning ranking

FactsEven

Full facts ranking

Images and chartsGPT-5.1 Codex mini
  • MMMU-ProGPT-5.1 Codex mini by 10.458.669+10.4

Full images and charts ranking

Long documentsClaude Haiku 4.5
  • AA-LCRClaude Haiku 4.5 by 7.674.366.7+7.6

Full long documents ranking

Following instructionsGPT-5.1 Codex mini
  • IFBenchGPT-5.1 Codex mini by 13.654.367.9+13.6

Full following instructions ranking

Other results6 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Claude Haiku 4.5 or GPT-5.1 Codex mini?

GPT-5.1 Codex mini wins four of the seven areas where both have results: agents, reasoning, images and charts and following instructions. Claude Haiku 4.5 wins long documents. They are level on coding and facts.

Which is better for coding?

Neither. They win 1 coding test each of the 3 both models report, and 1 is a tie.

Which is cheaper?

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. That makes GPT-5.1 Codex mini about 63% cheaper for the same work.

How do you compare the two?

We use the 18 benchmark tests both models have published scores on. The verdict counts the 12 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 6 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.