Auto-generated comparison

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

Google: Gemma 4 31B wins on 4 of 6 axes — pricing and capability skew in its favour for most workloads.

Side-by-side comparison

CapabilityGoogle: Gemma 4 31BZ.ai: GLM 4.7Winner
Context window
Maximum number of input tokens the model can attend to in a single request.
262K205K🏆 Google: Gemma 4 31B
Input price (per 1M)
Cost per million input tokens billed by the provider.
$0.10$0.40🏆 Google: Gemma 4 31B
Output price (per 1M)
Cost per million output tokens billed by the provider.
$0.34$1.75🏆 Google: Gemma 4 31B
Tool / function calling
First-class support for emitting structured tool calls.
YesYesTie
Vision input
Accepts image inputs alongside text.
Yes🏆 Google: Gemma 4 31B
Reasoning mode
Internal chain-of-thought / extended-thinking support.
YesYesTie

Frequently asked questions

Is Google: Gemma 4 31B better than Z.ai: GLM 4.7?

Google: Gemma 4 31B wins on 4 of 6 axes — pricing and capability skew in its favour for most workloads.

What's the price difference between Google: Gemma 4 31B and Z.ai: GLM 4.7?

Input: $0.10 vs $0.40 per 1M tokens. Output: $0.34 vs $1.75 per 1M tokens.

What context windows do Google: Gemma 4 31B and Z.ai: GLM 4.7 support?

Google: Gemma 4 31B supports up to 262K tokens. Z.ai: GLM 4.7 supports up to 205K tokens.

Do both Google: Gemma 4 31B and Z.ai: GLM 4.7 support tool calling?

Google: Gemma 4 31B: yes. Z.ai: GLM 4.7: yes.

Compare Google: Gemma 4 31B with other models

Compare Z.ai: GLM 4.7 with other models