GPT-5.4 vs Claude Sonnet 4.6
Too close to call on our weighted score (GPT-5.4 65, Claude Sonnet 4.6 62). The right pick depends on what you value most.GPT-5.4 comes out ahead, 82 to 78 on our weighted score, and it is the cheaper option too.
OpenAI
GPT-5.4
65/100- ECI157.9
- Price$2.50 / $15.00
- Context1.05M
Anthropic
Claude Sonnet 4.6
62/100- ECI152.9
- Price$3.00 / $15.00
- Context1M
- Our pick
OpenAI
GPT-5.4
82/100- ECI157.9
- Price$2.50 / $15.00
- Context1.05M
Anthropic
Claude Sonnet 4.6
78/100- ECI152.9
- Price$3.00 / $15.00
- Context1M
Add a model
Make it a three-way comparison.
Too close to callGPT-5.4 is our pick
It is close. Our weighted score puts them within 3 points (GPT-5.4 65/100, Claude Sonnet 4.6 62/100), so choose by what matters most for your work: GPT-5.4 for raw capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.GPT-5.4 is the better all-round choice, scoring 82/100 against Claude Sonnet 4.6 (78). It leads on capability. The score weighs capability 67%, inputs & features 20%, context window 13%.
- CapabilityGPT-5.4Capabilities Index (ECI): GPT-5.4 157.9 · Claude Sonnet 4.6 152.9
- Lowest priceGPT-5.4GPT-5.4 $5.63 · Claude Sonnet 4.6 $6.00 per 1M tokens (3:1 blend)
- Longest contextGPT-5.4GPT-5.4 1,050,000 · Claude Sonnet 4.6 1,000,000 tokens
- Widest inputsSame inputsGPT-5.4: Text, Images, PDFs · Claude Sonnet 4.6: Text, Images, PDFs
- Self-hostingNo confirmed open weightsBoth are available only through APIs
| Measure | Weight | GPT-5.4 | Claude Sonnet 4.6 |
|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 85 | 81 |
| Price | 25% | 14 | 12 |
| Inputs & features | 15% | 80 | 80 |
| Context window | 10% | 65 | 64 |
| Overall | 100% | 65/100 | 62/100 |
| Measure | Weight | GPT-5.4 | Claude Sonnet 4.6 |
|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 67% | 85 | 81 |
| Inputs & features | 20% | 80 | 80 |
| Context window | 13% | 65 | 64 |
| Overall | 100% | 82/100 | 78/100 |
Every spec in one table
Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.
| Specification | ||
|---|---|---|
| Capability | ||
| Capabilities Index (ECI) | 157.9 (best) | 152.9 |
| ECI rank | #29 of 158 (best) | #57 of 158 |
| ECI confidence interval | 156.0–160.0 | 151.2–154.5 |
| ECI evaluation date | Mar 5, 2026 | Feb 17, 2026 |
| Documented capabilities | Agent-ready GPT for coding and computer-use workflows at a lower cost | Claude workhorse for coding agents, careful analysis, and production cost control |
| Model parameters | Not published | Not published |
| Output modalities | Text | Text |
| GPQA DiamondGraduate-level science questions | 93.3%xhigh (best) | 87.4%32K |
| FrontierMath Tiers 1–3Research-level mathematics | 78.6%xhigh | Not published |
| OTIS Mock AIME 2024–2025Competition mathematics | 97.8%high (best) | 85.8%32K |
| SWE-bench VerifiedFixing real GitHub issues | 76.9%high (best) | 75.2% |
| SimpleQA VerifiedShort factual questions | 45.1%xhigh (best) | 35.5%high |
| Publisher-reported benchmarks | ||
| SWE-Bench Pro · publicPublisher-reported result | 59.1resolve rateReported result | Not published |
| SWE-Atlas Codebase QnAPublisher-reported result | 40.8scoreReported result | 31.2scoreReported result |
| SWE-Atlas RefactoringPublisher-reported result | 44.29scoreReported result | 32.21scoreReported result |
| SWE-Atlas Test WritingPublisher-reported result | 44.36scoreReported result | 31.76scoreReported result |
| Artificial Analysis Coding Agent Indexmedium | 53.6average pass@1Reported result | 49.4average pass@1Reported result |
| SWE-Atlas Codebase QnAmedium | 72.4pass@1Reported result | 70.3pass@1Reported result |
| SWE-Bench Pro · hard-aamedium | 18.4pass@1Reported result | 14.9pass@1Reported result |
| Terminal-Bench 2.1medium | 69.8pass@1Reported result | 63.1pass@1Reported result |
| Terminal-Bench 2.0Publisher-reported result | 75.1success rateReported resultApr 23, 2026 | Not published |
| GPQA DiamondPublisher-reported result | 92.8accuracyReported resultApr 23, 2026 | Not published |
| Humanity's Last Examno tools | 39.8accuracyReported resultApr 23, 2026 | 34.6accuracyReported resultJun 30, 2026 |
| Humanity's Last Examwith tools | 52.1accuracyReported resultApr 23, 2026 | 46.8accuracyReported resultJun 30, 2026 |
| OSWorld-VerifiedPublisher-reported result | 75success rateReported resultApr 23, 2026 | 78.5success rateReported resultJun 30, 2026 |
| BrowseCompPublisher-reported result | 82.7accuracyReported resultApr 23, 2026 | Not published |
| GDPvalPublisher-reported result | 83wins or tiesReported resultApr 23, 2026 | Not published |
| ARC-AGI-2Verified | 73.3accuracyReported resultApr 23, 2026 | Not published |
| FrontierMath · Tier 1-3Publisher-reported result | 47.6accuracyReported resultApr 23, 2026 | Not published |
| FrontierMath · Tier 4Publisher-reported result | 27.1accuracyReported resultApr 23, 2026 | Not published |
| MMMU Prono tools | 81.2accuracyReported resultApr 23, 2026 | Not published |
| Terminal-Bench 2.1Publisher-reported result | Not published | 67success rateReported resultJun 30, 2026 |
| Price per million tokens | ||
| Input | $2.50 (best) | $3.00 |
| Output | $15.00 | $15.00 |
| Cached input | $0.25 (best) | $0.30 |
| Blended (3:1) | $5.63 (best) | $6.00 |
| Long-context rate | Over 272K: $5.00 / $22.50 | Same rate |
| Price source | Official OpenAI API | Official Anthropic API |
| Limits | ||
| Context window | 1,050,000 tokens (best) | 1,000,000 tokens |
| Max input | 922,000 tokens | Not published |
| Max output | 128,000 tokens (best) | 64,000 tokens |
| Inputs and features | ||
| Text | Yes | Yes |
| Images | Yes | Yes |
| PDFs | Yes | Yes |
| Audio | No | No |
| Video | No | No |
| Reasoning | Yeslow · medium · high · xhigh | Yeslow · medium · high · max |
| Tool calling | Yes | Yes |
| Structured output | Yes | Yes |
| File attachments | Yes | Yes |
| Temperature control | Yes | Yes |
| Reasoning control | effort | effort |
| Availability | ||
| Weights | Proprietary | Proprietary |
| API model ID | gpt-5.4 | claude-sonnet-4-6 |
| API providers | 51 | 58 (best) |
| Released | Mar 5, 2026 | Feb 17, 2026 |
| Knowledge cutoff | Aug 31, 2025 | Aug 31, 2025 |
| Publisher documentation | Publisher documentation | Publisher documentation |
| Source metadata updated | Mar 5, 2026 | Mar 13, 2026 |
| Data sources | models.dev · Epoch AI | models.dev · Epoch AI |
| Catalog checked | Nov 24, 2026 | Nov 24, 2026 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
GPT-5.4$55.00
Claude Sonnet 4.6$60.00
Which should you choose?
Which is better: GPT-5.4 or Claude Sonnet 4.6?
It is close. Our weighted score puts them within 3 points (GPT-5.4 65/100, Claude Sonnet 4.6 62/100), so choose by what matters most for your work: GPT-5.4 for raw capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.GPT-5.4 is the better all-round choice, scoring 82/100 against Claude Sonnet 4.6 (78). It leads on capability. The score weighs capability 67%, inputs & features 20%, context window 13%.
Which is cheaper, GPT-5.4 or Claude Sonnet 4.6?
GPT-5.4 is cheaper at $2.50 input / $15.00 output per million tokens (official OpenAI API price). Claude Sonnet 4.6 costs $3.00 input / $15.00 output per million tokens (official Anthropic API price). At a typical mix of three input tokens to one output token, that is $5.63 per million tokens for GPT-5.4 versus $6.00 for Claude Sonnet 4.6 (1.1× as much).
Which scores higher on benchmarks?
GPT-5.4 scores higher on the Capabilities Index (ECI): GPT-5.4 157.9 (#29 of 158) and Claude Sonnet 4.6 152.9 (#57 of 158). Their confidence ranges do not overlap (156.0–160.0 vs 151.2–154.5), so the gap is a real one. On individual benchmarks: GPQA Diamond — GPT-5.4 93.3%, Claude Sonnet 4.6 87.4%; OTIS Mock AIME 2024–2025 — GPT-5.4 97.8%, Claude Sonnet 4.6 85.8%; SWE-bench Verified — GPT-5.4 76.9%, Claude Sonnet 4.6 75.2%; SimpleQA Verified — GPT-5.4 45.1%, Claude Sonnet 4.6 35.5%.
Which is better for coding?
GPT-5.4 resolves more real GitHub issues on SWE-bench Verified: GPT-5.4 76.9% and Claude Sonnet 4.6 75.2%. Both support tool calling for agent workflows.
Which has the bigger context window?
GPT-5.4 has the largest context window at 1,050,000 tokens, against 1,000,000 for Claude Sonnet 4.6. Maximum output per response: GPT-5.4 up to 128,000, Claude Sonnet 4.6 up to 64,000 tokens.
Which can read images, PDFs, audio or video?
GPT-5.4 accepts text, images and PDFs; Claude Sonnet 4.6 accepts text, images and PDFs. They handle the same number of input types.
Are any of these open source?
No. GPT-5.4 and Claude Sonnet 4.6 are proprietary and only available through APIs and apps.
Which is newer?
GPT-5.4 is the newest, released Mar 5, 2026. Claude Sonnet 4.6 came out Feb 17, 2026. Knowledge cutoff: GPT-5.4 Aug 31, 2025, Claude Sonnet 4.6 Aug 31, 2025.
How do you decide the winner?
This rating uses capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.