TEXT

GLM-5.2

GLM-5.2 is a 753.33B-parameter language model from Z.ai, suited to chat, reasoning and coding workloads. It runs with a 1M-token context window.

Specifications

Provider
Z.ai
Type
Language model
Category
Text
Parameters
753.33B
Context window
1M tokens
License
mit
API endpoint
/v1/chat/completions
Model ID
GLM-5.2

About GLM-5.2

We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context. GLM-5.2's new capabilities include: - Solid 1M Context: A solid 1M-token context that stably sustains long-horizon work - Advanced Coding with Flexible Effort: Stronger…

  • transformers
  • safetensors
  • glm_moe_dsa
  • text-generation
  • conversational
  • en
  • zh
  • eval-results

Hugging Face · 316,008 downloads · 5,206 likes

GLM-5.2 API example

Chat completions through the OpenAI-compatible Denizen Blu One API. Point any OpenAI SDK at api.denizenblu.com/v1, set model to GLM-5.2 and send the request.

curl https://api.denizenblu.com/v1/chat/completions \
  -H "Authorization: Bearer $DENIZEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "GLM-5.2",
    "messages": [{ "role": "user", "content": "Hello, blue world." }]
  }'

Need keys, streaming or error codes? See the API docs, or try it first in the playground.

Included in every plan

GLM-5.2 is part of the flat-rate catalog, so you never pay per token to use it. Plans differ by usage limits, concurrency and support, not by whether this model is available.

  • Explorer$11 a year
  • Creator$31 a year
  • Professional$51 a year
  • Ultimate$101 a year
  • EnterpriseContact sales

Compare plans

Browse the full catalog