Gemma 4 E2B IT vs GLM-4.7-FlashX
Gemma 4 E2B IT is about 3× cheaper on a blended (3:1 input:output) token price. GLM-4.7-FlashX has the larger context window (200K vs 128K).
| Spec | Gemma 4 E2B IT | GLM-4.7-FlashX |
|---|---|---|
| Provider | Google DeepMind | Zhipu AI (Z.ai) |
| Released | Apr 2, 2026 (better) | Jan 19, 2026 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 5.1B | — |
| Context window | 128K | 200K (better) |
| Max output | 8K | 128K (better) |
| Input price / 1M | $0.04 (better) | $0.07 |
| Output price / 1M | $0.08 (better) | $0.4 |
| Input modalities | text, image, audio, video (better) | text |
| Open weights | Yes | Yes |
| License | apache-2.0 | — |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 1 | 10 (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: Gemma 4 E2B IT costs $0.56 and GLM-4.7-FlashX costs $1.50 at list price (amazon-bedrock / zai pricing).
About Gemma 4 E2B IT
Gemma 4 E2B IT is an open-weight reasoning llm from Google DeepMind, released Apr 2, 2026. It has 5.1B parameters, a 128K-token context window and accepts text, image, audio, video input. API pricing starts at $0.04 per million input tokens and $0.08 per million output tokens. Full Gemma 4 E2B IT specs →
About GLM-4.7-FlashX
GLM-4.7-FlashX is an open-weight reasoning llm from Zhipu AI (Z.ai), released Jan 19, 2026. It has a 200K-token context window. API pricing starts at $0.07 per million input tokens and $0.4 per million output tokens. It is available from 10 API providers. Full GLM-4.7-FlashX specs →
Compare other models
FAQ
Which is better, Gemma 4 E2B IT or GLM-4.7-FlashX?
Gemma 4 E2B IT is about 3× cheaper on a blended (3:1 input:output) token price. GLM-4.7-FlashX has the larger context window (200K vs 128K).
Is Gemma 4 E2B IT cheaper than GLM-4.7-FlashX?
Gemma 4 E2B IT costs $0.04 input / $0.08 output per 1M tokens; GLM-4.7-FlashX costs $0.07 / $0.4. Gemma 4 E2B IT is cheaper overall.
Which has a bigger context window?
Gemma 4 E2B IT: 131,072 tokens. GLM-4.7-FlashX: 200,000 tokens.
Are Gemma 4 E2B IT and GLM-4.7-FlashX open source?
Gemma 4 E2B IT is open-weight; GLM-4.7-FlashX is open-weight.