GooglevsZ.ai·Updated Nov 2026
Gemma 3 4B logovsz-ai/glm-4.6 logo

Gemma 3 4B vs z-ai/glm-4.6

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
Gemma 3 4B logoGemma 3 4B-90%

$0.05 vs $0.50 / 1M

Cheaper Output
Gemma 3 4B logoGemma 3 4B-95%

$0.10 vs $2.00 / 1M

AA Intelligence / AA Engineering
z-ai/glm-4.6

—

Context Window
z-ai/glm-4.6 logoz-ai/glm-4.61.5×

203K 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 3 4B logoGemma 3 4BPending
z-ai/glm-4.6 logoz-ai/glm-4.6Pending
AA Engineering
Gemma 3 4B logoGemma 3 4BPending
z-ai/glm-4.6 logoz-ai/glm-4.6Pending
Core Capability Profile
MetricGemma 3 4Bz-ai/glm-4.6
Reasoning—Yes
Input Modalitiestext, imagetext
Tools & JSON—Tools
Prompt Caching$0.05/1M$0.10/1M
Open-WeightProprietaryOpen

Side-by-side specification matrix

USD ·
MetricGemma 3 4B logoGemma 3 4Bz-ai/glm-4.6 logoz-ai/glm-4.6Compare
Input / 1M$0.05$0.50Gemma 3 4B -90%
Output / 1M$0.10$2.00Gemma 3 4B -95%
5m Cache Write / 1M$0.05$0.50Gemma 3 4B -90%
1h Cache Write / 1M———
Cache Read$0.05$0.10Gemma 3 4B -50%
Web Search / Call———
Context131K (131,072)203K (202,752)z-ai/glm-4.6 1.5×
Max Output16K (16,384)131K (131,072)z-ai/glm-4.6 8×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, imagetextGemma 3 4B
ReasoningNot listedSupportedz-ai/glm-4.6
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightProprietary APIOpen-Weightz-ai/glm-4.6

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 3 4B $94.50/mo ($1,134.00)
-90%
Gemma 3 4B logoGemma 3 4BBest Value
$10.50/mo
In: $3.75
Cache: $3.75
Out: $3.00
Search: N/A
z-ai/glm-4.6 logoz-ai/glm-4.6
$105.00/mo
In: $37.50
Cache: $7.50
Out: $60.00
Search: N/A

Frequently Asked Questions

Is Gemma 3 4B or z-ai/glm-4.6 cheaper per API token?

Gemma 3 4B is 90% cheaper on input tokens ($0.05 vs $0.50 per 1M). For output tokens, Gemma 3 4B costs 95% less ($0.10 vs $2.00 per 1M).

How do Gemma 3 4B and z-ai/glm-4.6 prompt caching discounts compare?

Gemma 3 4B offers 50% cheaper cache reads at $0.05/1M compared to $0.10/1M for z-ai/glm-4.6. Gemma 3 4B 5m write: $0.05/1M; z-ai/glm-4.6 5m write: $0.50/1M.

Which model has a larger context window: Gemma 3 4B or z-ai/glm-4.6?

z-ai/glm-4.6 provides a 1.5× larger context window (203K vs 131K tokens). For single-turn output generation, Gemma 3 4B caps at 16K tokens and z-ai/glm-4.6 caps at 131K tokens.

How do Gemma 3 4B and z-ai/glm-4.6 compare on benchmarks and capabilities?

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

Related Head-to-Head Matchups

Comparisons