GLM 5.2 vs gpt-4.1
| Z.ai GLM 5.2 | OpenAI gpt-4.1 | |
|---|---|---|
| Vendor | Z.ai | OpenAI |
| Context window | 1,000,000 | 1,047,576 |
| Max output | 128,000 | 32,768 |
| Reasoning | Yes | No |
| Tool calling | Yes | Yes |
| File input | No | Yes |
| Input | text | text, image |
| Output | text | text |
| Released | 2026-06-16 | 2025-04-14 |