Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs GPT-5

Anthropic · released

Wins 1 of 7 areas

Facts

OpenAI · released

Wins 6 of 7 areas

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

GPT-5 is the stronger all-rounder.Claude Sonnet 4 is better at facts.

Scores updated · 56 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 4$3.00 to read · $15.00 to write$18Price from anthropic
GPT-5$1.25 to read · $10.00 to write$11Price from Artificial Analysis

GPT-5 costs 38% 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 pulls ahead

  • Finds hard-to-locate facts by browsing the webBrowseComp+42.7points aheadGPT-554.9Claude Sonnet 412.2
  • Recent programming contest problemsLiveCodeBench v6+38.5points aheadGPT-587Claude Sonnet 448.5
  • Follows unfamiliar, precisely checkable instructionsIFBench+18.4points aheadGPT-573.1Claude Sonnet 454.7

Where Claude Sonnet 4 pulls ahead

Every test, side by side

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

CodingGPT-5

Full coding ranking

AgentsGPT-5

Full agents ranking

ReasoningGPT-5

Full reasoning ranking

FactsClaude Sonnet 4

Full facts ranking

Images and chartsGPT-5

Full images and charts ranking

Long documentsGPT-5
  • AA-LCRGPT-5 by 7.970.378.2+7.9

Full long documents ranking

Following instructionsGPT-5

Full following instructions ranking

Other results32 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 4 or GPT-5?

GPT-5 wins six of the seven areas where both have results: coding, agents, reasoning, images and charts, long documents and following instructions. Claude Sonnet 4 wins facts.

Which is better for coding?

GPT-5. It wins 4 of the 7 coding tests both models report; Claude Sonnet 4 wins 2, and 1 is a tie.

Which is cheaper?

Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5 costs $1.25 and $10.00. That makes GPT-5 about 38% cheaper for the same work.

How do you compare the two?

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