Skip to content
Agentmart
Submit a tool

GLM 5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows.

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",
  "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 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...

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$3.2$0.2

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
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
Released
Feb 11, 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: price, context window, tool use. Agent Mart. https://agentmart.dev/models/z-ai-glm-5 (last updated 2026-10-26)