Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Haiku 4.5 vs GPT-5 Codex

Anthropic · released

Wins 1 of 7 areas

Long documents

OpenAI · released

Wins 5 of 7 areas

Coding · Agents · Reasoning · Images and charts · Following instructions

GPT-5 Codex is the stronger all-rounder.Claude Haiku 4.5 is cheaper and better at long documents.

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

Where each one wins

Tests won in each of the seven areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.

Agents, images and charts, long documents and following instructions rest on a single test each.

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 Codex$1.25 to read · $10.00 to write$11Price from Artificial Analysis

Claude Haiku 4.5 costs 47% less for the same work.

The biggest differences

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

Where GPT-5 Codex pulls ahead

  • Real work tasks from 44 professionsGDPVal+24points aheadGPT-5 Codex35.8Claude Haiku 4.511.8
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+20.7points aheadGPT-5 Codex38.7Claude Haiku 4.518
  • Follows unfamiliar, precisely checkable instructionsIFBench+19.8points aheadGPT-5 Codex74.1Claude Haiku 4.554.3

Where Claude Haiku 4.5 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+48.1points aheadClaude Haiku 4.572.7GPT-5 Codex24.6
  • Reasons across sets of long documentsAA-LCR+2.6points aheadClaude Haiku 4.574.3GPT-5 Codex71.7
  • Code for real scientific research problemsSciCode+1.3points aheadClaude Haiku 4.542.2GPT-5 Codex40.9

Every test, side by side

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

CodingGPT-5 Codex

Full coding ranking

AgentsGPT-5 Codex
  • GDPValGPT-5 Codex by 2411.835.8+24

Full agents ranking

ReasoningGPT-5 Codex

Full reasoning ranking

FactsEven

Full facts ranking

Images and chartsGPT-5 Codex
  • MMMU-ProGPT-5 Codex by 15.258.673.8+15.2

Full images and charts ranking

Long documentsClaude Haiku 4.5
  • AA-LCRClaude Haiku 4.5 by 2.674.371.7+2.6

Full long documents ranking

Following instructionsGPT-5 Codex
  • IFBenchGPT-5 Codex by 19.854.374.1+19.8

Full following instructions ranking

Other results5 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 Codex?

GPT-5 Codex wins five of the seven areas where both have results: coding, agents, reasoning, images and charts and following instructions. Claude Haiku 4.5 wins long documents, and costs 47% less. They are level on facts.

Which is better for coding?

GPT-5 Codex. It wins 2 of the 3 coding tests both models report; Claude Haiku 4.5 wins 1.

Which is cheaper?

Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GPT-5 Codex costs $1.25 and $10.00. That makes Claude Haiku 4.5 about 47% cheaper for the same work.

How do you compare the two?

We use the 17 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 5 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.