Z.ai: GLM 5.2 API

GLM-5.2 is the flagship model for the era of long tasks. It supports truly usable 1M context and has been tested to be capable of handling project-level engineering contexts. Long-term tasks are executed more stably and engineering standards are followed more reliably, resulting in a further increase in the success rate of development scenarios. A single task can complete the entire development chain from requirements to multi-platform deployable products.

Frequently Asked Questions

What is the context window of GLM 5.2?

GLM 5.2 supports a context window of up to 1,000,000 tokens.

Does GLM 5.2 support function calling?

Yes. GLM 5.2 supports tool / function calling.

Does GLM 5.2 support reasoning?

Yes. GLM 5.2 is a reasoning-capable model.