Claude Sonnet 4 vs Gemma 2
Anthropic Claude Sonnet 4 | Google Gemma 2 | |
|---|---|---|
| Overview | ||
| Company | Anthropic | |
| Release date | May 22 2025 | Jun 27 2024 |
| Access | Proprietary | Open Weight |
| 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% | — |
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% | — |
| Timeline | ||
| Release gap | Gemma 2 shipped 329 days before Claude Sonnet 4 | |
Which is better: Claude Sonnet 4 or Gemma 2?
Claude Sonnet 4 and Gemma 2 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Gemma 2 shipped 329 days before Claude Sonnet 4, so benchmark comparisons should account for the intervening progress.
Claude Sonnet 4 is proprietary, while Gemma 2 is open weight.
Direct benchmark comparisons are unavailable — Claude Sonnet 4 and Gemma 2 don't publish scores on any of the same benchmarks.
Frequently asked questions
Claude Sonnet 4 was released by Anthropic on May 22 2025.
Gemma 2 was released by Google on Jun 27 2024.
Claude Sonnet 4 is a proprietary model released by Anthropic. Gemma 2 is an open weight model released by Google.
Other comparisons
Claude Sonnet 4 vs GPT-5.6 SolGemma 2 vs GPT-5.6 SolClaude Sonnet 4 vs Muse Spark 1.1Gemma 2 vs Muse Spark 1.1Claude Sonnet 4 vs Grok 4.5Gemma 2 vs Grok 4.5Claude Sonnet 4 vs DeepSeek-V4-ProGemma 2 vs DeepSeek-V4-ProClaude Sonnet 4 vs Mistral Medium 3.5Gemma 2 vs Mistral Medium 3.5Claude Sonnet 4 vs Kimi K2.7 CodeGemma 2 vs Kimi K2.7 Code