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
ProviderTinfoilTinfoil
Input / 1M tokens$0.40$1.50
Output / 1M tokens$1.00$5.25
Context window256K384K
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.