GLM 5.1

LLM
Z.AI

GLM 5.1 is designed for agentic engineering and coding. It handles complex, long-horizon problems by breaking them down, running experiments, and iterating over many rounds, improving results the longer it runs.

Context tokens

128,000

Output tokens

8,192

Released

Apr 7, 2026

Schema

Supports thinking mode.

Schema documentation

Capabilities

Tool use
Structured output
Multilingual

Supported languages

en
zh

Supported tools

  • Seclai Web Tools

    Fetch web pages and search the web from within agent prompt calls. Includes seclai_web_fetch for retrieving page content in markdown, HTML, or plain text, and seclai_web_search for finding relevant pages with content snippets.

Pricing

TypeCreditsUnits
Input18.62Credits per 1k tokens
Output58.52Credits per 1k tokens
Cache hit3.46Credits per 1k tokens

Variants

No variants available for this model.

Try This Model

Write a prompt and experiment with GLM 5.1 in the model experiments page. You can compare it with other models side by side.