Claude Sonnet 5 vs Gemini 3.8 Flash

Price, context window & benchmark comparison

Anthropic

Claude Sonnet 5

Anthropic
$2.00 / $10.00
Input / Output · per 1M tokens
VS
Google

Gemini 3.8 Flash

Google
$0.75 / $3.75
Input / Output · per 1M tokens
Compare different models
Anthropic
Google
Verdict: Gemini 3.8 Flash is 2.7× cheaper than Claude Sonnet 5 on a typical 3:1 input/output mix. Gemini 3.8 Flash scores higher on the Artificial Analysis Intelligence Index (40.9 vs 38.2). Gemini 3.8 Flash has the larger context window (1M vs 1M).
Claude Sonnet 5Gemini 3.8 Flash
Input price / 1M$2.00$0.75
Output price / 1M$10.00$3.75
Blended price (3:1)$4.00$1.50
Cached input / 1M$0.20$0.075
Context window1M1M
Max output128K66K
Intelligence index38.240.9
Coding index71.576.3
Providers106
Best provider uptime (30m)100.0%100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-06-302026-09-02
Retirement

Cost calculator

FAQ

Which is cheaper, Claude Sonnet 5 or Gemini 3.8 Flash?

Gemini 3.8 Flash is 2.7× cheaper than Claude Sonnet 5 on a typical 3:1 input/output mix.

Claude Sonnet 5 vs Gemini 3.8 Flash: which has a bigger context window?

Claude Sonnet 5: 1,000,000 tokens. Gemini 3.8 Flash: 1,048,576 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Claude Sonnet 5 ≈ $9,000, Gemini 3.8 Flash ≈ $3,375.

More comparisons