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

CharacteristicClaude Sonnet 5Gemini 3.8 Flash
CompanyAnthropicGoogle
Release DateJune 30, 2026September 2, 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 Score0.60.6
Benchmarks
GDP.pdf0.80.3
DeepSWE 1.10.50.7
CharXiv-R0.90.9

Visual Benchmark Comparison

Claude Sonnet 5
Gemini 3.8 Flash
GDP.pdf0.8 vs 0.3
0.8
0.3
DeepSWE 1.10.5 vs 0.7
0.5
0.7
CharXiv-R0.9 vs 0.9
0.9
0.9

Verdict

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

Overall Performance

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

API Cost

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

Context Window

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

Recency

Gemini 3.8 Flash is newer: released 9/2/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.8 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.8 Flash?
Gemini 3.8 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.8 Flash?
Gemini 3.8 Flash supports a larger context: 1,048,576 tokens vs 1,000,000.

The Claude Sonnet 5 and Gemini 3.8 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.8 Flash page. See also the complete list of AI model comparisons.