Skip to main content

Head-to-head comparison

Claude Sonnet 5 vs. GPT-5.4 mini

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

shared result series
138
distinct benchmarks
20
latest retrieval
2026-09-04

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 Sonnet 5 and GPT-5.4 mini
AttributeClaude Sonnet 5GPT-5.4 mini
ProviderAnthropicOpenAI
ReleasedJun 30, 2026Mar 17, 2026
AvailabilityActiveActive
Model typeProprietaryProprietary
ParametersNot publishedNot published
ArchitectureNot publishedNot published
Context window1,000,000 tokens400,000 tokens
Knowledge cutoffJanuary 2026August 31, 2025
Technical sourcesModel, ContextModel

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 Sonnet 5 and GPT-5.4 mini
Price typeClaude Sonnet 5GPT-5.4 mini
API input$2$0.75
API output$10$4.5
Cache read$0.2$0.07
Cache write (5 min.)$2.5Not listed
Cache write (1 hr.)$4Not listed
Price verified09/02/2026 Source07/30/2026 Source
Claude Sonnet 5GPT-5.4 mini
API inputUSD per 1M tokens, base tier
Claude Sonnet 5$2
GPT-5.4 miniLower price$0.75
API outputUSD per 1M tokens, base tier
Claude Sonnet 5$10
GPT-5.4 miniLower price$4.5
Cache readUSD per 1M tokens, base tier
Claude Sonnet 5$0.2
GPT-5.4 miniLower price$0.075

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 Sonnet 5 and GPT-5.4 mini
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
Claude Sonnet 5AnthropicDirect from developerStandard APILowest listed price: $2Lowest listed price: $10Source09/02/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $2Lowest listed price: $10Source09/08/2026
Amazon BedrockVia OpenRouteramazon-bedrock/us-east-1$2.2$11Source09/08/2026
AnthropicVia OpenRouteranthropicLowest listed price: $2Lowest listed price: $10Source09/08/2026
AzureVia OpenRouterazure/globalLowest listed price: $2Lowest listed price: $10Source09/08/2026
AzureVia OpenRouterazure/usLowest listed price: $2Lowest listed price: $10Source09/08/2026
Claude Platform on AWSVia OpenRouterclaude-on-awsLowest listed price: $2Lowest listed price: $10Source09/08/2026
GoogleVia OpenRoutergoogle-vertex/europe$2.2$11Source09/08/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $2Lowest listed price: $10Source09/08/2026
GoogleVia OpenRoutergoogle-vertex/us$2.2$11Source09/08/2026
GPT-5.4 miniOpenAIDirect from developerStandard API$0.75$4.5Source07/30/2026
AzureVia OpenRouterazure$0.75$4.5Source09/08/2026
AzureVia OpenRouterazure/us$0.825$4.95Source09/08/2026
OpenAIVia OpenRouteropenai$0.75$4.5Source09/08/2026
OpenAIVia OpenRouteropenai/fast$1.5$9Source09/08/2026
OpenAIVia OpenRouteropenai/flexLowest listed price: $0.375Lowest listed price: $2.25Source09/08/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.

255075100CodingReasoningMathematicsKnowledgeFinanceLegalAgentic tasksMultimodal
Claude Sonnet 5
GPT-5.4 mini
Coding: 100 / 79.5 (6 benchmark families)
Reasoning: 100 / 95.8 (2 benchmark families)
Mathematics: 100 / 97.7 (1 benchmark family)
Knowledge: 100 / 97.1 (2 benchmark families)
Finance: 100 / 88 (6 benchmark families)
Legal: 100 / 42.7 (3 benchmark families)
Agentic tasks: 100 / 73.4 (1 benchmark family)
Multimodal: 100 / 95.5 (1 benchmark family)

50 matched rows from 20 benchmark families were considered. The radar shows 8 of 12 comparable categories.

