Claude Sonnet 4vsGemini 2.5 Flash
Claude Sonnet 4 | Gemini 2.5 Flash | |
|---|---|---|
| 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 | 19% |
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 | |
| Release date | May 22 2025 | Apr 17 2025 |
| Access | Proprietary | Proprietary |
Which is better: Claude Sonnet 4 or Gemini 2.5 Flash?
Claude Sonnet 4 leads Gemini 2.5 Flash on 1 of the 1 benchmark they both report (BullshitBench v2). Gemini 2.5 Flash shipped 35 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 Gemini 2.5 Flash at 19%.
Frequently asked questions
Claude Sonnet 4 was released by Anthropic on May 22 2025.
Gemini 2.5 Flash was released by Google on Apr 17 2025.
Other comparisons
Claude Sonnet 4vsGPT-5.6 SolGemini 2.5 FlashvsGPT-5.6 SolClaude Sonnet 4vsMuse Spark 1.2Gemini 2.5 FlashvsMuse Spark 1.2Claude Sonnet 4vsGrok 4.5Gemini 2.5 FlashvsGrok 4.5Claude Sonnet 4vsDeepSeek-V4-Flash-0731Gemini 2.5 FlashvsDeepSeek-V4-Flash-0731Claude Sonnet 4vsMistral Medium 3.5Gemini 2.5 FlashvsMistral Medium 3.5Claude Sonnet 4vsKimi K3Gemini 2.5 FlashvsKimi K3