Gemma 2 27B vs GLM 5.2
Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.
$0.62 vs $0.65 / 1M
$0.65 vs $2.42 / 1M
—
1.05M vs 8K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | Gemma 2 27B | GLM 5.2 |
|---|---|---|
| Reasoning | — | Yes |
| Input Modalities | text | text |
| Tools & JSON | — | Tools |
| Prompt Caching | $0.65/1M | $0.14/1M |
| Open-Weight | Proprietary | Open |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for Gemma 2 27B and GLM 5.2.
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 | $0.65 | $0.62 | GLM 5.2 -4.6% |
| Output / 1M | $0.65 | $2.42 | Gemma 2 27B -73% |
| 5m Cache Write / 1M | $0.65 | $0.62 | GLM 5.2 -4.6% |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.65 | $0.14 | GLM 5.2 -78% |
| Web Search / Call | — | — | — |
| Context | 8K (8,192) | 1.05M (1,048,576) | GLM 5.2 128× |
| Max Output | 2K (2,048) | 944K (943,718) | GLM 5.2 461× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text | text | Equal |
| Reasoning | Not listed | Supported | GLM 5.2 |
| Structured Outputs(JSON Schema) | Not listed | Not listed | Equal |
| Open-Weight | Proprietary API | Open-Weight | GLM 5.2 |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is Gemma 2 27B or GLM 5.2 cheaper per API token?
GLM 5.2 is 4.6% cheaper on input tokens ($0.62 vs $0.65 per 1M). For output tokens, Gemma 2 27B costs 73% less ($0.65 vs $2.42 per 1M).
How do Gemma 2 27B and GLM 5.2 prompt caching discounts compare?
GLM 5.2 offers 78% cheaper cache reads at $0.14/1M compared to $0.65/1M for Gemma 2 27B. Gemma 2 27B 5m write: $0.65/1M; GLM 5.2 5m write: $0.62/1M.
Which model has a larger context window: Gemma 2 27B or GLM 5.2?
GLM 5.2 provides a 128× larger context window (1.05M vs 8K tokens). For single-turn output generation, Gemma 2 27B caps at 2K tokens and GLM 5.2 caps at 944K tokens.
How do Gemma 2 27B and GLM 5.2 compare on benchmarks and capabilities?
GLM 5.2 releases open weights for self-hosting or dedicated inference.
Related Head-to-Head Matchups
ComparisonsGemma 2 27B vs Kimi K2.6
In: $0.65 vs $0.65 · Out: $0.65 vs $3.41
Gemma 2 27B vs Qwen2.5 Coder 32B Instruct
In: $0.65 vs $0.66 · Out: $0.65 vs $1.00
Gemma 2 27B vs DeepSeek V3.2 Thinking
In: $0.65 vs $0.62 · Out: $0.65 vs $1.85
GLM 5.2 vs DeepSeek V3.2 Thinking
In: $0.62 vs $0.62 · Out: $2.42 vs $1.85
GLM 5.2 vs MiniMax M2.7
In: $0.62 vs $0.60 · Out: $2.42 vs $1.80
GLM 5.2 vs moonshotai/kimi-k2.5
In: $0.62 vs $0.60 · Out: $2.42 vs $3.00