GLM 5.2

Z.ai · June 2026

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Superseded by GLM 5.3 →

  • Modalities

  • Context window

    1,048,576 tokens, ≈ 786,000 words · about 3,150 pages

  • Max output

    131,072 tokens, ≈ 98,000 words in a single answer

Reasoning effort

Default: Max

  • None

  • Minimal

  • Low

  • Medium

  • High

  • X-High

  • Max

Providers

Files you can attach

  • ImagesNot supported
  • DocumentsNot supported
  • Text and codeTXT, MD, CSV, TSV, RPT, LOG, PY, TS, TSX, JS, JSX, CS, GO, JAVA, KT, SWIFT, CPP, C, H, PHP, RB, SQL, SH, PS1, HTML, CSS, SCSS, JSON, YAML, YML, XML, INI

Ready to try it?

Log in

Bring your own API key · Your chats stay in your browser