GLM 5.1

Z.ai · April 2026

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

  • Modalities

  • Context window

    202,752 tokens, ≈ 152,000 words · about 610 pages

  • Max output

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

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