Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

GPT-5.2-Codex vs GPT-5.4

OpenAI · released

Wins 1 of 8 areas

Agents

OpenAI · released

Wins 4 of 8 areas

Coding · Reasoning · Images and charts · Math

GPT-5.4 wins more areas, narrowly.GPT-5.2-Codex is cheaper and better at agents.

Scores updated · 27 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.

GPT-5.2-Codex$1.75 to read · $14.00 to write$16Price from Artificial Analysis
GPT-5.4$2.50 to read · $15.00 to write$18Price from Artificial Analysis

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

  • Hard command-line tasks in a real terminalTerminal-Bench Hard+20.5points aheadGPT-5.457.6GPT-5.2-Codex37.1
  • Research-level physics problemsCritPt+14.7points aheadGPT-5.423.4GPT-5.2-Codex8.7
  • Fresh logic puzzles that change regularlyLiveBench · Reasoning+10.4points aheadGPT-5.488.1GPT-5.2-Codex77.7

Where GPT-5.2-Codex pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+18.3points aheadGPT-5.2-Codex26.6GPT-5.48.3
  • Programming problems, refreshed regularlyLiveBench · Coding+6.1points aheadGPT-5.2-Codex83.6GPT-5.477.5
  • Follows unfamiliar, precisely checkable instructionsIFBench+3.7points aheadGPT-5.2-Codex77.6GPT-5.473.9

Every test, side by side

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

CodingGPT-5.4

Full coding ranking

AgentsGPT-5.2-Codex
  • GDPValGPT-5.2-Codex by 2.139.437.3+2.1

Full agents ranking

ReasoningGPT-5.4

Full reasoning ranking

FactsEven

Full facts ranking

Images and chartsGPT-5.4

Full images and charts ranking

MathGPT-5.4

Full math ranking

Long documentsEven

Full long documents ranking

Following instructionsEven

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, GPT-5.2-Codex or GPT-5.4?

GPT-5.4 wins four of the eight areas we test: coding, reasoning, images and charts and math. GPT-5.2-Codex wins agents, and costs 10% less. They are level on facts, long documents and following instructions.

Which is better for coding?

GPT-5.4. It wins 5 of the 6 coding tests both models report; GPT-5.2-Codex wins 1.

Which is cheaper?

GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens; GPT-5.4 costs $2.50 and $15.00. That makes GPT-5.2-Codex about 10% cheaper for the same work.

How do you compare the two?

We use the 27 benchmark tests both models have published scores on. The verdict counts the 18 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.