BenchLeader

Claude Sonnet 5 vs GPT-5.2-Codex

Verdict
  • Claude Sonnet 5 (high) and GPT-5.2-Codex are level on quality (61.4 vs 60.8).
  • Claude Sonnet 5 (high) is stronger in coding, composite, human preference, multimodal, reasoning.
  • GPT-5.2-Codex is stronger in agents & tools, knowledge, long context, instruction following.
  • Claude Sonnet 5 (high) is 1.2× cheaper ($4.00 vs $4.81 per 1M blended).
  • Claude Sonnet 5 (high) streams 2.4× faster (60 vs 25 tokens per second).
MetricClaude Sonnet 5 (high)GPT-5.2-Codex
BenchLeader Index61.460.8
Agents & tools score61.863.5
Coding score61.655.7
Composite score69.556.8
Human preference score66.2
Knowledge score62.463.1
Long context score64.867.8
Multimodal score63.160.7
Reasoning score66.8
Instruction following score75.1
Blended price $/M$4.00$4.81
Output speed60 tok/s25 tok/s
Time to first answer10.0 s6.7 s
Context window1M400k
Terminal-Bench66.5%
SciCode48.6%
WeirdML68.8%
APEX-Agents27.6%
LMArena Text1462
LMArena Hard Prompts1490
LMArena Coding1521
LMArena WebDev15381339
LMArena Vision1278
LMArena Agent6.3
LiveBench74.0%
LiveBench Reasoning77.7%
LiveBench Coding83.6%
LiveBench Agentic Coding49.4%
LiveBench Mathematics88.8%
LiveBench Data Analysis78.2%
LiveBench Language73.7%
AA Intelligence Index32.028.5
IFBench77.6%
AA-LCR76.7%82.3%
MMMU-Pro76.3%
AA-Omniscience-3.7-2.2
Terminal-Bench Hard37.1%
GPQA Diamond (AA)89.9%
Humanity's Last Exam (AA)35.7%35.7%
SciCode (AA)54.3%
τ²-Bench Telecom (AA)92.1%
LiveCodeBench88.0%
SWE-Bench Pro41.0%
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 Sonnet 5 vs GPT-5.2-Codex: questions

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