glm-5.2 · Z.AI
GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.
GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.
GLM 5.2 has a 1,000,000 token context window. It supports up to 131,072 output tokens.
On AIHubMix, GLM 5.2 costs $1.127 per million input tokens and $3.944 per million output tokens. Cached input reads are billed at $0.282 per million tokens.
GLM 5.2 accepts text input.
GLM 5.2 supports thinking, tool calling, function calling and structured outputs. Per-protocol parameter support is listed in the capability table on this page.
GLM 5.2 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to glm-5.2 — no other code changes needed.
GLM 5.2 is developed by Z.AI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.
GLM 5.2 was released on June 16, 2026 by Z.AI.
GLM-5.3-Flash is a high-efficiency multimodal model from Z.AI. It supports a context…
GLM-5.3 is Z.AI’s coding and agentic reasoning model, built for complex software…
GLM-5.3 is Z.ai’s reasoning model for coding and agentic workflows, designed for complex…
coding-glm-5.3-flash-free is the open and free version of coding-glm-5.3-flash. To ensure…
Coding GLM 5.3 Flash is a dedicated version of GLM 5.3 Flash built for AI coding and…
coding-glm-5.3-free is the open and free version of coding-glm-5.3. To ensure stable…
Use GLM 5.2 via the AIHubMix unified API — one interface for every major LLM.