Claude Haiku 4.5 vs Gemini 2.5 Pro vs GLM-4.7
Gemini 2.5 Pro comes out ahead, 64 to 60 and 57 on our weighted score, though GLM-4.7 is 3.4× cheaper per token.
Price in rating: Included · Exclude price
Anthropic
Claude Haiku 4.5
60/100- ECI142.8
- Price$1.00 / $5.00
- Context200K
- Our pick
Google
Gemini 2.5 Pro
64/100- ECI144.9
- Price$1.25 / $10.00
- Context1.05M
Z.ai (Zhipu)
GLM-4.7
57/100- ECI143.4
- Price$0.60 / $2.20
- Context205K
Gemini 2.5 Pro is our pick
Gemini 2.5 Pro is the better all-round choice, scoring 64/100 against Claude Haiku 4.5 (60) and GLM-4.7 (57). It leads on inputs & features and context window. GLM-4.7 wins on price. 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 · GLM-4.7 143.4 · Claude Haiku 4.5 142.8
- Lowest priceGLM-4.7GLM-4.7 $1.00 · Claude Haiku 4.5 $2.00 · Gemini 2.5 Pro $3.44 per 1M tokens (3:1 blend)
- Longest contextGemini 2.5 ProGemini 2.5 Pro 1,048,576 · GLM-4.7 204,800 · Claude Haiku 4.5 200,000 tokens
- Widest inputsGemini 2.5 ProClaude Haiku 4.5: Text, Images, PDFs · Gemini 2.5 Pro: Text, Images, PDFs, Audio, Video · GLM-4.7: Text
- Self-hostingGLM-4.7Publishes downloadable weights
| Measure | Weight | Claude Haiku 4.5 | Gemini 2.5 Pro | GLM-4.7 |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 70 | 73 | 71 |
| Price | 25% | 34 | 23 | 48 |
| Inputs & features | 15% | 80 | 100 | 35 |
| Context window | 10% | 39 | 65 | 39 |
| Overall | 100% | 60/100 | 64/100 | 57/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 142.8 | 144.9 (best) | 143.4 |
| ECI rank | #102 of 158 | #92 of 158 (best) | #99 of 158 |
| GPQA DiamondGraduate-level science questions | 71.2% | 85.3% (best) | 83.3% |
| FrontierMath Tiers 1–3Research-level mathematics | — | 24.6% | — |
| OTIS Mock AIME 2024–2025Competition mathematics | 66.7% | 84.7% (best) | 83.3% |
| SWE-bench VerifiedFixing real GitHub issues | — | 57.6% | — |
| SimpleQA VerifiedShort factual questions | 13.2% | — | 32.2% (best) |
| Price per million tokens | |||
| Input | $1.00 | $1.25 | $0.60 (best) |
| Output | $5.00 | $10.00 | $2.20 (best) |
| Cached input | $0.10 (best) | $0.125 | $0.11 |
| Blended (3:1) | $2.00 | $3.44 | $1.00 (best) |
| Long-context rate | Same rate | Over 200K: $2.50 / $15.00 | Same rate |
| Price source | Official Anthropic API | Official Google API | Official Z.AI API |
| Limits | |||
| Context window | 200,000 tokens | 1,048,576 tokens (best) | 204,800 tokens |
| Max output | 64,000 tokens | 65,536 tokens | 131,072 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | No |
| PDFs | Yes | Yes | No |
| Audio | No | Yes | No |
| Video | No | Yes | No |
| Reasoning | Yes | Yes | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | Yes | Yes | No |
| Availability | |||
| Weights | Proprietary | Proprietary | Open |
| API model ID | claude-haiku-4-5 | gemini-2.5-pro | glm-4.7 |
| API providers | 57 (best) | 31 | 30 |
| Released | Oct 15, 2025 | Jun 17, 2025 | Dec 22, 2025 |
| Knowledge cutoff | Feb 28, 2025 | Jan 2025 | Apr 2025 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Claude Haiku 4.5$20.00
Gemini 2.5 Pro$32.50
GLM-4.7$10.40
Which should you choose?
Which is better: Claude Haiku 4.5, Gemini 2.5 Pro or GLM-4.7?
Gemini 2.5 Pro is the better all-round choice, scoring 64/100 against Claude Haiku 4.5 (60) and GLM-4.7 (57). It leads on inputs & features and context window. GLM-4.7 wins on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
Which is cheaper, Claude Haiku 4.5, Gemini 2.5 Pro or GLM-4.7?
GLM-4.7 is cheaper at $0.60 input / $2.20 output per million tokens (official Z.AI API price). Claude Haiku 4.5 costs $1.00 input / $5.00 output per million tokens (official Anthropic API price); Gemini 2.5 Pro costs $1.25 input / $10.00 output per million tokens (official Google API price). At a typical mix of three input tokens to one output token, that is $1.00 per million tokens for GLM-4.7 versus $2.00 for Claude Haiku 4.5 (2× as much) and $3.44 for Gemini 2.5 Pro (3.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), GLM-4.7 143.4 (#99 of 158) and Claude Haiku 4.5 142.8 (#102 of 158). The confidence ranges of the top two overlap (143.5–146.3 vs 141.4–145.3), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 2.5 Pro 85.3%, GLM-4.7 83.3%, Claude Haiku 4.5 71.2%; OTIS Mock AIME 2024–2025 — Gemini 2.5 Pro 84.7%, GLM-4.7 83.3%, Claude Haiku 4.5 66.7%.
Which is better for coding?
There are no published SWE-bench Verified results for Claude Haiku 4.5 and GLM-4.7 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 Pro has the largest context window at 1,048,576 tokens, against 204,800 for GLM-4.7 and 200,000 for Claude Haiku 4.5. Maximum output per response: Claude Haiku 4.5 up to 64,000, Gemini 2.5 Pro up to 65,536, GLM-4.7 up to 131,072 tokens.
Which can read images, PDFs, audio or video?
Claude Haiku 4.5 accepts text, images and PDFs; Gemini 2.5 Pro accepts text, images, PDFs, audio and video; GLM-4.7 accepts text. Gemini 2.5 Pro handles the widest range of inputs.
Are any of these open source?
GLM-4.7 publishes its weights and can be self-hosted; Claude Haiku 4.5 and Gemini 2.5 Pro is proprietary.
Which is newer?
GLM-4.7 is the newest, released Dec 22, 2025. Claude Haiku 4.5 came out Oct 15, 2025; Gemini 2.5 Pro came out Jun 17, 2025. Knowledge cutoff: Claude Haiku 4.5 Feb 28, 2025, Gemini 2.5 Pro Jan 2025, GLM-4.7 Apr 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.