Claude Sonnet 3.7 vs Gemini 2.5 Pro vs GPT-4.1
Gemini 2.5 Pro comes out ahead, 63 to 53 and 50 on our weighted score, and it is the cheaper option too.
Anthropic
Claude Sonnet 3.7
50/100- ECI141.2
- Price$3.00 / $15.00
- Context200K
- Our pick
Google
Gemini 2.5 Pro
63/100- ECI145.3
- Price$1.25 / $10.00
- Context1.05M
OpenAI
GPT-4.1
53/100- ECI136.8
- Price$2.00 / $8.00
- Context1.05M
Gemini 2.5 Pro is our pick
Gemini 2.5 Pro is the better all-round choice, scoring 63/100 against GPT-4.1 (53) and Claude Sonnet 3.7 (50). It leads 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 145.3 · Claude Sonnet 3.7 141.2 · GPT-4.1 136.8
- Lowest priceGemini 2.5 ProGemini 2.5 Pro $3.44 · GPT-4.1 $3.50 · Claude Sonnet 3.7 $6.00 per 1M tokens (3:1 blend)
- Longest contextGemini 2.5 Pro and GPT-4.1Gemini 2.5 Pro 1,048,576 · GPT-4.1 1,047,576 · Claude Sonnet 3.7 200,000 tokens
- Widest inputsGemini 2.5 ProClaude Sonnet 3.7: Text, Images, PDFs · Gemini 2.5 Pro: Text, Images, PDFs, Audio, Video · GPT-4.1: Text, Images, PDFs
- Self-hostingNo open weightsAll three are available only through APIs
| Measure | Weight | Claude Sonnet 3.7 | Gemini 2.5 Pro | GPT-4.1 |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 67 | 72 | 61 |
| Price | 25% | 13 | 24 | 24 |
| Inputs & features | 15% | 70 | 100 | 70 |
| Context window | 10% | 32 | 61 | 61 |
| Overall | 100% | 50/100 | 63/100 | 53/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 141.2 | 145.3 (best) | 136.8 |
| ECI rank | #96 of 148 | #78 of 148 (best) | #111 of 148 |
| GPQA DiamondGraduate-level science questions | 79.7% | 85.3% (best) | 66.9% |
| FrontierMath Tiers 1–3Research-level mathematics | — | 24.6% (best) | 6.0% |
| OTIS Mock AIME 2024–2025Competition mathematics | 57.8% | 84.7% (best) | 38.3% |
| SWE-bench VerifiedFixing real GitHub issues | 61.0% (best) | 57.6% | 48.5% |
| SimpleQA VerifiedShort factual questions | — | — | 31.1% |
| Price per million tokens | |||
| Input | $3.00 | $1.25 (best) | $2.00 |
| Output | $15.00 | $10.00 | $8.00 (best) |
| Cached input | — | $0.125 (best) | $0.50 |
| Blended (3:1) | $6.00 | $3.44 (best) | $3.50 |
| Long-context rate | Same rate | Over 200K: $2.50 / $15.00 | Same rate |
| Price source | Median of 3 providers | Official Google API | Official OpenAI API |
| Limits | |||
| Context window | 200,000 tokens | 1,048,576 tokens (best) | 1,047,576 tokens |
| Max output | 64,000 tokens | 65,536 tokens (best) | 32,768 tokens |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | Yes | Yes | Yes |
| Audio | No | Yes | No |
| Video | No | Yes | No |
| Reasoning | Yes | Yes | No |
| Tool calling | Yes | Yes | Yes |
| Structured output | No | Yes | Yes |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | — | gemini-2.5-pro | gpt-4.1 |
| API providers | 3 | 22 | 25 (best) |
| Released | Feb 19, 2025 | Jun 17, 2025 | Apr 14, 2025 |
| Knowledge cutoff | Oct 31, 2024 | Jan 2025 | Apr 2024 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Claude Sonnet 3.7$60.00
Gemini 2.5 Pro$32.50
GPT-4.1$36.00
Which should you choose?
Which is better: Claude Sonnet 3.7, Gemini 2.5 Pro or GPT-4.1?
Gemini 2.5 Pro is the better all-round choice, scoring 63/100 against GPT-4.1 (53) and Claude Sonnet 3.7 (50). It leads on capability and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
Which is cheaper, Claude Sonnet 3.7, Gemini 2.5 Pro or GPT-4.1?
Gemini 2.5 Pro is cheaper at $1.25 input / $10.00 output per million tokens (official Google API price). GPT-4.1 costs $2.00 input / $8.00 output per million tokens (official OpenAI API price); Claude Sonnet 3.7 costs $3.00 input / $15.00 output per million tokens (median across 3 API providers). At a typical mix of three input tokens to one output token, that is $3.44 per million tokens for Gemini 2.5 Pro versus $3.50 for GPT-4.1 (1× as much) and $6.00 for Claude Sonnet 3.7 (1.7× as much).
Which scores higher on benchmarks?
Gemini 2.5 Pro scores higher on the Capabilities Index (ECI): Gemini 2.5 Pro 145.3 (#78 of 148), Claude Sonnet 3.7 141.2 (#96 of 148) and GPT-4.1 136.8 (#111 of 148). Their confidence ranges do not overlap (143.6–146.9 vs 138.7–142.9), so the gap is a real one. On individual benchmarks: GPQA Diamond — Gemini 2.5 Pro 85.3%, Claude Sonnet 3.7 79.7%, GPT-4.1 66.9%; OTIS Mock AIME 2024–2025 — Gemini 2.5 Pro 84.7%, Claude Sonnet 3.7 57.8%, GPT-4.1 38.3%; SWE-bench Verified — Claude Sonnet 3.7 61.0%, Gemini 2.5 Pro 57.6%, GPT-4.1 48.5%.
Which is better for coding?
Claude Sonnet 3.7 resolves more real GitHub issues on SWE-bench Verified: Claude Sonnet 3.7 61.0%, Gemini 2.5 Pro 57.6% and GPT-4.1 48.5%. All three support tool calling for agent workflows.
Which has the bigger context window?
Gemini 2.5 Pro and GPT-4.1 have the largest context windows (1,048,576 and 1,047,576 tokens), against 200,000 for Claude Sonnet 3.7. Maximum output per response: Claude Sonnet 3.7 up to 64,000, Gemini 2.5 Pro up to 65,536, GPT-4.1 up to 32,768 tokens.
Which can read images, PDFs, audio or video?
Claude Sonnet 3.7 accepts text, images and PDFs; Gemini 2.5 Pro accepts text, images, PDFs, audio and video; GPT-4.1 accepts text, images and PDFs. Gemini 2.5 Pro handles the widest range of inputs.
Are any of these open source?
No. Claude Sonnet 3.7, Gemini 2.5 Pro and GPT-4.1 are proprietary and only available through APIs and apps.
Which is newer?
Gemini 2.5 Pro is the newest, released Jun 17, 2025. GPT-4.1 came out Apr 14, 2025; Claude Sonnet 3.7 came out Feb 19, 2025. Knowledge cutoff: Claude Sonnet 3.7 Oct 31, 2024, Gemini 2.5 Pro Jan 2025, GPT-4.1 Apr 2024.
How do you decide the winner?
Each model gets a 0–100 score on 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 Oct 4, 2026.