Claude Sonnet 5 vs Nano Banana 2 (Gemini 3.1 Flash Image)

Price, context window & benchmark comparison

A

Claude Sonnet 5

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

Nano Banana 2 (Gemini 3.1 Flash Image)

Google
$0.50 / $3.00
Input / Output · per 1M tokens
Compare different models
A
G
Verdict: Nano Banana 2 (Gemini 3.1 Flash Image) is 3.6× cheaper than Claude Sonnet 5 on a typical 3:1 input/output mix. Claude Sonnet 5 has the larger context window (1M vs 131K).
Claude Sonnet 5Nano Banana 2 (Gemini 3.1 Flash Image)
Input price / 1M$2.00$0.50
Output price / 1M$10.00$3.00
Blended price (3:1)$4.00$1.13
Cached input / 1M$0.20
Context window1M131K
Max output128K33K
Intelligence index38.2
Coding index71.5
Providers102
Best provider uptime (30m)100.0%100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesNo
Released2026-06-302026-06-18
Retirement

Cost calculator

FAQ

Which is cheaper, Claude Sonnet 5 or Nano Banana 2 (Gemini 3.1 Flash Image)?

Nano Banana 2 (Gemini 3.1 Flash Image) is 3.6× cheaper than Claude Sonnet 5 on a typical 3:1 input/output mix.

Claude Sonnet 5 vs Nano Banana 2 (Gemini 3.1 Flash Image): which has a bigger context window?

Claude Sonnet 5: 1,000,000 tokens. Nano Banana 2 (Gemini 3.1 Flash Image): 131,072 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Claude Sonnet 5 ≈ $9,000, Nano Banana 2 (Gemini 3.1 Flash Image) ≈ $2,500.

More comparisons