ZMIME
Comparison · 3 models · Updated Nov 18, 2026

Gemini 2.5 Pro vs GLM-4.7 vs Claude Haiku 4.5

Gemini 2.5 Pro comes out ahead, 77 to 68 and 60 on our weighted score, though GLM-4.7 is 3.4× cheaper per token.

Price in rating: Excluded · Include price

  1. Our pick

    Google

    Gemini 2.5 Pro

    Released Jun 17, 2025

    77/100
    • ECI144.9
    • Price$1.25 / $10.00
    • Context1.05M
  2. Z.ai (Zhipu)

    GLM-4.7

    Released Dec 22, 2025

    60/100
    • ECI143.4
    • Price$0.60 / $2.20
    • Context205K
  3. Anthropic

    Claude Haiku 4.5

    Released Oct 15, 2025

    68/100
    • ECI142.8
    • Price$1.00 / $5.00
    • Context200K
01 — Verdict

Gemini 2.5 Pro is our pick

Gemini 2.5 Pro is the better all-round choice, scoring 77/100 against Claude Haiku 4.5 (68) and GLM-4.7 (60). It leads on inputs & features and context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • 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 ProGemini 2.5 Pro: Text, Images, PDFs, Audio, Video · GLM-4.7: Text · Claude Haiku 4.5: Text, Images, PDFs
  • Self-hostingGLM-4.7Publishes downloadable weights
How the score is built
MeasureWeightGemini 2.5 ProGLM-4.7Claude Haiku 4.5
CapabilityCapabilities Index (ECI)67%737170
Inputs & features20%1003580
Context window13%653939
Overall100%77/10060/10068/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Gemini 2.5 Pro vs GLM-4.7 vs Claude Haiku 4.5 specifications side by side
SpecificationGemini 2.5 ProGoogleGLM-4.7Z.ai (Zhipu)Claude Haiku 4.5Anthropic
Capability
Capabilities Index (ECI)144.9 (best)143.4142.8
ECI rank#92 of 158 (best)#99 of 158#102 of 158
GPQA DiamondGraduate-level science questions85.3% (best)83.3%71.2%
FrontierMath Tiers 1–3Research-level mathematics24.6%——
OTIS Mock AIME 2024–2025Competition mathematics84.7% (best)83.3%66.7%
SWE-bench VerifiedFixing real GitHub issues57.6%——
SimpleQA VerifiedShort factual questions—32.2% (best)13.2%
Price per million tokens
Input$1.25$0.60 (best)$1.00
Output$10.00$2.20 (best)$5.00
Cached input$0.125$0.11$0.10 (best)
Blended (3:1)$3.44$1.00 (best)$2.00
Long-context rateOver 200K: $2.50 / $15.00Same rateSame rate
Price sourceOfficial Google APIOfficial Z.AI APIOfficial Anthropic API
Limits
Context window1,048,576 tokens (best)204,800 tokens200,000 tokens
Max output65,536 tokens131,072 tokens (best)64,000 tokens
Inputs and features
TextYesYesYes
ImagesYesNoYes
PDFsYesNoYes
AudioYesNoNo
VideoYesNoNo
ReasoningYesYesYes
Tool callingYesYesYes
Structured outputYesNoYes
Availability
WeightsProprietaryOpenProprietary
API model IDgemini-2.5-proglm-4.7claude-haiku-4-5
API providers313057 (best)
ReleasedJun 17, 2025Dec 22, 2025Oct 15, 2025
Knowledge cutoffJan 2025Apr 2025Feb 28, 2025
03 — Cost

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 Pro$32.50
  • GLM-4.7$10.40
  • Claude Haiku 4.5$20.00
04 — Questions

Which should you choose?

Which is better: Gemini 2.5 Pro, GLM-4.7 or Claude Haiku 4.5?

Gemini 2.5 Pro is the better all-round choice, scoring 77/100 against Claude Haiku 4.5 (68) and GLM-4.7 (60). It leads on inputs & features and context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemini 2.5 Pro, GLM-4.7 or Claude Haiku 4.5?

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 GLM-4.7 and Claude Haiku 4.5 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: Gemini 2.5 Pro up to 65,536, GLM-4.7 up to 131,072, Claude Haiku 4.5 up to 64,000 tokens.

Which can read images, PDFs, audio or video?

Gemini 2.5 Pro accepts text, images, PDFs, audio and video; GLM-4.7 accepts text; Claude Haiku 4.5 accepts text, images and PDFs. 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; Gemini 2.5 Pro and Claude Haiku 4.5 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: Gemini 2.5 Pro Jan 2025, GLM-4.7 Apr 2025, Claude Haiku 4.5 Feb 28, 2025.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, 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.