Skip to main content

Model comparison

Claude Opus 4.7 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.

71.63/100
Margin
12.5pts
← winning
59.08/100
0 category wins0 category wins

BenchAlign evidence: Claude Opus 4.7 supported; GPT-5.2-Codex supported. Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. Claude Opus 4.7 and GPT-5.2-Codex share 15 comparable benchmark results. 0 of 8 categories are comparable. 7 results are unique to Claude Opus 4.7; 1 to GPT-5.2-Codex.

Updated July 15, 2026
Shared results
15
Claude Opus 4.7 only
7
GPT-5.2-Codex only
1
Comparable categories
0 / 8

Benchmark data for Claude Opus 4.7 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 Opus 4.7 is priced at $5.00 input / $25.00 output per 1M tokens, versus $1.75 input / $14.00 output per 1M tokens for GPT-5.2-Codex. Claude Opus 4.7 has the larger context window at 1M, compared with 400K for GPT-5.2-Codex.

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 Opus 4.7 and GPT-5.2-Codex
CategoryClaude Opus 4.7ΔGPT-5.2-Codex
MathClaude Opus 4.738.6MarginNo overlapGPT-5.2-CodexNot measured

Operational comparison

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

MetricClaude Opus 4.7GPT-5.2-CodexComparison
Input / output priceUSD per 1M tokensClaude Opus 4.7$5 input / $25 outputGPT-5.2-Codex$1.75 input / $14 outputGPT-5.2-Codex has the lower combined listed price.
Generation speedtokens per secondClaude Opus 4.7Not availableGPT-5.2-Codex123 tok/sA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude Opus 4.7Not availableGPT-5.2-Codex87.34 sA complete latency comparison is not available.
Context windowmaximum listed tokensClaude Opus 4.71MGPT-5.2-Codex400KClaude Opus 4.7 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude Opus 4.7GPT-5.2-CodexResult
τ²-bench resultsSource 74%92.1%GPT-5.2-Codex leads
Gert LabsSource 65.59%51.79%Claude Opus 4.7 leads
ResearchClawBenchSource 20.7%Not comparable
OSWorld 2.0Source 13.9%Not comparable
JobBenchSource 26.0%Not comparable
Coding
BenchmarkClaude Opus 4.7GPT-5.2-CodexResult
Vibe Code BenchSource 71.00%37.91%Claude Opus 4.7 leads
React Native EvalsSource 82.8%Not comparable
Terminal-Bench HardSource 54.5%37.1%Claude Opus 4.7 leads
AA-SciCodeSource 50.1%54.6%GPT-5.2-Codex leads
FrontierCodeSource 38.5%Not comparable
Reasoning
BenchmarkClaude Opus 4.7GPT-5.2-CodexResult
AA-LCRSource 67.0%75.7%GPT-5.2-Codex leads
CritPtSource 5.1%8.7%GPT-5.2-Codex leads
Knowledge
BenchmarkClaude Opus 4.7GPT-5.2-CodexResult
Artificial Analysis Intelligence IndexSource 42.7%40.1%Claude Opus 4.7 leads
AA-GPQA DiamondSource 88.5%89.9%GPT-5.2-Codex leads
AA-HLESource 31.2%33.5%GPT-5.2-Codex leads
AA-Omniscience IndexSource 14.2%-2.5%Claude Opus 4.7 leads
AA-Omniscience AccuracySource 43.5%40.7%Claude Opus 4.7 leads
AA-Omniscience Hallucination RateSource 51.9%72.8%Claude Opus 4.7 leads
Math
BenchmarkClaude Opus 4.7GPT-5.2-CodexResult
FrontierMath v2 (Tiers 1-3)Source 43.793%Not comparable
FrontierMath v2 (Tier 4)Source 22.917%Not comparable
Multimodal
BenchmarkClaude Opus 4.7GPT-5.2-CodexResult
AA-MMMU-ProSource 76.4%76.3%Claude Opus 4.7 leads
Design Arena WebsiteSource 1328Not comparable
Inst. Following
BenchmarkClaude Opus 4.7GPT-5.2-CodexResult
AA-IFBenchSource 43.6%77.6%GPT-5.2-Codex leads
Frequently Asked Questions (3)

Can I compare Claude Opus 4.7 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 Opus 4.7 and GPT-5.2-Codex today?

Claude Opus 4.7: $5.00 input / $25.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 15, 2026

The AI models change fast. We track them for you.

A weekly brief for engineers and researchers covering new models, ranking shifts, and pricing changes.

Free. No spam. Unsubscribe anytime.