Skip to content

Gemma 4 31B Garnet vs GLM 5.1

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

SpecGemma 4 31B GarnetGLM 5.1
ProviderNanoGPTZ.ai
Input / 1M tokens$0.31$0.97
Output / 1M tokens$0.31$3.04
Context window262K205K
Parameters—754B
Open weightsNo—
ReleasedMay 2026Apr 2026
LiveBench score—70.6
FrontierMath score—33.5
Epoch Capabilities Index score—150
GPQA Diamond score—89.9
LMArena (Chatbot Arena) Elo score—1462
LMArena WebDev Elo score—1508

FAQ

Is Gemma 4 31B Garnet or GLM 5.1 cheaper?

Gemma 4 31B Garnet is cheaper on output tokens ($0.31 vs $3.04 per 1M).

Which has the larger context window, Gemma 4 31B Garnet or GLM 5.1?

Gemma 4 31B Garnet has the larger context window (262K tokens).

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