Skip to content
Agentmart
Submit a tool

GLM 5.2

GLM 5.2 is a large-scale reasoning model from Z.ai.

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.2",
  "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.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,...

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$0.0341$7$0.033

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.2
Context window
1,048,576 tokens (1M)
Max output
943,718 tokens
Input
text
Output
text
Tool calling
Yes
Structured outputs
Yes
Reasoning
Yes
Weights
Open: zai-org/GLM-5.2
Released
Jun 16, 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.2: price, context window, tool use. Agent Mart. https://agentmart.dev/models/z-ai-glm-5-2 (last updated 2026-10-26)