Gemini 2.5 Flash Preview 05-20 vs Gemini 2.5 Pro vs Claude Sonnet 4
Gemini 2.5 Flash Preview 05-20 comes out ahead, 67 to 64 and 52 on our weighted score, and it is the cheaper option too.
Price in rating: Included · Exclude price
- Our pick
Google
Gemini 2.5 Flash Preview 05-20
67/100- ECI141.6
- Price$0.142 / $3.33
- Context1.05M
Google
Gemini 2.5 Pro
64/100- ECI144.9
- Price$1.25 / $10.00
- Context1.05M
Anthropic
Claude Sonnet 4
52/100- ECI141.9
- Price$3.00 / $15.00
- Context200K
Gemini 2.5 Flash Preview 05-20 is our pick
Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 67/100 against Gemini 2.5 Pro (64) and Claude Sonnet 4 (52). It leads on price. Gemini 2.5 Pro wins on capability and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
- CapabilityGemini 2.5 ProCapabilities Index (ECI): Gemini 2.5 Pro 144.9 · Claude Sonnet 4 141.9 · Gemini 2.5 Flash Preview 05-20 141.6
- Lowest priceGemini 2.5 Flash Preview 05-20Gemini 2.5 Flash Preview 05-20 $0.938 · Gemini 2.5 Pro $3.44 · Claude Sonnet 4 $6.00 per 1M tokens (3:1 blend)
- Longest contextGemini 2.5 Flash Preview 05-20 and Gemini 2.5 ProGemini 2.5 Flash Preview 05-20 1,048,576 · Gemini 2.5 Pro 1,048,576 · Claude Sonnet 4 200,000 tokens
- Widest inputsGemini 2.5 Flash Preview 05-20 and Gemini 2.5 ProGemini 2.5 Flash Preview 05-20: Text, Images, PDFs, Audio, Video · Gemini 2.5 Pro: Text, Images, PDFs, Audio, Video · Claude Sonnet 4: Text, Images, PDFs
- Self-hostingNo confirmed open weightsAll three are available only through APIs
| Measure | Weight | Gemini 2.5 Flash Preview 05-20 | Gemini 2.5 Pro | Claude Sonnet 4 |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 69 | 73 | 70 |
| Price | 25% | 49 | 23 | 12 |
| Inputs & features | 15% | 90 | 100 | 70 |
| Context window | 10% | 65 | 65 | 39 |
| Overall | 100% | 67/100 | 64/100 | 52/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 141.6 | 144.9 (best) | 141.9 |
| ECI rank | #106 of 158 | #92 of 158 (best) | #104 of 158 |
| GPQA DiamondGraduate-level science questions | — | 85.3% (best) | 79.2% |
| FrontierMath Tiers 1–3Research-level mathematics | — | 24.6% | — |
| OTIS Mock AIME 2024–2025Competition mathematics | 70.8% | 84.7% (best) | 71.1% |
| SWE-bench VerifiedFixing real GitHub issues | — | 57.6% | — |
| Price per million tokens | |||
| Input | $0.142 (best) | $1.25 | $3.00 |
| Output | $3.33 (best) | $10.00 | $15.00 |
| Cached input | — | $0.125 | — |
| Blended (3:1) | $0.938 (best) | $3.44 | $6.00 |
| Long-context rate | Same rate | Over 200K: $2.50 / $15.00 | Same rate |
| Price source | Median of 1 providers | Official Google API | Median of 10 providers |
| Limits | |||
| Context window | 1,048,576 tokens (best) | 1,048,576 tokens (best) | 200,000 tokens |
| Max output | 65,536 tokens (best) | 65,536 tokens (best) | 64,000 tokens |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | Yes | Yes | Yes |
| Audio | Yes | Yes | No |
| Video | Yes | Yes | No |
| Reasoning | Yes | Yes | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | No | Yes | No |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | — | gemini-2.5-pro | — |
| API providers | 1 | 31 (best) | 11 |
| Released | May 20, 2025 | Jun 17, 2025 | May 22, 2025 |
| Knowledge cutoff | Jan 2025 | Jan 2025 | Mar 31, 2025 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Gemini 2.5 Flash Preview 05-20$8.07
Gemini 2.5 Pro$32.50
Claude Sonnet 4$60.00
Which should you choose?
Which is better: Gemini 2.5 Flash Preview 05-20, Gemini 2.5 Pro or Claude Sonnet 4?
Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 67/100 against Gemini 2.5 Pro (64) and Claude Sonnet 4 (52). It leads on price. Gemini 2.5 Pro wins on capability and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
Which is cheaper, Gemini 2.5 Flash Preview 05-20, Gemini 2.5 Pro or Claude Sonnet 4?
Gemini 2.5 Flash Preview 05-20 is cheaper at $0.142 input / $3.33 output per million tokens (median across 1 API provider). Gemini 2.5 Pro costs $1.25 input / $10.00 output per million tokens (official Google API price); Claude Sonnet 4 costs $3.00 input / $15.00 output per million tokens (median across 10 API providers). At a typical mix of three input tokens to one output token, that is $0.938 per million tokens for Gemini 2.5 Flash Preview 05-20 versus $3.44 for Gemini 2.5 Pro (3.7× as much) and $6.00 for Claude Sonnet 4 (6.4× as much).
Which scores higher on benchmarks?
Gemini 2.5 Pro scores higher on the Capabilities Index (ECI): Gemini 2.5 Pro 144.9 (#92 of 158), Claude Sonnet 4 141.9 (#104 of 158) and Gemini 2.5 Flash Preview 05-20 141.6 (#106 of 158). Their confidence ranges do not overlap (143.5–146.3 vs 140.3–143.4), so the gap is a real one. On individual benchmarks: OTIS Mock AIME 2024–2025 — Gemini 2.5 Pro 84.7%, Claude Sonnet 4 71.1%, Gemini 2.5 Flash Preview 05-20 70.8%.
Which is better for coding?
There are no published SWE-bench Verified results for Gemini 2.5 Flash Preview 05-20 and Claude Sonnet 4 yet, so there is no like-for-like coding score. On overall capability, Gemini 2.5 Pro leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.
Which has the bigger context window?
Gemini 2.5 Flash Preview 05-20 and Gemini 2.5 Pro have the largest context windows (1,048,576 and 1,048,576 tokens), against 200,000 for Claude Sonnet 4. Maximum output per response: Gemini 2.5 Flash Preview 05-20 up to 65,536, Gemini 2.5 Pro up to 65,536, Claude Sonnet 4 up to 64,000 tokens.
Which can read images, PDFs, audio or video?
Gemini 2.5 Flash Preview 05-20 accepts text, images, PDFs, audio and video; Gemini 2.5 Pro accepts text, images, PDFs, audio and video; Claude Sonnet 4 accepts text, images and PDFs. Gemini 2.5 Flash Preview 05-20 handles the widest range of inputs.
Are any of these open source?
No. Gemini 2.5 Flash Preview 05-20, Gemini 2.5 Pro and Claude Sonnet 4 are proprietary and only available through APIs and apps.
Which is newer?
Gemini 2.5 Pro is the newest, released Jun 17, 2025. Claude Sonnet 4 came out May 22, 2025; Gemini 2.5 Flash Preview 05-20 came out May 20, 2025. Knowledge cutoff: Gemini 2.5 Flash Preview 05-20 Jan 2025, Gemini 2.5 Pro Jan 2025, Claude Sonnet 4 Mar 31, 2025.
How do you decide the winner?
This rating uses capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 18, 2026.