Skip to main content

Model comparison

Claude Opus 4.7 vs GPT-5.1-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.94/100
Margin
19.2pts
← winning
52.72/100
0 category wins0 category wins

Public leaderboard positions: Claude Opus 4.7 #12 (Supported); GPT-5.1-Codex #99 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

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

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

Benchmark data for Claude Opus 4.7 and GPT-5.1-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 has the larger context window at 1M, compared with 400K for GPT-5.1-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.1-Codex
CategoryClaude Opus 4.7ΔGPT-5.1-Codex
MathClaude Opus 4.738.6MarginNo overlapGPT-5.1-CodexNot measured

Operational comparison

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

MetricClaude Opus 4.7GPT-5.1-CodexComparison
Input / output priceUSD per 1M tokensClaude Opus 4.7$5 input / $25 outputGPT-5.1-CodexNot availableA complete price comparison is not available.
Generation speedtokens per secondClaude Opus 4.7Not availableGPT-5.1-CodexNot availableA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude Opus 4.7Not availableGPT-5.1-CodexNot availableA complete latency comparison is not available.
Context windowmaximum listed tokensClaude Opus 4.71MGPT-5.1-Codex400KClaude Opus 4.7 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude Opus 4.7GPT-5.1-CodexResult
τ²-bench resultsSource 74%83%GPT-5.1-Codex leads
Gert LabsSource 65.59%49.68%Claude Opus 4.7 leads
ResearchClawBenchSource 20.7%Not comparable
OSWorld 2.0Source 13.9%Not comparable
JobBenchSource 26.2%Not comparable
Coding
BenchmarkClaude Opus 4.7GPT-5.1-CodexResult
Vibe Code BenchSource 71.00%13.12%Claude Opus 4.7 leads
React Native EvalsSource 82.8%Not comparable
AA-SciCodeSource 50.1%40.2%Claude Opus 4.7 leads
FrontierCode 1.1 MainSource 38.5%Not comparable
Reasoning
BenchmarkClaude Opus 4.7GPT-5.1-CodexResult
AA-LCRSource 67.0%67.3%GPT-5.1-Codex leads
CritPtSource 5.1%5.7%GPT-5.1-Codex leads
Knowledge
BenchmarkClaude Opus 4.7GPT-5.1-CodexResult
Artificial Analysis Intelligence IndexSource 42.7%34.7%Claude Opus 4.7 leads
AA-GPQA DiamondSource 88.5%86.0%Claude Opus 4.7 leads
AA-HLESource 31.2%23.4%Claude Opus 4.7 leads
AA-Omniscience IndexSource 14.2%-6.0%Claude Opus 4.7 leads
AA-Omniscience AccuracySource 43.5%39.2%Claude Opus 4.7 leads
AA-Omniscience Hallucination RateSource 51.9%74.4%Claude Opus 4.7 leads
Math
BenchmarkClaude Opus 4.7GPT-5.1-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.1-CodexResult
AA-MMMU-ProSource 76.4%72.5%Claude Opus 4.7 leads
Design Arena WebsiteSource 13251191Claude Opus 4.7 leads
Inst. Following
BenchmarkClaude Opus 4.7GPT-5.1-CodexResult
AA-IFBenchSource 43.6%70.0%GPT-5.1-Codex leads
Frequently Asked Questions (3)

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

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