Claude Sonnet 5 vs Gemini 3.7 Flash: Specs & Benchmark Comparison

Claude Sonnet 5 is developed by Anthropic, while Gemini 3.7 Flash comes from Google. Claude Sonnet 5 was released in June 2026, and Gemini 3.7 Flash followed 2 months later in August 2026.

We have 22 benchmark results for Claude Sonnet 5 and 4 benchmark results for Gemini 3.7 Flash, but they were measured on different benchmarks, so there is no like-for-like scoreboard.

Gemini 3.7 Flash is the cheaper API at $0.75 per million input tokens and $3.75 per million output tokens, roughly 3 times cheaper than Claude Sonnet 5 at $2 and $10. Both accept a context window of about 1M tokens. Both accept text and images as input.

CharacteristicClaude Sonnet 5Gemini 3.7 Flash
CompanyAnthropicGoogle
Release DateJune 30, 2026August 13, 2026
Parameters
MultimodalYesYes
Context (input)1.0M1.0M
Context (output)64K66K
Input Price / 1M$2.00$0.75
Output Price / 1M$10.00$3.75
Average Score60.5%79.6%

Verdict

Gemini 3.7 Flash leads in 3 out of 4 comparison categories.

Overall Performance

Both models show comparable average scores: Claude Sonnet 5 — 0.6, Gemini 3.7 Flash — 0.8.

API Cost

Gemini 3.7 Flash is 2.7x cheaper: input $0.75/1M vs $2.00/1M tokens.

Context Window

Gemini 3.7 Flash supports a larger context: 1M vs 1M tokens.

Recency

Gemini 3.7 Flash is newer: released 8/13/2026 vs 6/30/2026.

More About These Models

Related Comparisons

Frequently Asked Questions

Which is better for coding — Claude Sonnet 5 or Gemini 3.7 Flash?
Direct comparison on the SWE-Bench benchmark is not available. We recommend reviewing other metrics on the comparison page.
Which model is cheaper — Claude Sonnet 5 or Gemini 3.7 Flash?
Gemini 3.7 Flash is cheaper for input: $0.75 per 1M tokens vs $2.00.
Which has a larger context window — Claude Sonnet 5 or Gemini 3.7 Flash?
Gemini 3.7 Flash supports a larger context: 1,048,576 tokens vs 1,000,000.

The Claude Sonnet 5 and Gemini 3.7 Flash comparison is updated for 2026. Data includes benchmark results, API pricing, context window size and other specifications. For more detailed information, visit the Claude Sonnet 5 or Gemini 3.7 Flash page. See also the complete list of AI model comparisons.