Zhipu AIOpen-weight·1049K context·— params·MIT

GLM-5.2zhipu/glm-5-2

GLM-5.2 is Zhipu AI's coding-focused flagship, released 2026-06-17 with a 1M-token context window and open weights under a plain MIT license — no regional restrictions. At 753B parameters it targets long-horizon agentic coding, and it is the most-downloaded model in this directory by a wide margin. Native API pricing is $1.40 per 1M input tokens and $4.40 per 1M output, with cached input at $0.26.

Pricing across providers

No current verified API pricing is listed. See the official model documentation for availability and billing.

Capabilities

  • chat
  • code
  • reasoning
  • long_context
  • agent

Technical specs

Context
1049K
Max output
—
Parameters
—
Release
—
Training cutoff
—
License
MIT

Similar models

Compare with

  • GLM-5.2 vs DeepSeek V3.1
    Comparison planned — not yet published
  • GLM-5.2 vs R1
    Comparison planned — not yet published
  • GLM-5.2 vs DeepSeek V3
    Comparison planned — not yet published

Frequently asked

How much does GLM-5.2 cost?+
No current verified API pricing is listed. This does not mean the model is free or that a hosted API is currently available. Check the official model documentation below.
How do I access GLM-5.2 from outside China?+
Availability, account verification and payment methods vary by provider and region. Check the official documentation and the selected provider's access requirements before integrating. A directory listing does not guarantee global API access.
Is GLM-5.2 open-source? Can I fine-tune it?+
GLM-5.2 has published weights. License: MIT. Review the linked repository and license for deployment, fine-tuning and commercial-use conditions.
What's the maximum context window for GLM-5.2?+
The model supports up to 1,048,576 tokens of context (input + output). Some hosted versions may impose a smaller limit — check the "Context" column in the pricing matrix for each provider.