Claude Fable 5$22.000/MClaude Opus 5$11.000/MClaude Opus 4.8$11.000/MClaude Opus 4.7$11.000/MClaude Opus 4.6$11.000/MClaude Opus 4.5$33.000/MClaude Sonnet 3.7$6.600/MClaude Opus 3$33.000/MClaude 2.1$12.800/MClaude 2$12.800/MGPT-5.6 Sol$12.500/MGPT-5.6 Terra$5.000/MGPT-5.5$12.500/MGPT-5.2$5.425/MGPT-5.2-Codex$5.425/MGPT-5$3.875/MGPT-4.5$97.500/MGPT-4 Turbo Preview$16.000/MGPT-4$39.000/MGPT-4-32k$78.000/Mo3$19.000/Mo3-mini$2.090/Mo4-mini$2.090/Mo1$28.500/Mo1-mini$5.700/Mo1-preview$28.500/MGemini 3.5 Pro$5.000/MGemini 3.1 Pro$5.000/MGemini 3 Pro$5.000/MGemini 2.5 Pro$3.875/MClaude Fable 5$22.000/MClaude Opus 5$11.000/MClaude Opus 4.8$11.000/MClaude Opus 4.7$11.000/MClaude Opus 4.6$11.000/MClaude Opus 4.5$33.000/MClaude Sonnet 3.7$6.600/MClaude Opus 3$33.000/MClaude 2.1$12.800/MClaude 2$12.800/MGPT-5.6 Sol$12.500/MGPT-5.6 Terra$5.000/MGPT-5.5$12.500/MGPT-5.2$5.425/MGPT-5.2-Codex$5.425/MGPT-5$3.875/MGPT-4.5$97.500/MGPT-4 Turbo Preview$16.000/MGPT-4$39.000/MGPT-4-32k$78.000/Mo3$19.000/Mo3-mini$2.090/Mo4-mini$2.090/Mo1$28.500/Mo1-mini$5.700/Mo1-preview$28.500/MGemini 3.5 Pro$5.000/MGemini 3.1 Pro$5.000/MGemini 3 Pro$5.000/MGemini 2.5 Pro$3.875/M

Claude Sonnet 5 vs GPT-5

Anthropic vs OpenAI · Prices checked 12 August 2026

GPT-5 is 12 per cent cheaper on blended cost, $3.88 per million tokens against $4.40. A single 100K-input, 10K-output job costs $0.225 on GPT-5 against $0.300 on Claude Sonnet 5.

Claude Sonnet 5 takes a 1,000,000-token context window against 400,000, giving 2.5× more room for long documents or whole-codebase work. Claude Sonnet 5 was released Jun 2026; GPT-5 2025.

Pricing and capacity

Published token pricing and context window for Claude Sonnet 5 and GPT-5
MetricClaude Sonnet 5GPT-5Difference
Input / 1M tokens$2.00$1.2538%
Output / 1M tokens$10.00$10.00level
Blended · 70/30calculated$4.40$3.8812%
Blended · 50/50calculated$6.00$5.636%
Blended · 80/20calculated$3.60$3.0017%
Blended · 20/80calculated$8.40$8.252%
Job cost · 100K + 10Kcalculated$0.300$0.22525%
Job cost · 1M + 100Kcalculated$3.00$2.2525%
Context window1,000,000400,0002.5×

Input and output rates are as published by each provider. Blended and job-cost rows are calculated comparison metrics, not published prices — how they are derived.

Benchmarks

These two models do not currently report scores on any of the same benchmark suites, so there is no like-for-like capability comparison to show. Rather than pad the page with one-sided numbers, the benchmark leaderboards list every score we do hold.

What each model is for

Claude Sonnet 5

Anthropic · Balanced

The most agentic Sonnet Anthropic has shipped: it plans, drives tools like browsers and terminals, and runs autonomously at a level that previously needed a larger model, with performance close to Opus 4.8 at a fraction of the price. Launch pricing is $2/$10 per MTok through 31 August 2026, after which it moves to $3/$15.

  • Autonomous multi-step agent runs
  • Browser and terminal tool use
  • Near-Opus performance at Sonnet pricing
  • 1M-token context

GPT-5

OpenAI · Frontier

OpenAI's 2025 flagship, unified reasoning + multimodal model with a 400K context. Replaces the GPT-4 line as the default ChatGPT and API model.

  • Unified reasoning + chat
  • 400K context
  • Native vision
  • Strong tool use

Frequently asked questions

Which is cheaper, Claude Sonnet 5 or GPT-5?

GPT-5 is 12 per cent cheaper on blended cost, $3.88 per million tokens against $4.40. A single 100K-input, 10K-output job costs $0.225 on GPT-5 against $0.300 on Claude Sonnet 5. Blended cost weights input at 70% and output at 30%; price your own token split for an exact answer, since the cheaper model on a blended basis is not always cheaper for your workload.

Which has the larger context window, Claude Sonnet 5 or GPT-5?

Claude Sonnet 5 takes a 1,000,000-token context window against 400,000, giving 2.5× more room for long documents or whole-codebase work. The context window caps everything in a single request: prompt, retrieved documents, conversation history and the model’s own output all share it.

Can I compare Claude Sonnet 5 and GPT-5 on my own numbers?

Yes. Open both in the side-by-side comparison tool to see every field at once, or use the token calculator to price your actual prompt and monthly request volume against each model. Both are free and need no sign-up.

Price it for your own workload

Related matchups

Terms used on this page

Prices and scores are recomputed on every deploy from the catalogue. Prices checked 12 August 2026.