GLM 5.2 by ZhipuAI on Electron Hub: $1 per million input tokens and $3.2 per million output tokens, 1M context. Call it as glm-5.2 on one OpenAI-compatible API.
GLM-5.2 is Z.ai's most advanced flagship model for agentic software engineering, featuring a usable 1M-token context window, a 5x leap over its predecessor, enabling agents to hold entire repositories in working memory across extended multi-step sessions. Built on the GLM-5 744B Mixture-of-Experts architecture (40B active parameters, 28.5T training tokens) with DeepSeek Sparse Attention, it introduces High and Max thinking-effort modes for deeper reasoning on complex tasks. GLM-5.2 excels at long-horizon autonomous workflows, multi-step tool use, and large-scale code generation, with the…