Gemini 3.7 Flash is 4.0× cheaper per million tokens (blended). Gemini 3.7 Flash has the larger context window (1,048,576 vs 200,000 tokens, 5.2×).

Claude Sonnet 4 vs Gemini 3.7 Flash

Live catalog fields. Best-in-row is highlighted.

Claude Sonnet 4

Anthropic · anthropic__claude-sonnet-4

Gemini 3.7 Flash

Google · google__gemini-3.7-flash

Identity

Fieldanthropic__claude-sonnet-4google__gemini-3.7-flash
ProviderAnthropicGoogle
Sluganthropic__claude-sonnet-4google__gemini-3.7-flash
Statuslivelive
Open weightsNoNo
License
HuggingFace

Quality

Fieldanthropic__claude-sonnet-4google__gemini-3.7-flash
Quality index (0–100)88.4

Cost

Fieldanthropic__claude-sonnet-4google__gemini-3.7-flash
Input $ / 1M tokens$3.00$0.75
Cached input $ / 1M$0.30$0.07
Output $ / 1M tokens$15.00$3.75

Context

Fieldanthropic__claude-sonnet-4google__gemini-3.7-flash
Max context tokens200,0001,048,576
Max output tokens64,00065,536

Modalities

Fieldanthropic__claude-sonnet-4google__gemini-3.7-flash
Inputimage, text, filetext, image, video, file, audio
Outputtexttext