# Claude Sonnet 4.5 vs GPT-5.1-Codex

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

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

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

## Quick Verdict

Evidence is too thin for a benchmark verdict: Claude Sonnet 4.5 and GPT-5.1-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.
- GPT-5.1-Codex has the lower published output-token price.
- GPT-5.1-Codex has the larger published context window at 400K.

## Model Snapshot

| Property | Claude Sonnet 4.5 | GPT-5.1-Codex |
|----------|----------|----------|
| Creator | Anthropic | OpenAI |
| Type | Proprietary | Proprietary |
| Reasoning | Non-Reasoning | Reasoning |
| Context | 200K | 400K |
| Independent public score (not head-to-head) | 53.74 | 51.62 |
| Benchmarks Covered | 11 | 3 |
| Pricing (input/output) | $3.00 / $15.00 | $1.25 / $10.00 |

## Category Breakdown

### Agentic

- Winner: Insufficient shared evidence
- Claude Sonnet 4.5 public-lane score: 44.6 (Estimated · #100/151)
- GPT-5.1-Codex public-lane score: 51.4 (Estimated · #54/151)

| Benchmark | Claude Sonnet 4.5 | GPT-5.1-Codex | Winner |
|-----------|-----------|-----------|--------|
| Terminal-Bench 2.0 | 50% | Coming soon | Coming soon |
| OSWorld-Verified | 61.4% | Coming soon | Coming soon |
| VITA-Bench | 17.0% | Coming soon | Coming soon |
| Gert Labs | 48.51% | 49.68% | GPT-5.1-Codex |
| JobBench | 27.7% | 26.2% | Claude Sonnet 4.5 |

### Coding

- Winner: Insufficient shared evidence
- Claude Sonnet 4.5 public-lane score: 51 (Estimated · #67/183)
- GPT-5.1-Codex public-lane score: 47.4 (Estimated · #89/183)

| Benchmark | Claude Sonnet 4.5 | GPT-5.1-Codex | Winner |
|-----------|-----------|-----------|--------|
| SWE-bench Verified | 77.2% | Coming soon | Coming soon |
| Vibe Code Bench | Coming soon | 13.12% | Coming soon |

### Multimodal & Grounded

- Winner: Insufficient shared evidence
- Claude Sonnet 4.5 public-lane score: Coming soon
- GPT-5.1-Codex public-lane score: 66.8 (Unranked · 1 rankable row)

### Reasoning

- Winner: Insufficient shared evidence
- Claude Sonnet 4.5 public-lane score: 19.1 (Unranked · 1 rankable row)
- GPT-5.1-Codex public-lane score: 70.6 (Unranked · 2 rankable rows)

| Benchmark | Claude Sonnet 4.5 | GPT-5.1-Codex | Winner |
|-----------|-----------|-----------|--------|
| ARC-AGI-2 | 13.6% | Coming soon | Coming soon |

### Knowledge

- Winner: Insufficient shared evidence
- Claude Sonnet 4.5 public-lane score: 51.5 (Estimated · #81/181)
- GPT-5.1-Codex public-lane score: 53.3 (Estimated · #69/181)

| Benchmark | Claude Sonnet 4.5 | GPT-5.1-Codex | Winner |
|-----------|-----------|-----------|--------|
| GPQA | 83.4% | Coming soon | Coming soon |

### Instruction Following

- Winner: Insufficient shared evidence
- Claude Sonnet 4.5 public-lane score: Coming soon
- GPT-5.1-Codex public-lane score: 85.3 (#42/120)

### Mathematics

- Winner: Insufficient shared evidence
- Claude Sonnet 4.5 public-lane score: 34.8 (Unranked · 2 rankable rows)
- GPT-5.1-Codex public-lane score: Coming soon

| Benchmark | Claude Sonnet 4.5 | GPT-5.1-Codex | Winner |
|-----------|-----------|-----------|--------|
| AIME 2025 | 87% | Coming soon | Coming soon |
| FrontierMath v2 (Tiers 1-3) | 13.495% | Coming soon | Coming soon |
| FrontierMath v2 (Tier 4) | 4.167% | Coming soon | Coming soon |

## FAQ

### Is there enough evidence to pick between Claude Sonnet 4.5 and GPT-5.1-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 4.5 vs Claude Sonnet 4.5 Thinking](/compare/claude-sonnet-4-5-vs-claude-sonnet-4-5-thinking)
- [GPT-5.1-Codex vs Claude Sonnet 4.5 Thinking](/compare/claude-sonnet-4-5-thinking-vs-gpt-5-1-codex)
- [Claude Sonnet 4.5 vs Claude Fable 5.1](/compare/claude-fable-5-1-vs-claude-sonnet-4-5)
- [GPT-5.1-Codex vs Claude Fable 5.1](/compare/claude-fable-5-1-vs-gpt-5-1-codex)

## Explore More

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