Skip to content
llmmodels

Gemma 4 31B IT vs GLM-5.3-Flash

GLM-5.3-Flash wins 4 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (153.8 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. GLM-5.3-Flash has the larger context window (1M vs 256K).

SpecGemma 4 31B ITGLM-5.3-Flash
ProviderGoogle DeepMindZhipu AI (Z.ai)
ReleasedApr 2, 2026Aug 26, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters31B321B
Context window256K1M (better)
Max output32K128K (better)
Input price / 1MFree (better)$0.12
Output price / 1MFree (better)$0.418
Input modalitiestext, image, videotext, image, video, pdf (better)
Open weightsYesYes
Licenseapache-2.0mit
Reasoning modeYesYes
Tool callingYesYes
API providers51132 (better)
Epoch Capabilities Index144.1153.8 (better)
GPQA Diamond75.8%90.2% (better)
WebDev Arena13641607 (better)
OTIS Mock AIME73.3%93.9% (better)
FrontierMath—55.8%
ARC-AGI-2—65.8%
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-5.3-Flash costs $2.03 at list price (Google DeepMind / zhipuai 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-5.3-Flash

GLM-5.3-Flash is an open-weight reasoning llm from Zhipu AI (Z.ai), released Aug 26, 2026. It has 321B parameters, a 1M-token context window and accepts text, image, video, pdf input. API pricing starts at $0.12 per million input tokens and $0.418 per million output tokens. It is available from 132 API providers. It scores 153.8 on the Epoch Capabilities Index. Full GLM-5.3-Flash specs →

Compare other models

FAQ

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

GLM-5.3-Flash wins 4 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (153.8 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. GLM-5.3-Flash has the larger context window (1M vs 256K).

Is Gemma 4 31B IT cheaper than GLM-5.3-Flash?

Gemma 4 31B IT costs Free input / Free output per 1M tokens; GLM-5.3-Flash costs $0.12 / $0.418. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

Gemma 4 31B IT: 262,144 tokens. GLM-5.3-Flash: 1,000,000 tokens.

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

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