Z

Glm 5.1

Z.aizai/glm-5.1
Modality

Chat

Family

GLM

Context window

—

Max output

—

Served On

Alibaba Cloud Model Studio

Glm 5.1 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.1 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.1

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.1
# 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.1
claude --model zai/glm-5.1

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.

Benchmarks & performance rankings

Published LLM Arena category placements and Elo ratings for Glm 5.1.

LLM Arena category ratings
Overall#43

1463Elo

Coding#50

1485Elo

WebDev#73

1508Elo

Math#46

1472Elo

Creative Writing#36

1453Elo

Hard Prompts#48

1473Elo

Instruction Following#55

1452Elo

Multi-Turn#37

1472Elo

Longer Query#48

1467Elo

Non-English#45

1448Elo

Source: huggingface.co · CC-BY-4.0

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

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

How much does Glm 5.1 cost?

Glm 5.1 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.1 support tool calling and structured outputs?

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

What inputs and outputs does Glm 5.1 support?

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

How do I use Glm 5.1 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.1". The quick-start panel above has a copy-paste curl command for this model.

Where is the Glm 5.1 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.2 (nrouter.ai/models/zai-glm-5.2), 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).