Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 5 vs GPT-5.2

Anthropic · released

Wins 5 of 8 areas

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

OpenAI · released

Wins 3 of 8 areas

Facts · Math · Long documents

Claude Sonnet 5 is the stronger all-rounder.GPT-5.2 is better at math.

Scores updated · 36 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 Sonnet 5$2.00 to read · $10.00 to write$12Price from Anthropic's own price page
GPT-5.2$1.75 to read · $14.00 to write$16Price from Artificial Analysis

Claude Sonnet 5 costs 24% less for the same work.

The biggest differences

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

Where Claude Sonnet 5 pulls ahead

Where GPT-5.2 pulls ahead

  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+4.2points aheadGPT-5.244.3Claude Sonnet 540
  • Short factual questions, answered correctlySimpleQA Verified+3.4points aheadGPT-5.237.1Claude Sonnet 533.7
  • Extremely hard research-level math problemsFrontierMath Tier 4+2.4points aheadGPT-5.231.7Claude Sonnet 529.3

Every test, side by side

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

CodingClaude Sonnet 5

Full coding ranking

AgentsClaude Sonnet 5

Full agents ranking

ReasoningClaude Sonnet 5

Full reasoning ranking

FactsGPT-5.2

Full facts ranking

Images and chartsClaude Sonnet 5

Full images and charts ranking

MathGPT-5.2

Full math ranking

Long documentsGPT-5.2

Full long documents ranking

Following instructionsClaude Sonnet 5

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 Sonnet 5 or GPT-5.2?

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

Which is better for coding?

Claude Sonnet 5. It wins 7 of the 7 coding tests both models report; GPT-5.2 wins none.

Which is cheaper?

Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; GPT-5.2 costs $1.75 and $14.00. That makes Claude Sonnet 5 about 24% cheaper for the same work.

How do you compare the two?

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