Skip to content
llmmodels

Claude Sonnet 5 vs GPT-5.4 Pro

GPT-5.4 Pro wins 4 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (160.3 vs 156.9). Claude Sonnet 5 is about 17× cheaper on a blended (3:1 input:output) token price. GPT-5.4 Pro has the larger context window (1.1M vs 1M).

SpecClaude Sonnet 5GPT-5.4 Pro
ProviderAnthropicOpenAI
ReleasedJun 29, 2026 (better)Mar 5, 2026
TypeReasoning LLMReasoning LLM
Parameters——
Context window1M1.1M (better)
Max output125K125K
Input price / 1M$2 (better)$30
Output price / 1M$10 (better)$180
Input modalitiestext, image, pdf, file (better)text, image, file
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers56 (better)22
Epoch Capabilities Index156.9160.3 (better)
GPQA Diamond90.5%94.6% (better)
Humanity's Last Exam—44.3%
WebDev Arena1537—
OTIS Mock AIME94.7%—
FrontierMath65.6%82.5% (better)
ARC-AGI-2—83.3%
SimpleQA Verified33.7%46.3% (better)

Cost example

For a workload of 10M input + 2M output tokens per month: Claude Sonnet 5 costs $40.00 and GPT-5.4 Pro costs $660.00 at list price (Anthropic / openai pricing).

About Claude Sonnet 5

Claude Sonnet 5 is a proprietary reasoning llm from Anthropic, released Jun 29, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $10 per million output tokens. It is available from 56 API providers. It scores 156.9 on the Epoch Capabilities Index. Full Claude Sonnet 5 specs →

About GPT-5.4 Pro

GPT-5.4 Pro is a proprietary reasoning llm from OpenAI, released Mar 5, 2026. It has a 1.1M-token context window and accepts text, image, file input. API pricing starts at $30 per million input tokens and $180 per million output tokens. It is available from 22 API providers. It scores 160.3 on the Epoch Capabilities Index. Full GPT-5.4 Pro specs →

Compare other models

FAQ

Which is better, Claude Sonnet 5 or GPT-5.4 Pro?

GPT-5.4 Pro wins 4 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (160.3 vs 156.9). Claude Sonnet 5 is about 17× cheaper on a blended (3:1 input:output) token price. GPT-5.4 Pro has the larger context window (1.1M vs 1M).

Is Claude Sonnet 5 cheaper than GPT-5.4 Pro?

Claude Sonnet 5 costs $2 input / $10 output per 1M tokens; GPT-5.4 Pro costs $30 / $180. Claude Sonnet 5 is cheaper overall.

Which has a bigger context window?

Claude Sonnet 5: 1,000,000 tokens. GPT-5.4 Pro: 1,050,000 tokens.

Are Claude Sonnet 5 and GPT-5.4 Pro open source?

Claude Sonnet 5 is proprietary; GPT-5.4 Pro is proprietary.