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
ProviderFriendliFriendli
Input / 1M tokens$0.14$1.40
Output / 1M tokens$0.40$4.40
Context window262K1M
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.