Skip to content

Gemma 4 31B IT vs GLM-5.1

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

SpecGemma 4 31B ITGLM-5.1
ProviderFriendliFriendli
Input / 1M tokens$0.14$1.40
Output / 1M tokens$0.40$4.40
Context window262K203K
Parameters754B
Open weightsYesYes
ReleasedApr 2026Apr 2026

FAQ

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