AnthropicvsOpenAI·Updated Nov 2026
Claude 3.7 Sonnet logovsGPT-5.4 logo

Claude 3.7 Sonnet vs GPT-5.4

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
GPT-5.4 logoGPT-5.4-17%

$2.50 vs $3.00 / 1M

Cheaper Output
Tie · $15.00/1M

Equal

AA Intelligence / AA Engineering
Reasoning

—

Context Window
GPT-5.4 logoGPT-5.45.3×

1.05M vs 200K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
Claude 3.7 Sonnet logoClaude 3.7 SonnetPending
GPT-5.4 logoGPT-5.4Pending
AA Engineering
Claude 3.7 Sonnet logoClaude 3.7 SonnetPending
GPT-5.4 logoGPT-5.4Pending
Core Capability Profile
MetricClaude 3.7 SonnetGPT-5.4
ReasoningYesxhigh/high/medium/low/none
Input Modalitiestext, imagetext, image, file
Tools & JSONToolsTools · JSON
Prompt Caching$0.30/1M$0.25/1M
Open-WeightProprietaryProprietary

Side-by-side specification matrix

USD ·
MetricClaude 3.7 Sonnet logoClaude 3.7 SonnetGPT-5.4 logoGPT-5.4Compare
Input / 1M$3.00$2.50GPT-5.4 -17%
Output / 1M$15.00$15.00Equal
5m Cache Write / 1M$3.75$2.50GPT-5.4 -33%
1h Cache Write / 1M———
Cache Read$0.30$0.25GPT-5.4 -17%
Web Search / Call—$0.01—
Context200K (200,000)1.05M (1,050,000)GPT-5.4 5.3×
Max Output32K (32,000)128K (128,000)GPT-5.4 4×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, imagetext, image, fileGPT-5.4
ReasoningSupportedxhigh, high, medium, low, noneEqual
Structured Outputs(JSON Schema)Not listedSupportedGPT-5.4
Open-WeightProprietary APIProprietary APIEqual

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with GPT-5.4 $41.25/mo ($495.00)
-5.9%
Claude 3.7 Sonnet logoClaude 3.7 Sonnet
$697.50/mo
In: $225.00
Cache: $22.50
Out: $450.00
Search: N/A
GPT-5.4 logoGPT-5.4Best Value
$656.25/mo
In: $187.50
Cache: $18.75
Out: $450.00
Search: $0.00

Frequently Asked Questions

Is Claude 3.7 Sonnet or GPT-5.4 cheaper per API token?

GPT-5.4 is 17% cheaper on input tokens ($2.50 vs $3.00 per 1M). Output pricing is also tied at $15.00 per 1M tokens.

How do Claude 3.7 Sonnet and GPT-5.4 prompt caching discounts compare?

GPT-5.4 offers 17% cheaper cache reads at $0.25/1M compared to $0.30/1M for Claude 3.7 Sonnet. Claude 3.7 Sonnet 5m write: $3.75/1M; GPT-5.4 5m write: $2.50/1M.

Which model has a larger context window: Claude 3.7 Sonnet or GPT-5.4?

GPT-5.4 provides a 5.3× larger context window (1.05M vs 200K tokens). For single-turn output generation, Claude 3.7 Sonnet caps at 32K tokens and GPT-5.4 caps at 128K tokens.

How do Claude 3.7 Sonnet and GPT-5.4 compare on benchmarks and capabilities?

Compare Claude 3.7 Sonnet (Anthropic) and GPT-5.4 (OpenAI) across tool calling (yes vs yes) and reasoning support above.

Related Head-to-Head Matchups

Comparisons