Gemini 3.1 Pro Preview vs GLM-5.2
30-second takeaway
- GLM-5.2 has the cheaper input: $1.4 vs $2 (per 1M tokens, 30% less)
- Gemini 3.1 Pro Preview has the larger context: 1.049M vs 1M tokens
| Gemini 3.1 Pro Preview OpenCode | GLM-5.2 Alibaba | |
|---|---|---|
| Input | $2 | $1.4 |
| Output | $12 | $4.4 |
| Context | 1.049M | 1M |
More specs (max output / capabilities)
| max output | 65,536 | 131,072 |
| Reasoning | ✓ Yes | ✓ Yes |
| Tool calls | ✓ Yes | ✓ Yes |
| Open weights | — No | ✓ Yes |
Prices are official/data-source rates (per 1M tokens), not what relays actually charge — relay prices vary with discounts and group multipliers. See methodology.