Claude Sonnet 4.5 vs GPT-5 Codex
Claude Sonnet 4.5 and GPT-5 Codex are closely matched at 32.1 and 26.6 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.1 and 26.6.
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.
Individual benchmarks
9 reported for Claude Sonnet 4.5 · 1 for GPT-5 Codex
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).
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
GPT-5 Codex
License
Usage and distribution terms
Both models are licensed under proprietary licenses.
Both models have usage restrictions defined by their respective organizations.
Proprietary
Closed source
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.
Sep 29, 2025
11 months ago
2w newerSep 15, 2025
1.0 years 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).
Jan 2025
4 mo newerSep 2024
Outputs Comparison
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.
FAQ
Common questions about Claude Sonnet 4.5 vs GPT-5 Codex.