GooglevsZ.ai·Updated Nov 2026
Gemma 4 31B IT logovsz-ai/glm-4.5-air logo

Gemma 4 31B IT vs z-ai/glm-4.5-air

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
Tie · $0.20/1M

Equal

Cheaper Output
Gemma 4 31B IT logoGemma 4 31B IT-64%

$0.40 vs $1.10 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
Gemma 4 31B IT logoGemma 4 31B IT2×

262K vs 131K 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 4 31B IT logoGemma 4 31B ITPending
z-ai/glm-4.5-air logoz-ai/glm-4.5-airPending
AA Engineering
Gemma 4 31B IT logoGemma 4 31B ITPending
z-ai/glm-4.5-air logoz-ai/glm-4.5-airPending
Core Capability Profile
MetricGemma 4 31B ITz-ai/glm-4.5-air
ReasoningYesYes
Input Modalitiesimage, text, videotext
Tools & JSONToolsTools
Prompt Caching$0.20/1M$0.03/1M
Open-WeightProprietaryOpen

Side-by-side specification matrix

USD ·
MetricGemma 4 31B IT logoGemma 4 31B ITz-ai/glm-4.5-air logoz-ai/glm-4.5-airCompare
Input / 1M$0.20$0.20Equal
Output / 1M$0.40$1.10Gemma 4 31B IT -64%
5m Cache Write / 1M$0.20$0.20Equal
1h Cache Write / 1M———
Cache Read$0.20$0.03z-ai/glm-4.5-air -85%
Web Search / Call———
Context262K (262,144)131K (131,072)Gemma 4 31B IT 2×
Max Output131K (131,072)98K (98,304)Gemma 4 31B IT 1.3×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiesimage, text, videotextGemma 4 31B IT
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightProprietary APIOpen-Weightz-ai/glm-4.5-air

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 4 31B IT $8.25/mo ($99.00)
-16%
Gemma 4 31B IT logoGemma 4 31B ITBest Value
$42.00/mo
In: $15.00
Cache: $15.00
Out: $12.00
Search: N/A
z-ai/glm-4.5-air logoz-ai/glm-4.5-air
$50.25/mo
In: $15.00
Cache: $2.25
Out: $33.00
Search: N/A

Frequently Asked Questions

Is Gemma 4 31B IT or z-ai/glm-4.5-air cheaper per API token?

Both Gemma 4 31B IT and z-ai/glm-4.5-air charge an identical $0.20 per 1M input tokens. For output tokens, Gemma 4 31B IT costs 64% less ($0.40 vs $1.10 per 1M).

How do Gemma 4 31B IT and z-ai/glm-4.5-air prompt caching discounts compare?

z-ai/glm-4.5-air offers 85% cheaper cache reads at $0.03/1M compared to $0.20/1M for Gemma 4 31B IT. Gemma 4 31B IT 5m write: $0.20/1M; z-ai/glm-4.5-air 5m write: $0.20/1M.

Which model has a larger context window: Gemma 4 31B IT or z-ai/glm-4.5-air?

Gemma 4 31B IT provides a 2× larger context window (262K vs 131K tokens). For single-turn output generation, Gemma 4 31B IT caps at 131K tokens and z-ai/glm-4.5-air caps at 98K tokens.

How do Gemma 4 31B IT and z-ai/glm-4.5-air compare on benchmarks and capabilities?

Gemma 4 31B IT adds native vision/image input support, and z-ai/glm-4.5-air releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons