Skip to main content

Model comparison

Claude Sonnet 4.6 vs GPT-5.2-Codex

Data verified

Head-to-head evidence from 15 shared benchmark results across 6 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.

65.07/100
Margin
6.0pts
← winning
59.1/100
0 category wins0 category wins

Public leaderboard positions: Claude Sonnet 4.6 #32 (Supported); 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.6 and GPT-5.2-Codex share 15 comparable benchmark results. 0 of 8 categories are comparable. 18 results are unique to Claude Sonnet 4.6; 0 to GPT-5.2-Codex.

Updated July 20, 2026
Shared results
15
Claude Sonnet 4.6 only
18
GPT-5.2-Codex only
0
Comparable categories
0 / 8

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

Confidence note. This is a partial-evidence comparison with 15 shared benchmark results across 6 evidence categories; 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.6 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.6.

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.6 and GPT-5.2-Codex
CategoryClaude Sonnet 4.6ΔGPT-5.2-Codex
AgenticClaude Sonnet 4.665.2MarginNo overlapGPT-5.2-CodexNot measured
CodingClaude Sonnet 4.669.1MarginNo overlapGPT-5.2-CodexNot measured
KnowledgeClaude Sonnet 4.666.0MarginNo overlapGPT-5.2-CodexNot measured
MathClaude Sonnet 4.626.4MarginNo overlapGPT-5.2-CodexNot measured
MultimodalClaude Sonnet 4.677.4MarginNo 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.6GPT-5.2-CodexComparison
Input / output priceUSD per 1M tokensClaude Sonnet 4.6$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.644 tok/sGPT-5.2-Codex123 tok/sGPT-5.2-Codex has the higher measured throughput.
First-answer latencyseconds to first tokenClaude Sonnet 4.61.48 sGPT-5.2-Codex87.34 sClaude Sonnet 4.6 reaches the first token sooner.
Context windowmaximum listed tokensClaude Sonnet 4.6200KGPT-5.2-Codex400KGPT-5.2-Codex lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude Sonnet 4.6GPT-5.2-CodexResult
Terminal-Bench 2.0Source 59.1%Not comparable
OSWorld-VerifiedSource 72.1%Not comparable
Claw-EvalSource 67.8%Not comparable
CyberGymSource 65.2%Not comparable
τ²-bench resultsSource 79.5%92.1%GPT-5.2-Codex leads
Gert LabsSource 62.92%51.79%Claude Sonnet 4.6 leads
OSWorld 2.0Source 8.3%Not comparable
JobBenchSource 36.9%26.0%Claude Sonnet 4.6 leads
Coding
BenchmarkClaude Sonnet 4.6GPT-5.2-CodexResult
SWE-bench VerifiedSource 79.6%Not comparable
SWE-RebenchSource 60.7%Not comparable
React Native EvalsSource 80.6%Not comparable
Vibe Code BenchSource 51.48%37.91%Claude Sonnet 4.6 leads
cursorBench31Source 48.8%Not comparable
AA-SciCodeSource 46.9%54.6%GPT-5.2-Codex leads
FrontierCode 1.1 MainSource 24.3%Not comparable
Reasoning
BenchmarkClaude Sonnet 4.6GPT-5.2-CodexResult
AA-LCRSource 57.7%75.7%GPT-5.2-Codex leads
CritPtSource 0.9%8.7%GPT-5.2-Codex leads
Knowledge
BenchmarkClaude Sonnet 4.6GPT-5.2-CodexResult
GPQASource 89.9%Not comparable
SuperGPQASource 95%Not comparable
MMLU-ProSource 79.2%Not comparable
HLESource 49%Not comparable
Artificial Analysis Intelligence IndexSource 35.9%40.1%GPT-5.2-Codex leads
AA-GPQA DiamondSource 79.9%89.9%GPT-5.2-Codex leads
AA-HLESource 13.2%33.5%GPT-5.2-Codex leads
AA-Omniscience IndexSource -2.9%-2.5%GPT-5.2-Codex leads
AA-Omniscience AccuracySource 38.0%40.7%GPT-5.2-Codex leads
AA-Omniscience Hallucination RateSource 65.9%72.8%Claude Sonnet 4.6 leads
Math
BenchmarkClaude Sonnet 4.6GPT-5.2-CodexResult
FrontierMath v2 (Tiers 1-3)Source 32.400%Not comparable
FrontierMath v2 (Tier 4)Source 8.300%Not comparable
Multimodal
BenchmarkClaude Sonnet 4.6GPT-5.2-CodexResult
CharXivSource 77.4%Not comparable
AA-MMMU-ProSource 70.6%76.3%GPT-5.2-Codex leads
Design Arena WebsiteSource 1317Not comparable
Inst. Following
BenchmarkClaude Sonnet 4.6GPT-5.2-CodexResult
AA-IFBenchSource 41.2%77.6%GPT-5.2-Codex leads
Frequently Asked Questions (3)

Can I compare Claude Sonnet 4.6 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.6 and GPT-5.2-Codex today?

Claude Sonnet 4.6: $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.