The AI arena is free today

Open Superagent

Claude Sonnet 4.5 vs GPT-5 Codex

Claude Sonnet 4.5 and GPT-5 Codex are closely matched at 32.4 and 26.8 on the LLM Stats Score.

Anthropic · OpenAI · Updated for 2026

Which is better?

Claude Sonnet 4.5 and GPT-5 Codex are closely matched on the overall LLM Stats Score at 32.4 and 26.8.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Claude Sonnet 4.5

  • you want the most recent training data — it shipped Sep 2025

Choose GPT-5 Codex

  • you are already invested in the OpenAI ecosystem

At a glance

The differences that matter most.

Core performance indexes
32.4
#98
26.8
#138
31.5
#100
26.7
#137
21.7
#81
19.4
#99
Cost, coverage & limits
Benchmark wins
Input price
$3.00 / M
— / M
Output price
$15.00 / M
— / M
Context window
200,000

Individual benchmarks

9 reported for Claude Sonnet 4.5 · 1 for GPT-5 Codex

No common benchmarks found

Claude Sonnet 4.5 and GPT-5 Codexdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Context Window

Maximum input and output token capacity

Only Claude Sonnet 4.5 specifies input context (200,000 tokens). Only Claude Sonnet 4.5 specifies output context (64,000 tokens).

Anthropic
Claude Sonnet 4.5
Input200,000 tokens
Output64,000 tokens
OpenAI
GPT-5 Codex
Input- tokens
Output- tokens
Sun Sep 06 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Claude Sonnet 4.5 supports multimodal inputs, whereas GPT-5 Codex does not.

Claude Sonnet 4.5 can handle both text and other forms of data like images, making it suitable for multimodal applications.

Claude Sonnet 4.5

Text
Images
Audio
Video

GPT-5 Codex

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude Sonnet 4.5

Proprietary

Closed source

GPT-5 Codex

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4.5 was released on 2025-09-29, while GPT-5 Codex was released on 2025-09-15.

Claude Sonnet 4.5 is 0 month newer than GPT-5 Codex.

Claude Sonnet 4.5

Sep 29, 2025

11 months ago

2w newer
GPT-5 Codex

Sep 15, 2025

11 months ago

Knowledge Cutoff

When training data ends

Claude Sonnet 4.5 has a knowledge cutoff of 2025-01-31, while GPT-5 Codex has a cutoff of 2024-09-30.

Claude Sonnet 4.5 has more recent training data (up to 2025-01-31), making it potentially better informed about events through that date compared to GPT-5 Codex (2024-09-30).

Claude Sonnet 4.5

Jan 2025

4 mo newer
GPT-5 Codex

Sep 2024

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Claude Sonnet 4.5 and GPT-5 Codex side-by-side, then vote on the output you prefer.

Claude Sonnet 4.5
✓ Preferred
GPT-5 Codex
Open in Playground

FAQ

Common questions about Claude Sonnet 4.5 vs GPT-5 Codex.

Which is better, Claude Sonnet 4.5 or GPT-5 Codex?

Claude Sonnet 4.5 and GPT-5 Codex are closely matched on the LLM Stats Score at 32.4 and 26.8. Claude Sonnet 4.5 is made by Anthropic and GPT-5 Codex is made by OpenAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Claude Sonnet 4.5 compare to GPT-5 Codex in benchmarks?

Claude Sonnet 4.5 scores MMMLU: 89.1%, AIME 2025: 87.0%, TAU-bench Retail: 86.2%, GPQA: 83.4%, MMMUval: 77.8%. GPT-5 Codex scores SWE-Bench Verified: 74.5%.

What are the context window sizes for Claude Sonnet 4.5 and GPT-5 Codex?

Claude Sonnet 4.5 supports 200K tokens and GPT-5 Codex supports an unknown number of tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude Sonnet 4.5 and GPT-5 Codex?

Key differences include LLM Stats Score (32.4 vs 26.8), multimodal support (yes vs no). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Sonnet 4.5 and GPT-5 Codex?

Claude Sonnet 4.5 is developed by Anthropic and GPT-5 Codex is developed by OpenAI.