Skip to content

GLM-4.7 vs Gemma 4 31B Garnet

Both have similar output pricing, while Gemma 4 31B Garnet offers a larger context window. Choose GLM-4.7 or Gemma 4 31B Garnet based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGLM-4.7Gemma 4 31B Garnet
ProviderZ.ai (Zhipu AI)NanoGPT
Input / 1M tokens$0.31
Output / 1M tokens$0.31
Context window262K
Parameters358B
Open weightsYesNo
ReleasedDec 2025May 2026

FAQ

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