GooglevsZ.ai·Updated Nov 2026
Gemma 2 27B logovsGLM 5.2 logo

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.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
GLM 5.2 logoGLM 5.2-4.6%

$0.62 vs $0.65 / 1M

Cheaper Output
Gemma 2 27B logoGemma 2 27B-73%

$0.65 vs $2.42 / 1M

AA Intelligence / AA Engineering
GLM 5.2

—

Context Window
GLM 5.2 logoGLM 5.2128×

1.05M vs 8K 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
Gemma 2 27B logoGemma 2 27BPending
GLM 5.2 logoGLM 5.2Pending
AA Engineering
Gemma 2 27B logoGemma 2 27BPending
GLM 5.2 logoGLM 5.2Pending
Core Capability Profile
MetricGemma 2 27BGLM 5.2
Reasoning—Yes
Input Modalitiestexttext
Tools & JSON—Tools
Prompt Caching$0.65/1M$0.14/1M
Open-WeightProprietaryOpen

Side-by-side specification matrix

USD ·
MetricGemma 2 27B logoGemma 2 27BGLM 5.2 logoGLM 5.2Compare
Input / 1M$0.65$0.62GLM 5.2 -4.6%
Output / 1M$0.65$2.42Gemma 2 27B -73%
5m Cache Write / 1M$0.65$0.62GLM 5.2 -4.6%
1h Cache Write / 1M———
Cache Read$0.65$0.14GLM 5.2 -78%
Web Search / Call———
Context8K (8,192)1.05M (1,048,576)GLM 5.2 128×
Max Output2K (2,048)944K (943,718)GLM 5.2 461×
AA Intelligence(Artificial Analysis)———
AA Engineering———
CapabilitiestexttextEqual
ReasoningNot listedSupportedGLM 5.2
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightProprietary APIOpen-WeightGLM 5.2

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 Gemma 2 27B $12.60/mo ($151.20)
-9.7%
Gemma 2 27B logoGemma 2 27BBest Value
$117.00/mo
In: $48.75
Cache: $48.75
Out: $19.50
Search: N/A
GLM 5.2 logoGLM 5.2
$129.60/mo
In: $46.50
Cache: $10.50
Out: $72.60
Search: N/A

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

Comparisons