Claude Sonnet 5 vs GPT-5.4
Anthropic Claude Sonnet 5 | OpenAI GPT-5.4 | |
|---|---|---|
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | Jun 30 2026 | Mar 5 2026 |
| Access | Proprietary | Proprietary |
| 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. | — | 48% |
Agentic coding SWE-Bench ProCan the AI fix real bugs in real software? It's handed actual problems from open-source projects and has to write code that genuinely solves them. Higher is better. | 63.2% | — |
Agentic coding CursorBench v3.1Cursor's own test of harder, real-world coding tasks inside a code editor. Higher is better. | 61.2% | — |
Agentic terminal coding Terminal-Bench 2.1Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Higher is better. | 80.4% | — |
Agentic terminal coding Terminal-Bench 2.0Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? (Version 2.0 of the test.) Higher is better. | — | 75.1% |
Software engineering Expert-SWE (Internal)OpenAI's private set of expert-level software-engineering problems. Higher is better. | — | 68.5% |
General tool use ToolathlonTests how well the AI uses everyday real-world tools and apps to get things done. Higher is better. | — | 54.6% |
Web browsing BrowseCompCan the AI browse the web and track down hard-to-find answers? Higher is better. | — | 82.7% |
Cybersecurity CyberGymTests the AI on cybersecurity challenges — finding and exploiting software weaknesses inside a safe sandbox. Higher is better. | — | 79% |
Multidisciplinary reasoning Humanity's Last Exam · no toolsHumanity's Last Exam — extremely hard expert questions across many subjects, written so you can't just look up the answer. “No tools” means the AI answers on its own. Higher is better. | 43.2% | — |
Multidisciplinary reasoning Humanity's Last Exam · with toolsHumanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | 57.4% | — |
Advanced math FrontierMath · Tier 1–3Very hard, research-level math problems. Tiers 1–3 are the (still extremely difficult) lower tiers. Higher is better. | — | 47.6% |
Advanced math FrontierMath · Tier 4Very hard, research-level math problems. Tier 4 is the hardest — close to what professional research mathematicians tackle. Higher is better. | — | 27.1% |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | — | 92.8% |
Agentic computer use OSWorld-VerifiedCan the AI actually operate a computer — clicking, typing, and using real apps — to finish tasks on its own? Higher is better. | 81.2%Best | 75% |
Knowledge work GDPval-AAMeasures how well the AI does economically valuable knowledge work, judged against human experts. Shown as a rating (like a chess Elo) — higher is better. | 1618 | — |
Knowledge work GDPval (win/tie rate)How often the AI's work matches or beats a human expert's on real knowledge-work tasks. Higher is better. | — | 83% |
| Timeline | ||
| Release gap | GPT-5.4 shipped 117 days before Claude Sonnet 5 | |
Which is better: Claude Sonnet 5 or GPT-5.4?
Claude Sonnet 5 leads GPT-5.4 on 1 of the 1 benchmark they both report (OSWorld-Verified). GPT-5.4 shipped 117 days before Claude Sonnet 5, 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 OSWorld-Verified, Claude Sonnet 5 leads at 81.2% vs GPT-5.4 at 75%.
Frequently asked questions
Claude Sonnet 5 was released by Anthropic on Jun 30 2026.
GPT-5.4 was released by OpenAI on Mar 5 2026.
Other comparisons
Claude Sonnet 5 vs Gemini OmniGPT-5.4 vs Gemini OmniClaude Sonnet 5 vs Muse SparkGPT-5.4 vs Muse SparkClaude Sonnet 5 vs Grok 4.3 BetaGPT-5.4 vs Grok 4.3 BetaClaude Sonnet 5 vs DeepSeek-V4-ProGPT-5.4 vs DeepSeek-V4-ProClaude Sonnet 5 vs Mistral Medium 3.5GPT-5.4 vs Mistral Medium 3.5Claude Sonnet 5 vs Kimi K2.7 CodeGPT-5.4 vs Kimi K2.7 Code