Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Opus 4.5 vs GPT-5.2 Codex

Anthropic · released

Wins 3 of 8 areas

Agents · Facts · Math

OpenAI · released

Wins 5 of 8 areas

Coding · Reasoning · Images and charts · Long documents · Following instructions

GPT-5.2 Codex is the stronger all-rounder.Claude Opus 4.5 is better at facts.

Scores updated · 28 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 Opus 4.5$5.00 to read · $25.00 to write$30Price from Anthropic's own price page
GPT-5.2 Codex$1.75 to read · $14.00 to write$16Price from Artificial Analysis

GPT-5.2 Codex costs 48% 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.2 Codex pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+19.6points aheadGPT-5.2 Codex77.6Claude Opus 4.558
  • Fixes real GitHub issues, working as an agentLiveBench · Agentic Coding+9.7points aheadGPT-5.2 Codex49.4Claude Opus 4.539.7
  • Very hard expert questions across many subjectsHumanity's Last Exam+5.6points aheadGPT-5.2 Codex35.7Claude Opus 4.530.1

Where Claude Opus 4.5 pulls ahead

Every test, side by side

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

CodingGPT-5.2 Codex

Full coding ranking

AgentsClaude Opus 4.5
  • GDPValClaude Opus 4.5 by 7.947.339.4+7.9

Full agents ranking

ReasoningGPT-5.2 Codex

Full reasoning ranking

FactsClaude Opus 4.5

Full facts ranking

Images and chartsGPT-5.2 Codex

Full images and charts ranking

MathClaude Opus 4.5

Full math ranking

Long documentsGPT-5.2 Codex
  • AA-LCRGPT-5.2 Codex by 577.382.3+5

Full long documents ranking

Following instructionsGPT-5.2 Codex

Full following instructions ranking

Other results9 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 Opus 4.5 or GPT-5.2 Codex?

GPT-5.2 Codex wins five of the eight areas we test: coding, reasoning, images and charts, long documents and following instructions. Claude Opus 4.5 wins agents, facts and math.

Which is better for coding?

GPT-5.2 Codex. It wins 4 of the 7 coding tests both models report; Claude Opus 4.5 wins 3.

Which is cheaper?

Claude Opus 4.5 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5.2 Codex costs $1.75 and $14.00. That makes GPT-5.2 Codex about 48% cheaper for the same work.

How do you compare the two?

We use the 28 benchmark tests both models have published scores on. The verdict counts the 19 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 9 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.