Claude Sonnet 4vsGPT-5.4 mini
Claude Sonnet 4 | GPT-5.4 mini | |
|---|---|---|
| Specifications | ||
Context window | — | 400k |
| 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% | 32%Best |
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% | — |
Supabase coding Supabase Evals · with skillsSupabase's own open benchmark: a coding agent is dropped into a real Supabase project and asked to do real work — set up a schema, fix a broken security policy, debug an Edge Function — and every run is checked against a live Supabase stack. This is the headline number, where the agent has Supabase's own skills loaded, as most people building on Supabase would. The score is the share of scenarios it got right. Higher is better. | — | 78.9% |
Supabase coding Supabase Evals · no skillsThe same Supabase scenarios, but with none of Supabase's skills loaded — so it measures what the model already knows about building on Supabase, rather than how well it follows Supabase's supplied instructions. Higher is better. | — | 73.7% |
Browser agent BU BenchCan the AI drive a real web browser to finish tasks — clicking, filling forms, and navigating sites the way a person would? Run by Browser Use on their BU Bench task set. Higher is better. | — | 36% |
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% | — |
Community preference (code) Arena Elo (Code)Like the text arena, but people vote on which AI writes better code. The votes become a chess-style Elo rating on arena.ai. Higher is better. | — | 1398 |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | May 22 2025 | Mar 17 2026 |
| Access | Proprietary | Proprietary |
Which is better: Claude Sonnet 4 or GPT-5.4 mini?
GPT-5.4 mini leads Claude Sonnet 4 on 1 of the 1 benchmark they both report (BullshitBench v2). Claude Sonnet 4 shipped 299 days before GPT-5.4 mini, 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, GPT-5.4 mini leads at 32% vs Claude Sonnet 4 at 30%.
Frequently asked questions
Claude Sonnet 4 was released by Anthropic on May 22 2025.
GPT-5.4 mini was released by OpenAI on Mar 17 2026.
Other comparisons
Claude Sonnet 4vsGemini 3.6 FlashGPT-5.4 minivsGemini 3.6 FlashClaude Sonnet 4vsMuse Spark 1.2GPT-5.4 minivsMuse Spark 1.2Claude Sonnet 4vsGrok 4.5GPT-5.4 minivsGrok 4.5Claude Sonnet 4vsDeepSeek-V4-Flash-0731GPT-5.4 minivsDeepSeek-V4-Flash-0731Claude Sonnet 4vsMistral Medium 3.5GPT-5.4 minivsMistral Medium 3.5Claude Sonnet 4vsKimi K3GPT-5.4 minivsKimi K3