Skip to content
Agentmart
Submit a tool

GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks.

Model by Z.ai

IndexedLicense unknown
Write a review

Install

Pick your client. Read the repository before you give any tool access to your data.

{
  "model": "z-ai/glm-5.1",
  "baseURL": "https://openrouter.ai/api/v1"
}

OpenAI-compatible API: point any OpenAI SDK at the base URL and use this model id.

Settings it needs

  • OPENROUTER_API_KEYrequiredsecret

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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...

Use cases: code-generation, model-inference

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Price and limits

VariantInput $/M tokensOutput $/M tokensCached input $/M
Standard$1.4$4.4$0.26

Price as of Oct 26, 2026 from OpenRouter · provider's own prices: docs.z.ai. Prices change often; check before you rely on one.

Provider
Z.ai
Model id
z-ai/glm-5.1
Context window
204,800 tokens (205K)
Max output
131,072 tokens
Input
text
Output
text
Tool calling
Yes
Structured outputs
Yes
Reasoning
Yes
Weights
Open: zai-org/GLM-5.1
Released
Apr 7, 2026

Details

Auth
API key
License
License unknown
Website
z.ai
First seen
Oct 24, 2026
Last checked
Oct 26, 2026

More from Z.ai

Cite this page

GLM 5.1: price, context window, tool use. Agent Mart. https://agentmart.dev/models/z-ai-glm-5-1 (last updated 2026-10-26)