Claude Sonnet 5vsGemini 3.7 Flash

Claude Sonnet 5
Gemini 3.7 Flash
Specifications
Context window
1M
Benchmarks
Nonsense detection
BullshitBench v2
80%
Prompt injection robustness
Gray Swan IPI · k = 1
0.6%
Prompt injection robustness
Gray Swan IPI · k = 10
4.7%
Prompt injection robustness
Gray Swan IPI · k = 15
5.9%
Agentic coding
SWE-Bench Pro
63.2%
Agentic coding
CursorBench v3.2
61.5%
Agentic coding
CursorBench v3.1
61.2%
Agentic coding
DeepSWE 1.1
65.3%
Agentic coding
FrontierCode v1.1 (Main) · main split
43.6%
Next.js coding
Next.js Evals
79%
Supabase coding
Supabase Evals · with skills
95.5%
Supabase coding
Supabase Evals · no skills
90.9%
Agentic computer work
Frontier-Bench v0.1
14.6%
Agentic terminal coding
Terminal-Bench 3.0
14.9%
Agentic terminal coding
Terminal-Bench 2.1
80.4%
85.8%Best
Web browsing
BrowseComp
84.7%
Multidisciplinary reasoning
Humanity's Last Exam · no tools
43.2%
Multidisciplinary reasoning
Humanity's Last Exam · with tools
57.4%
Multidisciplinary reasoning
Humanity's Last Exam (Verified)
53.6%
Biology
BioMysteryBench · hard
43.5%
Biology
BioMysteryBench · human solved
87.1%
Biology
LAB-Bench 2
82.1%
Agentic computer use
OSWorld 2.0
38.1%
Agentic computer use
OSWorld-Verified
81.2%
Agentic computer use
Agent's Last Exam
26.3%
Business workflows
AutomationBench
30.4%
Agentic legal work
Harvey's Legal Agent Benchmark
90.7%
Overall intelligence
AA Intelligence Index
56
Knowledge work
GDPval-AA
1618
Knowledge work
GDPval-AA v2
1525
Chart reasoning
CharXiv Reasoning
84.5%
Document comprehension
GDP.PDF
34%
Video understanding
LVBench
85.4%
Long context
MRCR v2 (8-needle) · 128k average
97%
Long context
MRCR v2 (8-needle) · 1M pointwise
62.5%
Community preference
Arena Elo (Text)
1463
Community preference (code)
Arena Elo (Code)
1543
1588Best
Overview
CompanyAnthropicGoogle
Release dateJun 30 2026Aug 13 2026
AccessProprietaryProprietary

Which is better: Claude Sonnet 5 or Gemini 3.7 Flash?

Gemini 3.7 Flash leads Claude Sonnet 5 on 2 of the 2 benchmarks they both report (Terminal-Bench 2.1, Arena Elo (Code)). Claude Sonnet 5 shipped 44 days before Gemini 3.7 Flash, 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 Terminal-Bench 2.1, Gemini 3.7 Flash leads at 85.8% vs Claude Sonnet 5 at 80.4%. On Arena Elo (Code), Gemini 3.7 Flash leads at 1588 vs Claude Sonnet 5 at 1543.

Frequently asked questions

Claude Sonnet 5 was released by Anthropic on Jun 30 2026.

Gemini 3.7 Flash was released by Google on Aug 13 2026.

Gemini 3.7 Flash leads on Terminal-Bench 2.1 — Claude Sonnet 5 80.4% vs Gemini 3.7 Flash 85.8%.

Other comparisons