Claude Sonnet 4.6 vs GPT-5.4
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.
Anthropic
Claude Sonnet 4.6
62/100- ECI152.9
- Price$3.00 / $15.00
- Context1M
OpenAI
GPT-5.4
65/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
- Our pick
OpenAI
GPT-5.4
82/100- ECI157.9
- Price$2.50 / $15.00
- Context1.05M
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 inputsClaude Sonnet 4.6: Text, Images, PDFs · GPT-5.4: Text, Images, PDFs
- Self-hostingNo confirmed open weightsBoth are available only through APIs
| Measure | Weight | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 81 | 85 |
| Price | 25% | 12 | 14 |
| Inputs & features | 15% | 80 | 80 |
| Context window | 10% | 64 | 65 |
| Overall | 100% | 62/100 | 65/100 |
| Measure | Weight | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 67% | 81 | 85 |
| Inputs & features | 20% | 80 | 80 |
| Context window | 13% | 64 | 65 |
| Overall | 100% | 78/100 | 82/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) | 152.9 | 157.9 (best) |
| ECI rank | #57 of 158 | #29 of 158 (best) |
| ECI confidence interval | 151.2–154.5 | 156.0–160.0 |
| ECI evaluation date | Feb 17, 2026 | Mar 5, 2026 |
| Documented capabilities | Claude workhorse for coding agents, careful analysis, and production cost control | Agent-ready GPT for coding and computer-use workflows at a lower cost |
| Model parameters | Not published | Not published |
| Output modalities | Text | Text |
| GPQA DiamondGraduate-level science questions | 87.4%32K | 93.3%xhigh (best) |
| FrontierMath Tiers 1–3Research-level mathematics | Not published | 78.6%xhigh |
| OTIS Mock AIME 2024–2025Competition mathematics | 85.8%32K | 97.8%high (best) |
| SWE-bench VerifiedFixing real GitHub issues | 75.2% | 76.9%high (best) |
| SimpleQA VerifiedShort factual questions | 35.5%high | 45.1%xhigh (best) |
| Publisher-reported benchmarks | ||
| SWE-Atlas Codebase QnAPublisher-reported result | 31.2scoreReported result | 40.8scoreReported result |
| SWE-Atlas RefactoringPublisher-reported result | 32.21scoreReported result | 44.29scoreReported result |
| SWE-Atlas Test WritingPublisher-reported result | 31.76scoreReported result | 44.36scoreReported result |
| Artificial Analysis Coding Agent Indexmedium | 49.4average pass@1Reported result | 53.6average pass@1Reported result |
| SWE-Atlas Codebase QnAmedium | 70.3pass@1Reported result | 72.4pass@1Reported result |
| SWE-Bench Pro · hard-aamedium | 14.9pass@1Reported result | 18.4pass@1Reported result |
| Terminal-Bench 2.1medium | 63.1pass@1Reported result | 69.8pass@1Reported result |
| Terminal-Bench 2.1Publisher-reported result | 67success rateReported resultJun 30, 2026 | Not published |
| Humanity's Last Examno tools | 34.6accuracyReported resultJun 30, 2026 | 39.8accuracyReported resultApr 23, 2026 |
| Humanity's Last Examwith tools | 46.8accuracyReported resultJun 30, 2026 | 52.1accuracyReported resultApr 23, 2026 |
| OSWorld-VerifiedPublisher-reported result | 78.5success rateReported resultJun 30, 2026 | 75success rateReported resultApr 23, 2026 |
| SWE-Bench Pro · publicPublisher-reported result | Not published | 59.1resolve rateReported result |
| Terminal-Bench 2.0Publisher-reported result | Not published | 75.1success rateReported resultApr 23, 2026 |
| GPQA DiamondPublisher-reported result | Not published | 92.8accuracyReported resultApr 23, 2026 |
| BrowseCompPublisher-reported result | Not published | 82.7accuracyReported resultApr 23, 2026 |
| GDPvalPublisher-reported result | Not published | 83wins or tiesReported resultApr 23, 2026 |
| ARC-AGI-2Verified | Not published | 73.3accuracyReported resultApr 23, 2026 |
| FrontierMath · Tier 1-3Publisher-reported result | Not published | 47.6accuracyReported resultApr 23, 2026 |
| FrontierMath · Tier 4Publisher-reported result | Not published | 27.1accuracyReported resultApr 23, 2026 |
| MMMU Prono tools | Not published | 81.2accuracyReported resultApr 23, 2026 |
| Price per million tokens | ||
| Input | $3.00 | $2.50 (best) |
| Output | $15.00 | $15.00 |
| Cached input | $0.30 | $0.25 (best) |
| Blended (3:1) | $6.00 | $5.63 (best) |
| Long-context rate | Same rate | Over 272K: $5.00 / $22.50 |
| Price source | Official Anthropic API | Official OpenAI API |
| Limits | ||
| Context window | 1,000,000 tokens | 1,050,000 tokens (best) |
| Max input | Not published | 922,000 tokens |
| Max output | 64,000 tokens | 128,000 tokens (best) |
| Inputs and features | ||
| Text | Yes | Yes |
| Images | Yes | Yes |
| PDFs | Yes | Yes |
| Audio | No | No |
| Video | No | No |
| Reasoning | Yeslow · medium · high · max | Yeslow · medium · high · xhigh |
| 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 | claude-sonnet-4-6 | gpt-5.4 |
| API providers | 58 (best) | 51 |
| Released | Feb 17, 2026 | Mar 5, 2026 |
| Knowledge cutoff | Aug 31, 2025 | Aug 31, 2025 |
| Publisher documentation | Publisher documentation | Publisher documentation |
| Source metadata updated | Mar 13, 2026 | Mar 5, 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.
Claude Sonnet 4.6$60.00
GPT-5.4$55.00
Which should you choose?
Which is better: Claude Sonnet 4.6 or GPT-5.4?
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, Claude Sonnet 4.6 or GPT-5.4?
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: Claude Sonnet 4.6 up to 64,000, GPT-5.4 up to 128,000 tokens.
Which can read images, PDFs, audio or video?
Claude Sonnet 4.6 accepts text, images and PDFs; GPT-5.4 accepts text, images and PDFs. They handle the same number of input types.
Are any of these open source?
No. Claude Sonnet 4.6 and GPT-5.4 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: Claude Sonnet 4.6 Aug 31, 2025, GPT-5.4 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.