Claude Sonnet 5 vs Gemini 2.5 Flash

Gemini 2.5 Flash is cheaper on input ($0.30 vs $3.00 per 1M tokens), Gemini 2.5 Flash has the larger context window (1M).

SpecClaude Sonnet 5Gemini 2.5 Flash
ProviderAnthropicGoogle
ModalityText + VisionText + Vision
Context window400K1Mbest
Input / 1M$3.00$0.30best
Output / 1M$15.00$1.20best
ReleasedFeb 2026Sep 2025
Best forChat / Assistant, Code generation, Image / VisionHigh-volume / cheap, Chat / Assistant, Image / Vision

FAQ

Is Claude Sonnet 5 cheaper than Gemini 2.5 Flash?
Gemini 2.5 Flash is cheaper, at $0.30 per 1M input tokens versus $3.00.
Which has the larger context window, Claude Sonnet 5 or Gemini 2.5 Flash?
Gemini 2.5 Flash has the larger context window at 1M tokens.

More comparisons