Head-to-Head Pricing Benchmark

Google: Gemma 4 31B vs. Z.ai: GLM 4.5

Interactive cost comparison based on live API token rates and context window limits. Overall lower blended token cost: Google: Gemma 4 31B.

Interactive Side-by-Side Cost Calculator

Slide your daily token volume to compare monthly bills between both models in real time.

Google: Gemma 4 31B Monthly Cost $0.00/mo
Z.ai: GLM 4.5 Monthly Cost $0.00/mo

Side-by-Side Specs & Token Rates

Metric Google: Gemma 4 31B Z.ai: GLM 4.5
Provider Google Z.AI (GLM)
Model Type Open-Weight Open-Weight
Input Cost / 1M $0.20 $0.60
Output Cost / 1M $0.40 $2.20
Context Window 262,144 tokens 131,072 tokens
4-Bit Quantized VRAM 20.2 GB (Open-Weight) 230.8 GB (Open-Weight)
Cloud Infrastructure Deal

Deploy Your AI App or Open-Source LLM for Less

Rent serverless or dedicated GPUs on RunPod and Vast.ai to cut your monthly AI infrastructure bill by up to 70%.

Deploy on RunPod (From $0.20/hr) Rent GPUs on Vast.ai (Save up to 70%)