Z

Glm 5.2

Z.aizai/glm-5.2
Modality

Chat

Family

GLM

Context window

—

Max output

—

Served On

Alibaba Cloud Model Studio

Glm 5.2 is a chat model made by Z.ai, served on nRouter.

Model pricing

Exact provider list price · 0% platform fee · x-nr-request-cost header

Rates are read live

Pricing for zai/glm-5.2 is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.

Start building with zai/glm-5.2

One API key, three steps. Choose your tool to begin.

  1. Set your API key

    export NROUTER_API_KEY="<YOUR_API_KEY>"
  2. Configure Claude Code

    Choose a tool, then copy its setup from the panel.

npm install -g @anthropic-ai/claude-code
Claude Code · zai/glm-5.2
# Point Claude Code to nRouter gateway
export ANTHROPIC_BASE_URL="https://api.nrouter.ai"
export ANTHROPIC_API_KEY="$NROUTER_API_KEY"

# Launch with zai/glm-5.2
claude --model zai/glm-5.2

Specifications & capabilities

VisionFunction callingSystem prompt
Compare context window against peer models (—)

Context window, ranked against other chat models

Proportional scale: 0 to 272K tokens. Not ranked, no published context window: alibaba/qwen-mt-flash, alibaba/qwen3.7-flash, google/gemini-4-neon.

Availability

Collecting probe samples

Not enough health probe samples collected yet to publish an uptime or latency figure.

More from Z.ai

FAQs

What is Glm 5.2?

Glm 5.2 is a chat model made by Z.ai, served on nRouter.

How much does Glm 5.2 cost?

Glm 5.2 is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.

Does Glm 5.2 support tool calling and structured outputs?

No. Glm 5.2 does not support tool calling, so it cannot invoke external tools or functions.

What inputs and outputs does Glm 5.2 support?

Glm 5.2 takes text as input and returns text as output.

How do I use Glm 5.2 via nRouter?

Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "zai/glm-5.2". The quick-start panel above has a copy-paste curl command for this model.

Where is the Glm 5.2 documentation?

Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.

What other text models does Z.ai have?

Other Z.ai text models on nRouter include GLM 5 (nrouter.ai/models/zai-glm-5), GLM 5.1 (nrouter.ai/models/zai-glm-5.1), GLM 5.2 Fast Preview (nrouter.ai/models/zai-glm-5.2-fast-preview), GLM 5.3 Prime (nrouter.ai/models/zai-glm-5.3-prime).