# Claude Sonnet 5 vs GPT-5.2-Codex

> Side-by-side benchmark comparison for Claude Sonnet 5 and GPT-5.2-Codex across agentic, coding, multimodal, knowledge, reasoning, multilingual, and math tasks.

- Canonical page: https://benchlm.ai/compare/claude-sonnet-5-vs-gpt-5-2-codex
- Last updated: September 29, 2026

- Shared sourced benchmarks: 2
- HTML indexing: indexable
- Ranking lane: BenchAlign v5.7

## Quick Verdict

Evidence is too thin for a benchmark verdict: Claude Sonnet 5 and GPT-5.2-Codex share only 2 sourced benchmark rows.

## Summary

- Only 2 shared sourced benchmark rows are available. That is not enough for a broad capability verdict, so this mirror does not name an overall winner.
- Claude Sonnet 5 has the lower published output-token price.
- Claude Sonnet 5 has the larger published context window at 1M.

## Model Snapshot

| Property | Claude Sonnet 5 | GPT-5.2-Codex |
|----------|----------|----------|
| Creator | Anthropic | OpenAI |
| Type | Proprietary | Proprietary |
| Reasoning | Reasoning | Reasoning |
| Context | 1M | 400K |
| Independent public score (not head-to-head) | 66.99 | 50.1 |
| Benchmarks Covered | 26 | 5 |
| Pricing (input/output) | $2.00 / $10.00 | $1.75 / $14.00 |

## Category Breakdown

### Agentic

- Winner: Insufficient shared evidence
- Claude Sonnet 5 public-lane score: 64.6 (Supported · #12/117)
- GPT-5.2-Codex public-lane score: 34.6 (Estimated · #67/117)

| Benchmark | Claude Sonnet 5 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| Terminal-Bench 3.0 | 14.6% | Coming soon | Coming soon |
| Terminal-Bench 2.1 | 80.4% | Coming soon | Coming soon |
| BrowseComp | 84.7% | Coming soon | Coming soon |
| HLE w/ tools | 57.4% | Coming soon | Coming soon |
| OSWorld-Verified | 81.2% | Coming soon | Coming soon |
| Terminal-Bench 2.1 (Vals) | 74.5% | Coming soon | Coming soon |
| ApprenticeBench | 16% | Coming soon | Coming soon |
| Gert Labs | Coming soon | 51.79% | Coming soon |
| JobBench | Coming soon | 26.0% | Coming soon |

### Coding

- Winner: Insufficient shared evidence
- Claude Sonnet 5 public-lane score: 59.8 (Supported · #19/142)
- GPT-5.2-Codex public-lane score: 45.2 (Supported · #51/142)

| Benchmark | Claude Sonnet 5 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| SWE-bench Verified | 85.2% | Coming soon | Coming soon |
| SWE-bench Pro | 63.2% | Coming soon | Coming soon |
| SWE Multilingual | 78.3% | Coming soon | Coming soon |
| SWE Multimodal | 28.1% | Coming soon | Coming soon |
| Terminal-Bench 2.1 | 80.4% | Coming soon | Coming soon |
| FrontierCode 1.1 Main | 42.7% | Coming soon | Coming soon |
| cursorBench32 | 61.5% | Coming soon | Coming soon |
| VulcanBench CII v1 | 89.2% | Coming soon | Coming soon |
| LiveCodeBench (Vals) | 82.4% | 88.0% | GPT-5.2-Codex |
| SWE-bench (Vals) | 79.6% | 72.4% | Claude Sonnet 5 |
| cursorBench40 | 34.1% | Coming soon | Coming soon |
| Vibe Code Bench | Coming soon | 37.91% | Coming soon |

### Reasoning

- Winner: Insufficient shared evidence
- Claude Sonnet 5 public-lane score: 78.7 (Unranked · 2 rankable rows)
- GPT-5.2-Codex public-lane score: 78.9 (Unranked · 2 rankable rows)

### Multimodal & Grounded

- Winner: Insufficient shared evidence
- Claude Sonnet 5 public-lane score: 78.4 (#15/50)
- GPT-5.2-Codex public-lane score: 73.5 (Unranked · 1 rankable row)

| Benchmark | Claude Sonnet 5 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| CharXiv | 88.3% | Coming soon | Coming soon |
| CharXiv w/o tools | 77% | Coming soon | Coming soon |

### Knowledge

- Winner: Insufficient shared evidence
- Claude Sonnet 5 public-lane score: 64.5 (Supported · #26/168)
- GPT-5.2-Codex public-lane score: 52.1 (Estimated · #59/168)

| Benchmark | Claude Sonnet 5 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| HLE | 57.4% | Coming soon | Coming soon |
| HLE w/o tools | 43.2% | Coming soon | Coming soon |
| HLE-Verified | 31.0% | Coming soon | Coming soon |
| LABBench2 | 80.1% | Coming soon | Coming soon |
| GPQA Diamond (Vals) | 88.9% | Coming soon | Coming soon |
| MMLU-Pro (Vals) | 87.5% | Coming soon | Coming soon |

### Instruction Following

- Winner: Insufficient shared evidence
- Claude Sonnet 5 public-lane score: Coming soon
- GPT-5.2-Codex public-lane score: 92.4 (#3/124)

## FAQ

### Is there enough evidence to pick between Claude Sonnet 5 and GPT-5.2-Codex?

Not yet. The models share only 2 sourced benchmark rows, so this mirror reports the available measurements and metadata without naming a broad winner.

### What can I compare safely on this page?

Published pricing, context windows, model type, and individual shared benchmark rows are directly comparable. Independent overall scores and non-overlapping benchmark coverage are labeled separately and should not be read as a controlled head-to-head result.

## Related Comparisons

- [Claude Sonnet 5 vs GPT-6 Astra](/compare/claude-sonnet-5-vs-gpt-6-astra)
- [GPT-5.2-Codex vs GPT-6 Astra](/compare/gpt-5-2-codex-vs-gpt-6-astra)
- [Claude Sonnet 5 vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-claude-sonnet-5)
- [GPT-5.2-Codex vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-gpt-5-2-codex)

## Explore More

- [Claude Sonnet 5 profile](/models/claude-sonnet-5)
- [GPT-5.2-Codex profile](/models/gpt-5-2-codex)
- [Compare Pricing](/llm-pricing)
- [Alternative Finder](/tools/alternative-finder)
- [LLM Selector](/tools/llm-selector)
- [Overall Rankings](/best/overall)
