Claude 3.5 SonnetvsGPT-5-Codex
Claude 3.5 Sonnet | GPT-5-Codex | |
|---|---|---|
| Benchmarks | ||
Nonsense detection BullshitBench v2Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 45%Best | 39% |
Coding SWE-Bench VerifiedReal coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 33.4% | — |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 59.4% | — |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | Jun 20 2024 | Sep 15 2025 |
| Access | Proprietary | Proprietary |
Which is better: Claude 3.5 Sonnet or GPT-5-Codex?
Claude 3.5 Sonnet leads GPT-5-Codex on 1 of the 1 benchmark they both report (BullshitBench v2). Claude 3.5 Sonnet shipped 452 days before GPT-5-Codex, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
On BullshitBench v2, Claude 3.5 Sonnet leads at 45% vs GPT-5-Codex at 39%.
Frequently asked questions
Claude 3.5 Sonnet was released by Anthropic on Jun 20 2024.
GPT-5-Codex was released by OpenAI on Sep 15 2025.
Other comparisons
Claude 3.5 SonnetvsGemini 3.6 FlashGPT-5-CodexvsGemini 3.6 FlashClaude 3.5 SonnetvsMuse GlimmerGPT-5-CodexvsMuse GlimmerClaude 3.5 SonnetvsGrok 4.5GPT-5-CodexvsGrok 4.5Claude 3.5 SonnetvsDeepSeek-V4-Flash-0731GPT-5-CodexvsDeepSeek-V4-Flash-0731Claude 3.5 SonnetvsMistral Medium 3.5GPT-5-CodexvsMistral Medium 3.5Claude 3.5 SonnetvsKimi K3GPT-5-CodexvsKimi K3