Skip to main content

Head-to-head comparison

Claude Opus 4.7 vs. GPT-5.4

Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.

shared result series
1
distinct benchmarks
1
latest retrieval
2026-09-02

Change model selection

Specifications

General specifications

Release date, availability, context window, architecture, and published parameter counts at a glance. Undisclosed details remain marked as unavailable.

Specifications for Claude Opus 4.7 and GPT-5.4
AttributeClaude Opus 4.7GPT-5.4
ProviderAnthropicOpenAI
ReleasedApr 2026Mar 5, 2026
AvailabilityActiveActive
Model typeProprietaryProprietary
ParametersNot publishedNot published
ArchitectureNot publishedNot published
Context window1,000,000 tokens1,050,000 tokens
Knowledge cutoffJanuary 2026August 31, 2025
Technical sourcesModel, Knowledge cutoffModel

Pricing

API pricing compared

The table compares official standard API rates per 1M tokens, including published cache pricing. Batch, fast, priority, regional surcharges, tool calls, and cloud platform pricing are excluded.

API pricing for Claude Opus 4.7 and GPT-5.4
Price typeClaude Opus 4.7GPT-5.4
API input$5$2.5 ≤272K / $5 >272K
API output$25$15 ≤272K / $22.5 >272K
Cache read$0.5$0.25 ≤272K / $0.5 >272K
Cache write (5 min.)$6.25Not listed
Cache write (1 hr.)$10Not listed
Price verified07/30/2026 Source07/30/2026 Source
Claude Opus 4.7GPT-5.4
API inputUSD per 1M tokens, base tier
Claude Opus 4.7$5
GPT-5.4Lower price$2.5
API outputUSD per 1M tokens, base tier
Claude Opus 4.7$25
GPT-5.4Lower price$15
Cache readUSD per 1M tokens, base tier
Claude Opus 4.7$0.5
GPT-5.4Lower price$0.25

Key to the marks:better valuebetter, but not conclusivetie

Pricing by provider

Direct developer pricing and provider endpoint tariffs routed through OpenRouter are listed separately. Prices are in USD per 1M tokens. Context-dependent direct tiers plus regional, Flex, Priority, and other OpenRouter tariffs remain individually identifiable.

Provider pricing for Claude Opus 4.7 and GPT-5.4
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
Claude Opus 4.7AnthropicDirect from developerStandard APILowest listed price: $5Lowest listed price: $25Source07/30/2026
Amazon BedrockVia OpenRouteramazon-bedrock/eu-west-1$5.5$27.5Source09/12/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
AnthropicVia OpenRouteranthropicLowest listed price: $5Lowest listed price: $25Source09/12/2026
AzureVia OpenRouterazure/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
Claude Platform on AWSVia OpenRouterclaude-on-awsLowest listed price: $5Lowest listed price: $25Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/europe$5.5$27.5Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/us$5.5$27.5Source09/12/2026
GPT-5.4OpenAIDirect from developerUp to 272,000 context tokens$2.5$15Source07/30/2026
OpenAIDirect from developerAbove 272,000 context tokens$5$22.5Source07/30/2026
Amazon BedrockVia OpenRouteramazon-bedrock/us-east-1$2.75$16.5Source09/12/2026
AzureVia OpenRouterazure$2.5$15Source09/12/2026
AzureVia OpenRouterazure/eu$2.75$16.5Source09/12/2026
AzureVia OpenRouterazure/us$2.75$16.5Source09/12/2026
OpenAIVia OpenRouteropenai$2.5$15Source09/12/2026
OpenAIVia OpenRouteropenai/fast$5$30Source09/12/2026
OpenAIVia OpenRouteropenai/flexLowest listed price: $1.25Lowest listed price: $7.5Source09/12/2026

Performance

Shared benchmarks

Only published results with the same benchmark version, task, metric, and comparison cohort are paired. Different reasoning levels, agents, harnesses, or output limits appear directly in the table.

Capability profile from matched benchmarks

Each axis averages directly matched benchmark families. A value of 100 means the stronger value within this pair, not a universal quality score.

Not enough directly matched categories for a reliable radar

Only 1 of at least 5 categories have comparable, direct model measurements. The benchmark tables below show the available evidence without filling missing axes.

Claude Opus 4.7GPT-5.4
Humanity's Last ExamOverall. Higher is better. No documented setup difference
Claude Opus 4.736.20% ± 1.88
GPT-5.4No clear lead36.24% ± 1.88

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for Claude Opus 4.7 and GPT-5.4
Benchmark and taskClaude Opus 4.7GPT-5.4Source
Humanity's Last ExamOverall
Test details
No documented difference in the test setupNo clear leadVersion: final 2,500-question public setMetric: accuracyScoring: Higher is betterClaude Opus 4.7: Attempts: pass@1
GPT-5.4: Snapshot: gpt-5.4-2026-03-05, Attempts: pass@1
All 2,500 public questions, temperature 0, and an automatic answer extractor.
36.20% ± 1.88
95% confidence interval: ±1.88
No clear lead36.24% ± 1.88
95% confidence interval: ±1.88
Scale AI
Source details
Data as of: 09/02/2026

Key to the marks:better valuebetter, but not conclusivetie

Our model tests

Community tests you can inspect

Compare how the models respond to the same prompt. Each test shows the first attempt, with no subsequent fixes to the generated code. These results do not contribute to an overall score.

Pelican on a bicycle

A community classic for free-form SVG drawing.

Claude Opus 4.7

Not tested yet

GPT-5.4

API access was unavailable for this run. The model was not evaluated.

First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
openai/gpt-5.4
Pinned endpoint
OpenAI | openai/gpt-5.4-20260305
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Not run

Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.

Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)

How to read this comparison

Winning one benchmark is not an overall verdict

Your workload, budget, and required context length matter most. A coding benchmark says little about visual understanding or agent performance.

The standard price table uses direct developer rates. The provider comparison labels OpenRouter endpoints, regions, and special tariffs separately.

Every result links to its measurement source and retrieval date. Labels distinguish vendor reports, official benchmark leaderboards, and independent evaluations. Disputed or archived results are excluded.

More matchups

Compare Claude Opus 4.7 and GPT-5.4 with other leading models using the same data and benchmark logic.

View the complete LLM comparison