Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4.5 vs GPT-5 nano

Anthropic · released

Wins 7 of 8 areas

Coding · Agents · Reasoning · Facts · Images and charts · Math · Long documents

OpenAI · released

Wins 1 of 8 areas

Following instructions

Claude Sonnet 4.5 is the stronger all-rounder.GPT-5 nano is cheaper and better at following instructions.

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 Sonnet 4.5$3.00 to read · $15.00 to write$18Price from Artificial Analysis
GPT-5 nano$0.05 to read · $0.40 to write$0.45Price from Artificial Analysis

GPT-5 nano costs 98% 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.5 pulls ahead

  • Fixes real GitHub issues in Python projectsSWE-bench Verified+42.4points aheadClaude Sonnet 4.577.2GPT-5 nano34.8
  • Reasons across sets of long documentsAA-LCR+27.3points aheadClaude Sonnet 4.572.3GPT-5 nano45
  • Hard command-line tasks in a real terminalTerminal-Bench Hard+23.5points aheadClaude Sonnet 4.535.6GPT-5 nano12.1

Where GPT-5 nano pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+10.3points aheadGPT-5 nano67.6Claude Sonnet 4.557.3

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 Sonnet 4.5

Full coding ranking

AgentsClaude Sonnet 4.5
  • GDPValClaude Sonnet 4.5 by 7.720.512.8+7.7

Full agents ranking

ReasoningClaude Sonnet 4.5

Full reasoning ranking

FactsClaude Sonnet 4.5

Full facts ranking

Images and chartsClaude Sonnet 4.5
  • MMMU-ProClaude Sonnet 4.5 by 7.768.761+7.7

Full images and charts ranking

MathClaude Sonnet 4.5

Full math ranking

Long documentsClaude Sonnet 4.5
  • AA-LCRClaude Sonnet 4.5 by 27.372.345+27.3

Full long documents ranking

Following instructionsGPT-5 nano
  • IFBenchGPT-5 nano by 10.357.367.6+10.3

Full following instructions ranking

Other results20 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.5 or GPT-5 nano?

Claude Sonnet 4.5 wins seven of the eight areas we test: coding, agents, reasoning, facts, images and charts, math and long documents. GPT-5 nano wins following instructions, and costs 98% less.

Which is better for coding?

Claude Sonnet 4.5. It wins 3 of the 3 coding tests both models report; GPT-5 nano wins none.

Which is cheaper?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5 nano costs $0.05 and $0.40. That makes GPT-5 nano about 98% 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 17 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 20 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.