Claude Sonnet 4vsGPT-4.1
Claude Sonnet 4 | GPT-4.1 | |
|---|---|---|
| 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. | 30%Best | 14% |
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. | 72.7% | — |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 75.4% | — |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | May 22 2025 | Apr 14 2025 |
| Access | Proprietary | Proprietary |
Which is better: Claude Sonnet 4 or GPT-4.1?
Claude Sonnet 4 leads GPT-4.1 on 1 of the 1 benchmark they both report (BullshitBench v2). GPT-4.1 shipped 38 days before Claude Sonnet 4, 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 Sonnet 4 leads at 30% vs GPT-4.1 at 14%.
Frequently asked questions
Claude Sonnet 4 was released by Anthropic on May 22 2025.
GPT-4.1 was released by OpenAI on Apr 14 2025.
Other comparisons
Claude Sonnet 4vsGemini 3.7 FlashGPT-4.1vsGemini 3.7 FlashClaude Sonnet 4vsMuse GlimmerGPT-4.1vsMuse GlimmerClaude Sonnet 4vsGrok 4.6GPT-4.1vsGrok 4.6Claude Sonnet 4vsDeepSeek-V4-Pro-0813GPT-4.1vsDeepSeek-V4-Pro-0813Claude Sonnet 4vsMistral Medium 3.5GPT-4.1vsMistral Medium 3.5Claude Sonnet 4vsKimi K3GPT-4.1vsKimi K3