Z.aiGLM-5

GLM-5.2

A long-context GLM release with a shared sparse-attention indexer.

Practical use

Practical guidance. For repository work, compare the model with the same files and task history used by newer releases. A large context is most useful when the input includes the decisions and constraints needed to judge the final edit.

Specifications & access

GLM-5.2 specifications
DetailValue and conditions
AccessAPI, Downloadable
Model identifiersglm-5.2zai-org/GLM-5.2
ArchitectureIndexShare reuses an indexer across four sparse-attention layers. The release also updates multi-token prediction.GLM-5.2 model card
API limitsText input and output; one-million-token context and 128,000 output tokens.GLM-5.2 guide
LicenceMIT.GLM-5.2 model card

Related models

  • GLM-5.3

    Z.ai · GLM-5

    A text model with stronger post-training on the GLM-5.2 base.

    Launch date not confirmedAPI · Downloadable
  • GLM-5

    Z.ai · GLM-5

    A sparse text model for reasoning and software engineering.

    Launch date not confirmedAPI · Downloadable
  • GLM-5.1

    Z.ai · GLM-5

    A GLM release trained for sustained multi-step work.

    Launch date not confirmedAPI · Downloadable