
GLM-5.2
Flagship long-horizon coding LLM with usable 1M context and stronger end-to-end engineering execution
Available via OpenAI-compatible API
GLM-5.2
Flagship long-horizon coding LLM with usable 1M context and stronger end-to-end engineering execution
Available via OpenAI-compatible API
GLM-5.2 Overview
GLM-5.2 is Z.ai's flagship language model for long-horizon coding, agentic engineering, and sustained multi-step execution. It is designed to keep large project context coherent over extended runs, with a 1M token context window, 128K max output, multiple thinking modes, function calling, structured output, context caching, streaming, and MCP support for tool-rich workflows.
Token based
Input tokens / 1M$0.8
Output tokens / 1M$2.55
Cache read / 1M$0.16
Commercial use