Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs GPT-4o

Anthropic · released

Wins 6 of 7 areas

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

OpenAI · released

Wins 0 of 7 areas

—

Claude Sonnet 4 is the stronger all-rounder.GPT-4o is cheaper.

Scores updated · 54 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-4o$2.50 to read · $10.00 to write$13Price from OpenAI's own price page

GPT-4o costs 31% less for the same work.

The biggest differences

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

Where Claude Sonnet 4 pulls ahead

  • Fixes real GitHub issues in Python projectsSWE-bench Verified+39.5points aheadClaude Sonnet 472.7GPT-4o33.2
  • Completes tasks by operating a computer desktopOSWorld-Verified+37.2points aheadClaude Sonnet 442.2GPT-4o5
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+25.1points aheadClaude Sonnet 477.7GPT-4o52.6

Where GPT-4o pulls ahead

Every test, side by side

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

CodingClaude Sonnet 4

Full coding ranking

AgentsClaude Sonnet 4

Full agents ranking

ReasoningClaude Sonnet 4

Full reasoning ranking

FactsEven

Full facts ranking

Images and chartsClaude Sonnet 4
  • LMArena · VisionClaude Sonnet 4 by 126 rating points11911065+126 rating
  • MMMU-ProClaude Sonnet 4 by 5.561.856.3+5.5
  • MMMUClaude Sonnet 4 by 2.274.472.2+2.2

Full images and charts ranking

Long documentsClaude Sonnet 4
  • AA-LCRClaude Sonnet 4 by 14.370.356+14.3

Full long documents ranking

Following instructionsClaude Sonnet 4

Full following instructions ranking

Other results35 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-4o?

Claude Sonnet 4 wins six of the seven areas where both have results: coding, agents, reasoning, images and charts, long documents and following instructions. GPT-4o wins none, but costs 31% less. They are level on facts.

Which is better for coding?

Claude Sonnet 4. It wins 4 of the 4 coding tests both models report; GPT-4o wins none.

Which is cheaper?

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

How do you compare the two?

We use the 54 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 35 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.