Skip to main content

Model comparison

Claude Sonnet 4.5 vs GPT-5.2-Codex

Data verified

Head-to-head evidence from 2 shared benchmark results across 1 category. Overall scores shown here use the public BenchAlign v5 ranking lane.

53.61/100
Margin
5.5pts
winning →
59.1/100
0 category wins0 category wins

Public leaderboard positions: Claude Sonnet 4.5 #96 (Estimated); GPT-5.2-Codex #58 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. Claude Sonnet 4.5 and GPT-5.2-Codex share 2 comparable benchmark results. 0 of 8 categories are comparable. 10 results are unique to Claude Sonnet 4.5; 13 to GPT-5.2-Codex.

Updated July 20, 2026
Shared results
2
Claude Sonnet 4.5 only
10
GPT-5.2-Codex only
13
Comparable categories
0 / 8

Benchmark data for Claude Sonnet 4.5 and GPT-5.2-Codex is coming soon on BenchLM.

Confidence note. This is a partial-evidence comparison with 2 shared benchmark results across 1 evidence category; 0 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.

Why this result

BenchLM has partial data for these models, but not enough overlapping benchmark coverage to produce a fair score-level comparison yet.

Claude Sonnet 4.5 is priced at $3.00 input / $15.00 output per 1M tokens, versus $1.75 input / $14.00 output per 1M tokens for GPT-5.2-Codex. GPT-5.2-Codex has the larger context window at 400K, compared with 200K for Claude Sonnet 4.5.

Category breakdown

Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.

Category scores and score margins for Claude Sonnet 4.5 and GPT-5.2-Codex
CategoryClaude Sonnet 4.5ΔGPT-5.2-Codex
AgenticClaude Sonnet 4.555.4MarginNo overlapGPT-5.2-CodexNot measured
CodingClaude Sonnet 4.577.2MarginNo overlapGPT-5.2-CodexNot measured
ReasoningClaude Sonnet 4.513.6MarginNo overlapGPT-5.2-CodexNot measured
KnowledgeClaude Sonnet 4.583.4MarginNo overlapGPT-5.2-CodexNot measured
MathClaude Sonnet 4.511.2MarginNo overlapGPT-5.2-CodexNot measured

Operational comparison

Runtime and commercial metrics are compared only when both models have a complete sourced value.

MetricClaude Sonnet 4.5GPT-5.2-CodexComparison
Input / output priceUSD per 1M tokensClaude Sonnet 4.5$3 input / $15 outputGPT-5.2-Codex$1.75 input / $14 outputGPT-5.2-Codex has the lower combined listed price.
Generation speedtokens per secondClaude Sonnet 4.5Not availableGPT-5.2-Codex123 tok/sA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude Sonnet 4.5Not availableGPT-5.2-Codex87.34 sA complete latency comparison is not available.
Context windowmaximum listed tokensClaude Sonnet 4.5200KGPT-5.2-Codex400KGPT-5.2-Codex lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude Sonnet 4.5GPT-5.2-CodexResult
Terminal-Bench 2.0Source 50%Not comparable
OSWorld-VerifiedSource 61.4%Not comparable
VITA-BenchSource 17.0%Not comparable
Gert LabsSource 48.51%51.79%GPT-5.2-Codex leads
JobBenchSource 27.7%26.0%Claude Sonnet 4.5 leads
τ²-bench resultsSource 92.1%Not comparable
Coding
BenchmarkClaude Sonnet 4.5GPT-5.2-CodexResult
SWE-bench VerifiedSource 77.2%Not comparable
Vibe Code BenchSource 37.91%Not comparable
AA-SciCodeSource 54.6%Not comparable
Reasoning
BenchmarkClaude Sonnet 4.5GPT-5.2-CodexResult
ARC-AGI-2Source 13.6%Not comparable
AA-LCRSource 75.7%Not comparable
CritPtSource 8.7%Not comparable
Knowledge
BenchmarkClaude Sonnet 4.5GPT-5.2-CodexResult
GPQASource 83.4%Not comparable
Artificial Analysis Intelligence IndexSource 40.1%Not comparable
AA-GPQA DiamondSource 89.9%Not comparable
AA-HLESource 33.5%Not comparable
AA-Omniscience IndexSource -2.5%Not comparable
AA-Omniscience AccuracySource 40.7%Not comparable
AA-Omniscience Hallucination RateSource 72.8%Not comparable
Math
BenchmarkClaude Sonnet 4.5GPT-5.2-CodexResult
AIME 2025Source 87%Not comparable
FrontierMath v2 (Tiers 1-3)Source 13.495%Not comparable
FrontierMath v2 (Tier 4)Source 4.167%Not comparable
Multimodal
BenchmarkClaude Sonnet 4.5GPT-5.2-CodexResult
Design Arena WebsiteSource 1222Not comparable
AA-MMMU-ProSource 76.3%Not comparable
Inst. Following
BenchmarkClaude Sonnet 4.5GPT-5.2-CodexResult
AA-IFBenchSource 77.6%Not comparable
Frequently Asked Questions (3)

Can I compare Claude Sonnet 4.5 and GPT-5.2-Codex on BenchLM yet?

Not fully yet. BenchLM is tracking both models, but the sourced benchmark breakdown for this comparison is still coming soon.

Why does this comparison show “coming soon”?

BenchLM only shows category winners and benchmark-level calls when we have sourced results that can be compared fairly. For these models, the public benchmark coverage is not complete enough yet.

What data is available for Claude Sonnet 4.5 and GPT-5.2-Codex today?

Claude Sonnet 4.5: $3.00 input / $15.00 output per 1M tokens GPT-5.2-Codex: $1.75 input / $14.00 output per 1M tokens Both model pages still include creator, context window, reasoning mode, and other metadata while benchmark coverage fills in.

Related Comparisons

Last updated: July 20, 2026

Choose a model with this week’s evidence

Join 2,000+ readers for ranking moves, pricing changes, and the claims that still need proof.

One email each week. Unsubscribe anytime.