Claude Sonnet 5 vs GPT-5.4
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
| Specification |
by Anthropic
|
by OpenAI
|
|---|---|---|
| Overview | ||
| Status | Current mid tier | Current flagship |
| Released | Jun 30, 2026 | Aug 15, 2025 |
| Pricing per million tokens | ||
| Input | $2.00/Mtok | $2.50/Mtok |
| Output | $10.00/Mtok | $15.00/Mtok |
| Blended avg | $4.00/Mtok | $5.63/Mtok |
| Cached input | $0.200/Mtok | $0.250/Mtok |
| Price basis | Standard pricing, per 1M tokens — not a promotional rate. $2/$10 was announced at launch as introductory pricing through Aug 31 2026, but Anthropic's pricing page now states that it "is now the standard price" and that "the previously scheduled increase to $3/$15 per million input/output tokens on September 1, 2026 will not occur". There is therefore no reversion date to watch. Verified 2026-08-13 against platform.claude.com/docs/en/about-claude/pricing. | — |
| Specifications | ||
| Context window | 1M tokens | 1M tokens |
| Parameters | Proprietary | Proprietary |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
textimage
|
textimage
|
| Benchmarks sources: Vellum LLM Leaderboard / OpenAI model card, Artificial Analysis | ||
| Avg benchmark score | 81.5 | 78.7 |
| Perf / dollar | 20.4 | 14 |
| GPQA Diamond | 96.2 | 88 |
| SWE-Bench Verified | 85.2 | 75 |
| Humanity's Last Exam | 57.4 | 40.2 |
| HumanEval | 85.2 | 94.5 |
| Terminal-Bench 2.1 | 80.4 | — |
| BrowseComp | 84.7 | — |
| OSWorld-Verified | 81.2 | — |
| ARC-AGI 2 | — | 50 |
| AIME 2025 | — | 95.5 |
| MMMLU | — | 88 |
| BFCL | — | 85 |
| MATH 500 | — | 92 |
| AutoBench | 13.5 | — |
| Independent composite scores each on its own scale — not part of the average above | ||
| AA Intelligence Index | 55.3 | 53.1 |
| AA Agentic Index | 49.7 | 44.2 |
| AA-Omniscience Index (−100–100) | 16.4 | 5.8 |
| GDPval-AA v2 | 1598.2 ELO | — |
| LMSYS Chatbot Arena | — | 1465.5 ELO |
| Providers | ||
| Available from |
Anthropic — $2.00/$10.00/Mtok
|
OpenAI — $2.50/$15.00/Mtok
|
Cost at scale
1M tokens · 50/50 input/output| Volume | Claude Sonnet 5 | GPT-5.4 | Savings |
|---|---|---|---|
| 1M tokens | $4 | $5.63 | $1.63 (29%) |
| 10M tokens | $40 | $56.25 | $16.25 (28.9%) |
| 100M tokens | $400 | $562.5 | $162.5 (28.9%) |
| 1000M tokens | $4000 | $5625 | $1625 (28.9%) |
When to pick which
distilled from the pricing and spec data above- cost dominates: $4.00/Mtok blended vs $5.63 — 28.9% less on the same 50/50 token mix
- raw capability matters more than price: 81.5 vs 78.7 average benchmark score
- this pairing gives GPT-5.4 no edge on price, context, cache discount, or measured performance — pick it only for qualitative fit (ecosystem, compliance, model behavior on your prompts)
The cheaper option here — Claude Sonnet 5 costs $4.00/Mtok blended on Anthropic.
Summary
Claude Sonnet 5 by Anthropic costs $2.00/Mtok input and $10.00/Mtok output, with a 1M-token context window. It supports text, image input.
GPT-5.4 by OpenAI costs $2.50/Mtok input and $15.00/Mtok output, with a 1M-token context window. It supports text, image input.
On a blended cost basis, Claude Sonnet 5 is 28.9% cheaper than GPT-5.4.
On benchmarks, Claude Sonnet 5 scores higher (81.5 vs 78.7) on average. In terms of value, Claude Sonnet 5 has better performance per dollar (20.4 vs 14).
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.