releases.shpreview

GLM 5.2 now available on AI Gateway

GLM 5.2 is now available on AI Gateway. Built for long-horizon tasks, GLM 5.2 carries project-level engineering context across a single task, runs long-running tasks more reliably, and follows engineering standards more consistently. The context window has been upgraded to 1M tokens, up from 200K in GLM 5.1. Available via the AI SDK with model ID zai/glm-5.2. AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations.

Fetched June 17, 2026