BenchLeader

Claude Opus 4.7 vs GPT-5.2-Codex

Verdict
  • Claude Opus 4.7 leads on quality: 65.6 vs 60.8.
  • Claude Opus 4.7 is stronger in agents & tools, coding, composite, human preference, knowledge, maths, multimodal, reasoning.
  • GPT-5.2-Codex is stronger in instruction following, long context.
  • GPT-5.2-Codex is 2.1× cheaper ($4.81 vs $10.00 per 1M blended).
  • Claude Opus 4.7 streams 1.7× faster (43 vs 25 tokens per second).
MetricClaude Opus 4.7GPT-5.2-Codex
BenchLeader Index65.660.8
Agents & tools score69.463.5
Coding score64.855.7
Composite score80.456.8
Human preference score69.1
Instruction following score58.775.1
Knowledge score66.563.1
Long context score65.967.8
Maths score65.4
Multimodal score65.760.7
Reasoning score66.6
Blended price $/M$10.00$4.81
Output speed43 tok/s25 tok/s
Time to first answer21.7 s6.7 s
Context window1M400k
Humanity's Last Exam36.2%
Terminal-Bench80.2%66.5%
SimpleBench61.7%
WeirdML76.4%
APEX-Agents27.6%
FrontierCode38.5%
GSO-Bench44.1%
Epoch Capabilities Index156.3
LMArena Text1495
LMArena Hard Prompts1519
LMArena Coding1547
LMArena WebDev15571339
LMArena Vision1317
LiveBench74.0%
LiveBench Reasoning77.7%
LiveBench Coding83.6%
LiveBench Agentic Coding49.4%
LiveBench Mathematics88.8%
LiveBench Data Analysis78.2%
LiveBench Language73.7%
AA Intelligence Index40.728.5
IFBench58.6%77.6%
AA-LCR78.7%82.3%
MMMU-Pro78.8%76.3%
AA-Omniscience27.3-2.2
Terminal-Bench Hard51.5%37.1%
GPQA Diamond (AA)91.4%89.9%
Humanity's Last Exam (AA)42.3%35.7%
τ²-Bench Telecom (AA)88.6%92.1%
AIME (Vals)96.3%
LiveCodeBench85.1%88.0%
MMLU-Pro89.9%
IOI47.1%
LegalBench85.3%
CorpFin66.1%
TaxEval75.3%
Terminal-Bench 2.1 (Vals)68.5%
SWE-bench (Vals)82.0%
GPQA Diamond (Vals)90.2%
Vals Index56.1
SWE-Bench Pro41.0%
HiL-Bench41.7%
EQ-Bench 41311
Kagi LLM Benchmark73.3%
SWE-bench Verified (bash only)72.8%
SWE-bench Verified (any scaffold)72.8%

Data as of 2026-09-10. Best configuration of each model; every score links to its source on the model pages.

Claude Opus 4.7 vs GPT-5.2-Codex: questions

Is Claude Opus 4.7 better than GPT-5.2-Codex?
Claude Opus 4.7 leads on quality: 65.6 vs 60.8. The BenchLeader Index combines every independent quality benchmark; Claude Opus 4.7 is ahead overall as of 2026-09-10, but check the category scores for your use.
Is Claude Opus 4.7 better than GPT-5.2-Codex for coding?
Claude Opus 4.7 scores higher in coding (65 vs 56 on the category index, where 50 is average).
Is Claude Opus 4.7 better than GPT-5.2-Codex for agentic tasks?
Claude Opus 4.7 scores higher in agentic tasks (69 vs 64 on the category index, where 50 is average).
Which is cheaper, Claude Opus 4.7 or GPT-5.2-Codex?
GPT-5.2-Codex is cheaper: $4.81 against $10.00 per million tokens, blended at three input tokens per output token.
Which is faster, Claude Opus 4.7 or GPT-5.2-Codex?
Claude Opus 4.7 streams faster: 43 against 25 output tokens per second.
Which has the larger context window?
Claude Opus 4.7 accepts more context: 1M against 400k tokens.