Claude Sonnet 5 vs GPT-5.4
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
|
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 | $6.00/Mtok | $8.75/Mtok |
| Cached input | $0.200/Mtok | $0.250/Mtok |
| Specifications | ||
| Context window | 1M tokens | 1M tokens |
| Parameters | Proprietary | Proprietary |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
textimage
|
textimage
|
| Benchmarks from Vellum LLM Leaderboard | ||
| Avg benchmark score | 78.7 | |
| Perf / dollar | 9 | |
| GPQA Diamond | — | 88 |
| SWE-Bench | — | 75 |
| HumanEval | — | 94.5 |
| MATH 500 | — | 92 |
| 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 | $6 | $8.75 | $2.75 (31.4%) |
| 10M tokens | $60 | $87.5 | $27.5 (31.4%) |
| 100M tokens | $600 | $875 | $275 (31.4%) |
| 1000M tokens | $6000 | $8750 | $2750 (31.4%) |
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 45.8% cheaper than GPT-5.4.
On benchmarks, GPT-5.4 scores higher (78.7 vs ) on average. In terms of value, GPT-5.4 has better performance per dollar (9 vs ).
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.