Gemini 1.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.
$1.20 vs $1.25 / 1M
Equal
—
Max Output: 32K vs 128K
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | Gemini 1.5 Pro | GLM 5 Code |
|---|---|---|
| Reasoning | Yes | Yes |
| Input Modalities | text, image | text |
| Tools & JSON | Tools | Tools |
| Prompt Caching | $0.00/1M | $0.30/1M |
| Open-Weight | Proprietary | Open |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for Gemini 1.5 Pro and GLM 5 Code.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Side-by-side specification matrix
USD ·| Metric | Compare | ||
|---|---|---|---|
| Input / 1M | $1.25 | $1.20 | GLM 5 Code -4.0% |
| Output / 1M | $5.00 | $5.00 | Equal |
| 5m Cache Write / 1M | $0.00 | $0.00 | Equal |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.00 | $0.30 | Gemini 1.5 Pro -100% |
| Web Search / Call | — | — | — |
| Context | 200K (200,000) | 200K (200,000) | Equal |
| Max Output | 32K (32,000) | 128K (128,000) | GLM 5 Code 4× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text, image | text | Gemini 1.5 Pro |
| Reasoning | Supported | Supported | Equal |
| Structured Outputs(JSON Schema) | Not listed | Not listed | Equal |
| Open-Weight | Proprietary API | Open-Weight | GLM 5 Code |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is Gemini 1.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). Output pricing is also tied at $5.00 per 1M tokens.
How do Gemini 1.5 Pro and GLM 5 Code prompt caching discounts compare?
Gemini 1.5 Pro offers 100% cheaper cache reads at $0.00/1M compared to $0.30/1M for GLM 5 Code. Gemini 1.5 Pro 5m write: $0.00/1M; GLM 5 Code 5m write: $0.00/1M.
Which model has a larger context window: Gemini 1.5 Pro or GLM 5 Code?
Both Gemini 1.5 Pro and GLM 5 Code support a 200K (200,000 tokens) context window. Max output completion limits are 32K for Gemini 1.5 Pro and 128K for GLM 5 Code.
How do Gemini 1.5 Pro and GLM 5 Code compare on benchmarks and capabilities?
Gemini 1.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
ComparisonsGemini 1.5 Pro vs Grok 4.20
In: $1.25 vs $1.25 · Out: $5.00 vs $2.50
Gemini 1.5 Pro vs Muse Spark 1.1
In: $1.25 vs $1.25 · Out: $5.00 vs $4.25
Gemini 1.5 Pro vs Muse Spark 1.2
In: $1.25 vs $1.25 · Out: $5.00 vs $4.25
Gemini 1.5 Pro vs Muse Spark 1.3
In: $1.25 vs $1.25 · Out: $5.00 vs $4.25
GLM 5 Code vs Grok 4.20
In: $1.20 vs $1.25 · Out: $5.00 vs $2.50
GLM 5 Code vs Gemini 2.5 Computer Use Preview 10 2025
In: $1.20 vs $1.25 · Out: $5.00 vs $10.00