Models
glm-5.2 β API, Pricing & Context Window | Vivgrid
glm-5.2 on Vivgrid: Zhipu AI's coding model with a 1M-token context window, function calling, and competitive pricing.
glm-5.2 is Zhipu AI's latest coding and reasoning model, pairing reliable function calling with a major upgrade: a 1M-token context window, up from 200K in glm-5.1. It's a strong, low-cost option for agentic coding workloads that need to reason over large codebases.
On Vivgrid, glm-5.2 is reachable through the unified, OpenAI-compatible endpoint, so it integrates cleanly alongside models from OpenAI, Anthropic, Google, and DeepSeek under one API key.
Ideal use cases
- Cost-effective coding agents and CLIs
- Whole-repository reasoning within a 1M-token context
- Tool-calling workflows on Chat Completions
- Teams diversifying beyond US-based providers
Related models
- glm-5.1 β prior-generation model with a 200K context
- deepseek-v4-pro β flagship low-cost coding model
- kimi-k2.6 β alternative high-context coding model