Skip to content

GLM-5.2 vs Gemma 4 31B Instruct

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

SpecGLM-5.2Gemma 4 31B Instruct
ProviderBerget.AIBerget.AI
Input / 1M tokens$1.54$0.28
Output / 1M tokens$4.84$0.55
Context window524K128K
Parameters
Open weightsYesYes
ReleasedJun 2026Apr 2026

FAQ

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