Claude Sonnet 4.6 vs GPT-5: the daily-driver decision

Sonnet costs 2.4× more on input and buys a higher coding score, a 1M context, and a caching tier GPT-5 doesn't have.

By the benchr team · · View changelog · Figures verified against official sources, June 10, 2026

Sonnet 4.6 input / 1MAnthropic · output $15
GPT-5 input / 1MOpenAI · output $10
Sonnet SWE-benchVerified, official
GPT-5 SWE-benchVerified, official

This is the daily-driver decision most teams face in 2026. Neither model is the flagship of its lab — Opus 4.8 and GPT-5.5 sit above them — but these two carry the bulk of real production traffic because they're the tiers priced for volume. They're built to different recipes, and the price sheet only tells half of it.

Side-by-side specs

Claude Sonnet 4.6 vs GPT-5 — verified figures, June 10, 2026
DimensionClaude Sonnet 4.6GPT-5
Input / 1M$3.00$1.25
Output / 1M$15.00$10.00
Cached input / 1M$0.30
Context window1,000,000400,000
Max output64,000128,000
SWE-bench Verified79.6%74.9%
Throughput (benchr est.)95 tok/s90 tok/s

The price gap shrinks when you cache

The headline says Sonnet costs 2.4× more on input. The footnote says Sonnet has a $0.30 cached-input tier and GPT-5 doesn't have a cached rate in benchr's verified record. For an agent with a 40K-token system prompt called thousands of times a day, that changes the ranking: the repeated prompt bills at $0.30/1M on Sonnet, under a quarter of GPT-5's $1.25 standard rate. Stateless, short-prompt workloads never see this benefit — which is exactly why the right answer differs per team. Run your own mix through the cost calculator.

A concrete workload

Take a code-review bot: 15K input tokens (diff + context), 3K output, 20,000 runs a month. On GPT-5 that's $375 input + $600 output = $975/month. On Sonnet 4.6 without caching: $900 + $900 = $1,800/month. If 10K of those input tokens are a stable cached prefix, Sonnet drops to roughly $1,260/month. You're paying a few hundred dollars a month for a 4.7-point SWE-bench edge — cheap if it cuts even one missed bug per week, pointless if your reviews are simple style checks.

Where each one wins

Sonnet 4.6 wins on repository-scale coding, anything that needs more than 400K tokens in one window, and prompt-heavy agents that exploit caching. It's the model the benchr review calls the daily-driver tier for a reason. GPT-5 wins on raw price for short tasks, on output ceiling (128K vs 64K max output), and when your stack is already built on OpenAI's API shapes. The wrong reason to pick either is brand loyalty — the right reason is your token mix.

Frequently asked

Is Claude Sonnet 4.6 worth 2.4 times GPT-5's input price?

When the work is coding or long documents, usually yes. Sonnet 4.6 scores 79.6% on SWE-bench Verified against GPT-5's 74.9%, and its 1M-token context window is 2.5 times GPT-5's 400K. For short, output-light chat and breadth tasks, GPT-5's lower rates win on cost.

Which one is cheaper on a real workload?

It depends on the input/output mix. A task with 10K input and 2K output costs about $0.0325 on GPT-5 and $0.06 on Sonnet 4.6 without caching. With Sonnet's $0.30 cached-input rate on a repeated system prompt, the gap narrows a lot — GPT-5 has no cached tier in benchr's verified record.

When does GPT-5's 400K context become the problem?

When a single task needs more than roughly 300K tokens of working material — large codebase slices, long discovery documents, multi-file analysis. Sonnet 4.6 takes 1M tokens in one window; GPT-5 needs chunking and a retrieval layer at that point, which adds engineering cost the price sheet doesn't show.

Changelog

  • June 10, 2026 — Expanded from a spec table into a full comparison: cost math on a concrete workload, where each model wins, and a verdict. Page re-indexed.
  • June 6, 2026 — Published as a spec-table stub (noindexed pending expansion).

Sources

  • Anthropic pricing — platform.claude.com/docs (verified June 10, 2026)
  • OpenAI API pricing — openai.com/api/pricing (verified June 10, 2026)
  • benchr model-figures.json — the verified figure record (June 10, 2026)