Model Comparison
Claude 3 Sonnet vs GPT-5 CodexWhich is better in 2026?
Comparing Claude 3 Sonnet and GPT-5 Codex across benchmarks, pricing, and capabilities.
Verdict: Claude 3 Sonnet vs GPT-5 Codex — which is better?
Claude 3 Sonnet (by Anthropic) and GPT-5 Codex (by OpenAI) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.
Choose Claude 3 Sonnet if…
- you want predictable pricing at $3.00/M input and $15.00/M output
Choose GPT-5 Codex if…
- you want the most recent training data — it shipped Sep 2025
Performance Benchmarks
Comparative analysis across standard metrics
Claude 3 Sonnet and GPT-5 Codexdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.
Arena Performance
Human preference votes
Context Window
Maximum input and output token capacity
Only Claude 3 Sonnet specifies input context (200,000 tokens). Only Claude 3 Sonnet specifies output context (200,000 tokens).
Input Capabilities
Supported data types and modalities
Claude 3 Sonnet supports multimodal inputs, whereas GPT-5 Codex does not.
Claude 3 Sonnet can handle both text and other forms of data like images, making it suitable for multimodal applications.
Claude 3 Sonnet
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 3 Sonnet was released on 2024-02-29, while GPT-5 Codex was released on 2025-09-15.
GPT-5 Codex is 19 months newer than Claude 3 Sonnet.
Feb 29, 2024
2.3 years ago
Sep 15, 2025
9 months ago
1.5yr newerKnowledge Cutoff
When training data ends
GPT-5 Codex has a documented knowledge cutoff of 2024-09-30, while Claude 3 Sonnet's cutoff date is not specified.
We can confirm GPT-5 Codex's training data extends to 2024-09-30, but cannot make a direct comparison without Claude 3 Sonnet's cutoff date.
—
Sep 2024
Outputs Comparison
Key Takeaways
Claude 3 Sonnet
View detailsAnthropic
GPT-5 Codex
View detailsOpenAI
No standout differentiators in the data we have for this pair.
Detailed Comparison
| Feature |
|---|
FAQ
Common questions about Claude 3 Sonnet vs GPT-5 Codex.