Skip to content
llmmodels

Gemma 4 31B IT vs GLM-4.7-Flash

Gemma 4 31B IT wins 2 of 2 benchmarks both models report. Gemma 4 31B IT has the larger context window (256K vs 200K).

SpecGemma 4 31B ITGLM-4.7-Flash
ProviderGoogle DeepMindZhipu AI (Z.ai)
ReleasedApr 2, 2026 (better)Jan 19, 2026
TypeReasoning LLMReasoning LLM
Parameters31B31B
Context window256K (better)200K
Max output32K128K (better)
Input price / 1MFreeFree
Output price / 1MFreeFree
Input modalitiestext, image, video (better)text
Open weightsYesYes
Licenseapache-2.0mit
Reasoning modeYesYes
Tool callingYesYes
API providers51 (better)24
Epoch Capabilities Index144.1—
GPQA Diamond75.8% (better)60.5%
WebDev Arena1364—
OTIS Mock AIME73.3% (better)58.3%
SimpleQA Verified10.4%—

Cost example

For a workload of 10M input + 2M output tokens per month: Gemma 4 31B IT costs $0.00 and GLM-4.7-Flash costs $0.00 at list price (Google DeepMind / zai pricing).

About Gemma 4 31B IT

Gemma 4 31B IT is an open-weight reasoning llm from Google DeepMind, released Apr 2, 2026. It has 31B parameters, a 256K-token context window and accepts text, image, video input. It can be used for free via API. It is available from 51 API providers. It scores 144.1 on the Epoch Capabilities Index. Full Gemma 4 31B IT specs →

About GLM-4.7-Flash

GLM-4.7-Flash is an open-weight reasoning llm from Zhipu AI (Z.ai), released Jan 19, 2026. It has 31B parameters and a 200K-token context window. It can be used for free via API. It is available from 24 API providers. Full GLM-4.7-Flash specs →

Compare other models

FAQ

Which is better, Gemma 4 31B IT or GLM-4.7-Flash?

Gemma 4 31B IT wins 2 of 2 benchmarks both models report. Gemma 4 31B IT has the larger context window (256K vs 200K).

Which has a bigger context window?

Gemma 4 31B IT: 262,144 tokens. GLM-4.7-Flash: 200,000 tokens.

Are Gemma 4 31B IT and GLM-4.7-Flash open source?

Gemma 4 31B IT is open-weight; GLM-4.7-Flash is open-weight.