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).
| Spec | Gemma 4 31B IT | GLM-5.3-Flash |
|---|---|---|
| Provider | Google DeepMind | Zhipu AI (Z.ai) |
| Released | Apr 2, 2026 | Aug 26, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 31B | 321B |
| Context window | 256K | 1M (better) |
| Max output | 32K | 128K (better) |
| Input price / 1M | Free (better) | $0.12 |
| Output price / 1M | Free (better) | $0.418 |
| Input modalities | text, image, video | text, image, video, pdf (better) |
| Open weights | Yes | Yes |
| License | apache-2.0 | mit |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 51 | 132 (better) |
| Epoch Capabilities Index | 144.1 | 153.8 (better) |
| GPQA Diamond | 75.8% | 90.2% (better) |
| WebDev Arena | 1364 | 1607 (better) |
| OTIS Mock AIME | 73.3% | 93.9% (better) |
| FrontierMath | — | 55.8% |
| ARC-AGI-2 | — | 65.8% |
| SimpleQA Verified | 10.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.