Claude Sonnet 5GPT-5.4 mini
Code MigrationOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner44.392 %
GPT-5.4 mini12.936 %
CorpFin v2Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner66.977 %
GPT-5.4 mini60.917 %
EMBOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner66.316 %
GPT-5.4 mini45.426 %
Finance Agent (v2)Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner53.909 %
GPT-5.4 mini45.36 %
GPQA DiamondOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner88.889 %
GPT-5.4 mini83.08 %
Harvey's Legal Agent BenchmarkOverall · Task fully resolved. Higher is better. No documented setup difference
Claude Sonnet 5Winner5 %
GPT-5.4 mini0 %
Legal Research BenchOverall · All-pass. Higher is better. No documented setup difference
Claude Sonnet 5Winner41.827 %
GPT-5.4 mini12.5 %
LiveCodeBench v6Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner82.429 %
GPT-5.4 mini81.465 %
LMArena Text, Style ControlOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner1,462.16
GPT-5.4 mini1,448.118
MMLU-ProOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner87.545 %
GPT-5.4 mini84.554 %
MMMU-ProOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner83.006 %
GPT-5.4 mini79.249 %
MortgageTaxOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner70.032 %
GPT-5.4 mini63.514 %

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for Claude Sonnet 5 and GPT-5.4 mini
Benchmark and taskClaude Sonnet 5GPT-5.4 miniSource
Code MigrationOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner44.392 %
12.936 %
Vals AI
Source details
Data as of: 09/03/2026
CorpFin v2Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner66.977 %
60.917 %
Vals AI
Source details
Data as of: 08/12/2026
EMBOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner66.316 %
45.426 %
Vals AI
Source details
Data as of: 09/03/2026
Finance Agent (v2)Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner53.909 %
45.36 %
Vals AI
Source details
Data as of: 09/03/2026
GPQA DiamondOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner88.889 %
83.08 %
Vals AI
Source details
Data as of: 09/01/2026
Harvey's Legal Agent BenchmarkOverall · Task fully resolved
Test details
No documented difference in the test setupVersion: 1Metric: task resolution rateScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner5 %
0 %
Vals AI
Source details
Data as of: 09/03/2026
Legal Research BenchOverall · All-pass
Test details
No documented difference in the test setupVersion: 1Metric: all-pass rateScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner41.827 %
12.5 %
Vals AI
Source details
Data as of: 09/03/2026
LiveCodeBench v6Overall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner82.429 %
81.465 %
Vals AI
Source details
Data as of: 09/01/2026
LMArena Text, Style ControlOverall
Test details
No documented difference in the test setupVersion: style-control-v1Metric: style-controlled Bradley-Terry ratingScoring: Higher is betterClaude Sonnet 5: Snapshot: claude-sonnet-5-high, Reasoning: high, Harness: Arena text, style control
GPT-5.4 mini: Snapshot: gpt-5.4-mini-high, Reasoning: high, Harness: Arena text, style control
Claude Sonnet 5: Style-controlled Arena rating from 31,096 anonymous pairwise votes.GPT-5.4 mini: Style-controlled Arena rating from 59,472 anonymous pairwise votes.
Winner1,462.16
95% confidence interval: ±4.745The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
1,448.118
95% confidence interval: ±3.851The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
LMArena
Source details
Data as of: 09/01/2026
MMLU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner87.545 %
84.554 %
Vals AI
Source details
Data as of: 09/01/2026
MMMU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner83.006 %
79.249 %
Vals AI
Source details
Data as of: 09/01/2026
MortgageTaxOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner70.032 %
63.514 %
Vals AI
Source details
Data as of: 09/01/2026
ProgramBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Tie0 %
Tie0 %
Vals AI
Source details
Data as of: 09/01/2026
SAGEOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
48.925 %
Winner50.813 %
Vals AI
Source details
Data as of: 09/03/2026
SWE-bench VerifiedOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner79.6 %
73 %
Vals AI
Source details
Data as of: 09/01/2026
TaxEval v2Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner75.634 %
71.218 %
Vals AI
Source details
Data as of: 09/01/2026
Terminal-Bench 2.1Overall
Test details
No documented difference in the test setupVersion: 2.1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner74.532 %
54.682 %
Vals AI
Source details
Data as of: 09/03/2026
Vals IndexOverall
Test details
No documented difference in the test setupVersion: 2Metric: weighted index scoreScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner59.61 %
39.632 %
Vals AI
Source details
Data as of: 09/03/2026
Vals Multimodal IndexOverall
Test details
No documented difference in the test setupVersion: 1.2Metric: weighted index scoreScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner68.826 %
54.219 %
Vals AI
Source details
Data as of: 08/11/2026
Vibe Code Bench v1.1Overall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Harness: OpenHands
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Harness: OpenHands
Winner81.325 %
47.969 %
Vals AI
Source details
Data as of: 09/03/2026
Code MigrationCLI
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value36.332 %
8.2 %
Vals AI
Source details
Data as of: 08/09/2026
CorpFin v2Exact Pages
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value63.869 %
61.538 %
Vals AI
Source details
Data as of: 08/06/2026
EMBComps
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value69.384 %
40.488 %
Vals AI
Source details
Data as of: 08/06/2026
Finance Agent (v2)Adjustments
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value48.715 %
45.366 %
Vals AI
Source details
Data as of: 08/06/2026
GPQA DiamondFew-Shot CoT
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value87.374 %
84.848 %
Vals AI
Source details
Data as of: 08/09/2026
Legal Research BenchAdministrative / Regulatory · All-pass
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: all-pass rateScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value54.545 %
15.152 %
Vals AI
Source details
Data as of: 08/06/2026
LiveCodeBench v6Easy
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value98.447 %
97.826 %
Vals AI
Source details
Data as of: 08/09/2026
LMArena Text, Style ControlBusiness, management and finance
Test details
No documented difference in the test setupNo clear leadVersion: style-control-v1Metric: style-controlled Bradley-Terry ratingScoring: Higher is betterClaude Sonnet 5: Snapshot: claude-sonnet-5-high, Reasoning: high, Harness: Arena text, style control
GPT-5.4 mini: Snapshot: gpt-5.4-mini-high, Reasoning: high, Harness: Arena text, style control
Claude Sonnet 5: Style-controlled Arena rating from 6,214 anonymous pairwise votes.GPT-5.4 mini: Style-controlled Arena rating from 12,113 anonymous pairwise votes.
No clear lead1,462.981
95% confidence interval: ±8.229The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
1,459.508
95% confidence interval: ±6.653The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
LMArena
Source details
Data as of: 09/01/2026
MMLU-ProBiology
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value93.584 %
91.353 %
Vals AI
Source details
Data as of: 08/09/2026
MortgageTaxNumerical Extraction
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
78.696 %
Higher measured value79.412 %
Vals AI
Source details
Data as of: 08/09/2026
ProgramBenchAlmost Resolved
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value13.5 %
3 %
Vals AI
Source details
Data as of: 08/09/2026
SAGEAutomata
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 30,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 30,000 tokens
34.92 %
Higher measured value41.27 %
Vals AI
Source details
Data as of: 08/09/2026
SWE-bench Verified<15 min fix
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
83.505 %
Higher measured value85.567 %
Vals AI
Source details
Data as of: 08/08/2026
TaxEval v2Correctness
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value64.023 %
63.042 %
Vals AI
Source details
Data as of: 08/09/2026
Terminal-Bench 2.1Easy
Test details
Test setup not documented as identicalNo direct winnerVersion: 2.1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: high, Output limit: 128,000 tokens
Higher measured value100 %
75 %
Vals AI
Source details
Data as of: 08/06/2026
Vals IndexCorpFin v2
Test details
Test setup not documented as identicalNo direct winnerVersion: 1.2Metric: benchmark scoreScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value67.949 %
60.256 %
Vals AI
Source details
Data as of: 08/09/2026
Vals Multimodal IndexCorpFin v2
Test details
Test setup not documented as identicalNo direct winnerVersion: 1.2Metric: benchmark scoreScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value67.949 %
60.256 %
Vals AI
Source details
Data as of: 08/09/2026
Code MigrationCOBOL
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value68.571 %
27.143 %
Vals AI
Source details
Data as of: 08/09/2026
CorpFin v2Max Fitting Context
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value69.114 %
60.956 %
Vals AI
Source details
Data as of: 08/06/2026
EMBDataroom
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value84.909 %
48.286 %
Vals AI
Source details
Data as of: 08/06/2026
Finance Agent (v2)All-Pass
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value42.084 %
32.369 %
Vals AI
Source details
Data as of: 08/06/2026
GPQA DiamondZero-Shot CoT
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value90.404 %
81.313 %
Vals AI
Source details
Data as of: 08/09/2026
Legal Research BenchAdministrative / Regulatory · Weighted partial credit
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: weighted partial-credit scoreScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value87.81 %
69.72 %
Vals AI
Source details
Data as of: 08/06/2026
LiveCodeBench v6Hard
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value66.857 %
61.714 %
Vals AI
Source details
Data as of: 08/09/2026
LMArena Text, Style ControlChinese
Test details
No documented difference in the test setupNo clear leadVersion: style-control-v1Metric: style-controlled Bradley-Terry ratingScoring: Higher is betterClaude Sonnet 5: Snapshot: claude-sonnet-5-high, Reasoning: high, Harness: Arena text, style control
GPT-5.4 mini: Snapshot: gpt-5.4-mini-high, Reasoning: high, Harness: Arena text, style control
Claude Sonnet 5: Style-controlled Arena rating from 2,074 anonymous pairwise votes.GPT-5.4 mini: Style-controlled Arena rating from 3,298 anonymous pairwise votes.
No clear lead1,499.492
95% confidence interval: ±13.64The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
1,477.451
95% confidence interval: ±11.125The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
LMArena
Source details
Data as of: 09/01/2026
MMLU-ProBusiness
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value91.635 %
89.734 %
Vals AI
Source details
Data as of: 08/09/2026
MortgageTaxSemantic Extraction
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value61.367 %
47.615 %
Vals AI
Source details
Data as of: 08/09/2026
ProgramBenchFully Resolved
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
No direct winner0 %
No direct winner0 %
Vals AI
Source details
Data as of: 08/09/2026
SAGELinear Algebra
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 30,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 30,000 tokens
68.999 %
Higher measured value71.486 %
Vals AI
Source details
Data as of: 08/09/2026
SWE-bench Verified>4 hours
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value66.667 %
0 %
Vals AI
Source details
Data as of: 08/08/2026
TaxEval v2Stepwise Reasoning
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value87.244 %
79.395 %
Vals AI
Source details
Data as of: 08/09/2026
Terminal-Bench 2.1Hard
Test details
Test setup not documented as identicalNo direct winnerVersion: 2.1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: high, Output limit: 128,000 tokens
Higher measured value57.778 %
34.444 %
Vals AI
Source details
Data as of: 08/06/2026
Vals IndexFinance Agent v2
Test details
Test setup not documented as identicalNo direct winnerVersion: 1.2Metric: benchmark scoreScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value51.979 %
45.407 %
Vals AI
Source details
Data as of: 08/09/2026
Vals Multimodal IndexFinance Agent v2
Test details
Test setup not documented as identicalNo direct winnerVersion: 1.2Metric: benchmark scoreScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value51.979 %
45.407 %
Vals AI
Source details
Data as of: 08/09/2026
Code MigrationCode Quality
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: mean reviewer code-quality ratingScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value4.898 / 5
3.053 / 5
Vals AI
Source details
Data as of: 08/09/2026
CorpFin v2Shared Max Context
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value67.949 %
60.256 %
Vals AI
Source details
Data as of: 08/06/2026
EMBDCF
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value56.404 %
40.605 %
Vals AI
Source details
Data as of: 08/06/2026
Finance Agent (v2)Comparables
Test details
Test setup not documented as identicalNo direct winnerVersion: 2Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value45.817 %
40.273 %
Vals AI
Source details
Data as of: 08/06/2026
Legal Research BenchBusiness & Commercial · All-pass
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: all-pass rateScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value32.558 %
11.628 %
Vals AI
Source details
Data as of: 08/06/2026
LiveCodeBench v6Medium
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
81.984 %
Higher measured value84.856 %
Vals AI
Source details
Data as of: 08/09/2026
LMArena Text, Style ControlCoding
Test details
No documented difference in the test setupVersion: style-control-v1Metric: style-controlled Bradley-Terry ratingScoring: Higher is betterClaude Sonnet 5: Snapshot: claude-sonnet-5-high, Reasoning: high, Harness: Arena text, style control
GPT-5.4 mini: Snapshot: gpt-5.4-mini-high, Reasoning: high, Harness: Arena text, style control
Claude Sonnet 5: Style-controlled Arena rating from 8,576 anonymous pairwise votes.GPT-5.4 mini: Style-controlled Arena rating from 16,204 anonymous pairwise votes.
Winner1,520.647
95% confidence interval: ±7.348The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
1,495.819
95% confidence interval: ±6.028The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
LMArena
Source details
Data as of: 09/01/2026
MMLU-ProChemistry
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value90.813 %
89.134 %
Vals AI
Source details
Data as of: 08/09/2026
ProgramBenchRaw Pass Rate
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 128,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 128,000 tokens
Higher measured value72.067 %
54.375 %
Vals AI
Source details
Data as of: 08/09/2026
SAGEPartial Differential Equations
Test details
Test setup not documented as identicalNo direct winnerVersion: 1Metric: accuracyScoring: Higher is betterClaude Sonnet 5: Compute: max, Temperature: 1, Output limit: 30,000 tokens
GPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Reasoning: xhigh, Output limit: 30,000 tokens
Higher measured value42.857 %
39.683 %
Vals AI
Source details
Data as of: 08/09/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 Sonnet 5

Claude Sonnet 5: Pelican on a bicycle
A community classic for free-form SVG drawing.
First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
anthropic/claude-sonnet-5
API model reported in response
anthropic/claude-sonnet-5
Pinned endpoint
Anthropic | anthropic/claude-sonnet-5-20260630
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Passed, not a quality rating
Response time
47.9 s

Visually reviewed. This individual test does not establish overall model quality.

GPT-5.4 mini

The response reached the token limit. No complete recording is available.

First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
openai/gpt-5.4-mini
API model reported in response
openai/gpt-5.4-mini
Pinned endpoint
OpenAI | openai/gpt-5.4-mini-20260317
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Failed
Response time
67 s

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 Sonnet 5 and GPT-5.4 mini with other leading models using the same data and benchmark logic.

View the complete LLM comparison