Skip to content

Gemma 4 31B IT vs GLM 5.2

Gemma 4 31B IT is cheaper on output tokens, while GLM 5.2 offers a larger context window. Choose Gemma 4 31B IT or GLM 5.2 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGemma 4 31B ITGLM 5.2
ProviderLilacLilac
Input / 1M tokens$0.11$0.90
Output / 1M tokens$0.35$3.00
Context window262K524K
Parameters
Open weightsYesYes
ReleasedApr 2026Jun 2026

FAQ

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.