ZMIME
Comparison · 2 models · Updated Nov 24, 2026

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.

  1. OpenAI

    GPT-5.4

    Released Mar 5, 2026

    65/100
    • ECI157.9
    • Price$2.50 / $15.00
    • Context1.05M
  2. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    62/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  3. Our pick

    OpenAI

    GPT-5.4

    Released Mar 5, 2026

    82/100
    • ECI157.9
    • Price$2.50 / $15.00
    • Context1.05M
  4. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    78/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  5. Add a model

    Make it a three-way comparison.

01 — Verdict

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
How the score is built
MeasureWeightGPT-5.4Claude Sonnet 4.6
CapabilityCapabilities Index (ECI)50%8581
Price25%1412
Inputs & features15%8080
Context window10%6564
Overall100%65/10062/100
How the score is built
MeasureWeightGPT-5.4Claude Sonnet 4.6
CapabilityCapabilities Index (ECI)67%8581
Inputs & features20%8080
Context window13%6564
Overall100%82/10078/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

GPT-5.4 vs Claude Sonnet 4.6 specifications side by side
SpecificationGPT-5.4OpenAIClaude Sonnet 4.6Anthropic
Capability
Capabilities Index (ECI)157.9 (best)152.9
ECI rank#29 of 158 (best)#57 of 158
ECI confidence interval156.0–160.0151.2–154.5
ECI evaluation dateMar 5, 2026Feb 17, 2026
Documented capabilitiesAgent-ready GPT for coding and computer-use workflows at a lower costClaude workhorse for coding agents, careful analysis, and production cost control
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questions93.3%xhigh (best)87.4%32K
FrontierMath Tiers 1–3Research-level mathematics78.6%xhighNot published
OTIS Mock AIME 2024–2025Competition mathematics97.8%high (best)85.8%32K
SWE-bench VerifiedFixing real GitHub issues76.9%high (best)75.2%
SimpleQA VerifiedShort factual questions45.1%xhigh (best)35.5%high
Publisher-reported benchmarks
SWE-Bench Pro · publicPublisher-reported result59.1resolve rateReported resultNot published
SWE-Atlas Codebase QnAPublisher-reported result40.8scoreReported result31.2scoreReported result
SWE-Atlas RefactoringPublisher-reported result44.29scoreReported result32.21scoreReported result
SWE-Atlas Test WritingPublisher-reported result44.36scoreReported result31.76scoreReported result
Artificial Analysis Coding Agent Indexmedium53.6average pass@1Reported result49.4average pass@1Reported result
SWE-Atlas Codebase QnAmedium72.4pass@1Reported result70.3pass@1Reported result
SWE-Bench Pro · hard-aamedium18.4pass@1Reported result14.9pass@1Reported result
Terminal-Bench 2.1medium69.8pass@1Reported result63.1pass@1Reported result
Terminal-Bench 2.0Publisher-reported result75.1success rateReported resultApr 23, 2026Not published
GPQA DiamondPublisher-reported result92.8accuracyReported resultApr 23, 2026Not published
Humanity's Last Examno tools39.8accuracyReported resultApr 23, 202634.6accuracyReported resultJun 30, 2026
Humanity's Last Examwith tools52.1accuracyReported resultApr 23, 202646.8accuracyReported resultJun 30, 2026
OSWorld-VerifiedPublisher-reported result75success rateReported resultApr 23, 202678.5success rateReported resultJun 30, 2026
BrowseCompPublisher-reported result82.7accuracyReported resultApr 23, 2026Not published
GDPvalPublisher-reported result83wins or tiesReported resultApr 23, 2026Not published
ARC-AGI-2Verified73.3accuracyReported resultApr 23, 2026Not published
FrontierMath · Tier 1-3Publisher-reported result47.6accuracyReported resultApr 23, 2026Not published
FrontierMath · Tier 4Publisher-reported result27.1accuracyReported resultApr 23, 2026Not published
MMMU Prono tools81.2accuracyReported resultApr 23, 2026Not published
Terminal-Bench 2.1Publisher-reported resultNot published67success 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 rateOver 272K: $5.00 / $22.50Same rate
Price sourceOfficial OpenAI APIOfficial Anthropic API
Limits
Context window1,050,000 tokens (best)1,000,000 tokens
Max input922,000 tokensNot published
Max output128,000 tokens (best)64,000 tokens
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioNoNo
VideoNoNo
ReasoningYeslow · medium · high · xhighYeslow · medium · high · max
Tool callingYesYes
Structured outputYesYes
File attachmentsYesYes
Temperature controlYesYes
Reasoning controlefforteffort
Availability
WeightsProprietaryProprietary
API model IDgpt-5.4claude-sonnet-4-6
API providers5158 (best)
ReleasedMar 5, 2026Feb 17, 2026
Knowledge cutoffAug 31, 2025Aug 31, 2025
Publisher documentationPublisher documentationPublisher documentation
Source metadata updatedMar 5, 2026Mar 13, 2026
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 24, 2026Nov 24, 2026
03 — Cost

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
04 — Questions

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.