ZMIME
Comparison · 2 models · Updated Nov 24, 2026

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.

  1. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    62/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  2. OpenAI

    GPT-5.4

    Released Mar 5, 2026

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

    Claude Sonnet 4.6

    Released Feb 17, 2026

    78/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  4. Our pick

    OpenAI

    GPT-5.4

    Released Mar 5, 2026

    82/100
    • ECI157.9
    • Price$2.50 / $15.00
    • Context1.05M
  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 inputsClaude Sonnet 4.6: Text, Images, PDFs · GPT-5.4: Text, Images, PDFs
  • Self-hostingNo confirmed open weightsBoth are available only through APIs
How the score is built
MeasureWeightClaude Sonnet 4.6GPT-5.4
CapabilityCapabilities Index (ECI)50%8185
Price25%1214
Inputs & features15%8080
Context window10%6465
Overall100%62/10065/100
How the score is built
MeasureWeightClaude Sonnet 4.6GPT-5.4
CapabilityCapabilities Index (ECI)67%8185
Inputs & features20%8080
Context window13%6465
Overall100%78/10082/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.

Claude Sonnet 4.6 vs GPT-5.4 specifications side by side
SpecificationClaude Sonnet 4.6AnthropicGPT-5.4OpenAI
Capability
Capabilities Index (ECI)152.9157.9 (best)
ECI rank#57 of 158#29 of 158 (best)
ECI confidence interval151.2–154.5156.0–160.0
ECI evaluation dateFeb 17, 2026Mar 5, 2026
Documented capabilitiesClaude workhorse for coding agents, careful analysis, and production cost controlAgent-ready GPT for coding and computer-use workflows at a lower cost
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questions87.4%32K93.3%xhigh (best)
FrontierMath Tiers 1–3Research-level mathematicsNot published78.6%xhigh
OTIS Mock AIME 2024–2025Competition mathematics85.8%32K97.8%high (best)
SWE-bench VerifiedFixing real GitHub issues75.2%76.9%high (best)
SimpleQA VerifiedShort factual questions35.5%high45.1%xhigh (best)
Publisher-reported benchmarks
SWE-Atlas Codebase QnAPublisher-reported result31.2scoreReported result40.8scoreReported result
SWE-Atlas RefactoringPublisher-reported result32.21scoreReported result44.29scoreReported result
SWE-Atlas Test WritingPublisher-reported result31.76scoreReported result44.36scoreReported result
Artificial Analysis Coding Agent Indexmedium49.4average pass@1Reported result53.6average pass@1Reported result
SWE-Atlas Codebase QnAmedium70.3pass@1Reported result72.4pass@1Reported result
SWE-Bench Pro · hard-aamedium14.9pass@1Reported result18.4pass@1Reported result
Terminal-Bench 2.1medium63.1pass@1Reported result69.8pass@1Reported result
Terminal-Bench 2.1Publisher-reported result67success rateReported resultJun 30, 2026Not published
Humanity's Last Examno tools34.6accuracyReported resultJun 30, 202639.8accuracyReported resultApr 23, 2026
Humanity's Last Examwith tools46.8accuracyReported resultJun 30, 202652.1accuracyReported resultApr 23, 2026
OSWorld-VerifiedPublisher-reported result78.5success rateReported resultJun 30, 202675success rateReported resultApr 23, 2026
SWE-Bench Pro · publicPublisher-reported resultNot published59.1resolve rateReported result
Terminal-Bench 2.0Publisher-reported resultNot published75.1success rateReported resultApr 23, 2026
GPQA DiamondPublisher-reported resultNot published92.8accuracyReported resultApr 23, 2026
BrowseCompPublisher-reported resultNot published82.7accuracyReported resultApr 23, 2026
GDPvalPublisher-reported resultNot published83wins or tiesReported resultApr 23, 2026
ARC-AGI-2VerifiedNot published73.3accuracyReported resultApr 23, 2026
FrontierMath · Tier 1-3Publisher-reported resultNot published47.6accuracyReported resultApr 23, 2026
FrontierMath · Tier 4Publisher-reported resultNot published27.1accuracyReported resultApr 23, 2026
MMMU Prono toolsNot published81.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 rateSame rateOver 272K: $5.00 / $22.50
Price sourceOfficial Anthropic APIOfficial OpenAI API
Limits
Context window1,000,000 tokens1,050,000 tokens (best)
Max inputNot published922,000 tokens
Max output64,000 tokens128,000 tokens (best)
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioNoNo
VideoNoNo
ReasoningYeslow · medium · high · maxYeslow · medium · high · xhigh
Tool callingYesYes
Structured outputYesYes
File attachmentsYesYes
Temperature controlYesYes
Reasoning controlefforteffort
Availability
WeightsProprietaryProprietary
API model IDclaude-sonnet-4-6gpt-5.4
API providers58 (best)51
ReleasedFeb 17, 2026Mar 5, 2026
Knowledge cutoffAug 31, 2025Aug 31, 2025
Publisher documentationPublisher documentationPublisher documentation
Source metadata updatedMar 13, 2026Mar 5, 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.

  • Claude Sonnet 4.6$60.00
  • GPT-5.4$55.00
04 — Questions

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.