GLM-5

z-ai/glm-5

Sign up to try it

Overview

Chat

Z.ai's open 744B MoE with 40B active parameters, designed for agentic engineering: complex systems work and long-range agent tasks.

Made by Z.ai · released Feb 2026

Input

Text

Output

Text
Context
202.800
Input, maximum
71.728
Output, maximum
131.072
Default output
4.096
  • Reasoning Supported
  • Tool calling Supported
  • Prompt caching Supported
  • Automatic fallback routes Not supported

Routes and pricing

Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.

Novita

primary
Input
Rp18.500per million tokens$1
Output
Rp59.200per million tokens$3.2
Cache read
Rp3.700per million tokens$0.2

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

Novita Novita AI Terms of Service, 10.2

Used to train models
No
Retention
Not kept beyond generating and delivering the answer: zero data retention by default.
Processing location
Not stated; data may be transferred to the United States.
At indoRouter
We don't store your prompts or responses. Files you upload, batches, and responses you send with store: true are kept encrypted for up to 30 days.

Code samples

Use this model ID with any OpenAI SDK. The base URL is the same for every model.

curl https://api.indorouter.ai/v1/chat/completions \
  -H "authorization: Bearer $INDOROUTER_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "z-ai/glm-5",
       "messages": [{"role": "user", "content": "halo"}]}'