GooglevsZ.ai·Updated Nov 2026
Gemini 2.5 Pro logovsGLM 5 Code logo

Gemini 2.5 Pro vs GLM 5 Code

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
GLM 5 Code logoGLM 5 Code-4.0%

$1.20 vs $1.25 / 1M

Cheaper Output
GLM 5 Code logoGLM 5 Code-50%

$5.00 vs $10.00 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
Gemini 2.5 Pro logoGemini 2.5 Pro5.2×

1.05M vs 200K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
Gemini 2.5 Pro logoGemini 2.5 ProPending
GLM 5 Code logoGLM 5 CodePending
AA Engineering
Gemini 2.5 Pro logoGemini 2.5 ProPending
GLM 5 Code logoGLM 5 CodePending
Core Capability Profile
MetricGemini 2.5 ProGLM 5 Code
ReasoningYesYes
Input Modalitiestext, imagetext
Tools & JSONToolsTools
Prompt Caching$0.13/1M$0.30/1M
Open-WeightProprietaryOpen

Side-by-side specification matrix

USD ·
MetricGemini 2.5 Pro logoGemini 2.5 ProGLM 5 Code logoGLM 5 CodeCompare
Input / 1M$1.25$1.20GLM 5 Code -4.0%
Output / 1M$10.00$5.00GLM 5 Code -50%
5m Cache Write / 1M$0.38$0.00GLM 5 Code -100%
1h Cache Write / 1M———
Cache Read$0.13$0.30Gemini 2.5 Pro -58%
Web Search / Call———
Context1.05M (1,048,576)200K (200,000)Gemini 2.5 Pro 5.2×
Max Output66K (65,536)128K (128,000)GLM 5 Code 2×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, imagetextGemini 2.5 Pro
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightProprietary APIOpen-WeightGLM 5 Code

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with GLM 5 Code $140.63/mo ($1,687.50)
-35%
Gemini 2.5 Pro logoGemini 2.5 Pro
$403.13/mo
In: $93.75
Cache: $9.38
Out: $300.00
Search: N/A
GLM 5 Code logoGLM 5 CodeBest Value
$262.50/mo
In: $90.00
Cache: $22.50
Out: $150.00
Search: N/A

Frequently Asked Questions

Is Gemini 2.5 Pro or GLM 5 Code cheaper per API token?

GLM 5 Code is 4.0% cheaper on input tokens ($1.20 vs $1.25 per 1M). For output tokens, GLM 5 Code costs 50% less ($5.00 vs $10.00 per 1M).

How do Gemini 2.5 Pro and GLM 5 Code prompt caching discounts compare?

Gemini 2.5 Pro offers 58% cheaper cache reads at $0.13/1M compared to $0.30/1M for GLM 5 Code. Gemini 2.5 Pro 5m write: $0.38/1M; GLM 5 Code 5m write: $0.00/1M.

Which model has a larger context window: Gemini 2.5 Pro or GLM 5 Code?

Gemini 2.5 Pro provides a 5.2× larger context window (1.05M vs 200K tokens). For single-turn output generation, Gemini 2.5 Pro caps at 66K tokens and GLM 5 Code caps at 128K tokens.

How do Gemini 2.5 Pro and GLM 5 Code compare on benchmarks and capabilities?

Gemini 2.5 Pro adds native vision/image input support, and GLM 5 Code releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons