Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude 3.7 Sonnet vs GPT-4o

Anthropic · released

Wins 5 of 7 areas

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

OpenAI · released

Wins 1 of 7 areas

Long documents

Claude 3.7 Sonnet is the stronger all-rounder.GPT-4o is cheaper and better at long documents.

Scores updated · 37 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 3.7 Sonnet$3.00 to read · $15.00 to write$18Price from Artificial Analysis
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 3.7 Sonnet pulls ahead

  • Fixes real GitHub issues in Python projectsSWE-bench Verified+37.1points aheadClaude 3.7 Sonnet70.3GPT-4o33.2
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+24.6points aheadClaude 3.7 Sonnet77.2GPT-4o52.6
  • Hard command-line tasks in a real terminalTerminal-Bench Hard+12.9points aheadClaude 3.7 Sonnet21.2GPT-4o8.3

Where GPT-4o pulls ahead

  • Reasons across sets of long documentsAA-LCR+4.3points aheadGPT-4o56Claude 3.7 Sonnet51.7
  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+2.1points aheadGPT-4o62.1Claude 3.7 Sonnet60

Every test, side by side

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

CodingClaude 3.7 Sonnet

Full coding ranking

AgentsClaude 3.7 Sonnet
  • GDPValClaude 3.7 Sonnet by 27.427.40+27.4

Full agents ranking

ReasoningClaude 3.7 Sonnet

Full reasoning ranking

FactsEven

Full facts ranking

Images and chartsClaude 3.7 Sonnet
  • LMArena · VisionClaude 3.7 Sonnet by 104 rating points11691065+104 rating
  • MMMU-ProClaude 3.7 Sonnet by 3.860.156.3+3.8
  • MMMUClaude 3.7 Sonnet by 2.87572.2+2.8

Full images and charts ranking

Long documentsGPT-4o

Full long documents ranking

Following instructionsClaude 3.7 Sonnet

Full following instructions ranking

Other results22 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 3.7 Sonnet or GPT-4o?

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

Which is better for coding?

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

Which is cheaper?

Claude 3.7 Sonnet 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 37 benchmark tests both models have published scores on. The verdict counts the 15 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 22 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.