GLM 5

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 l

Z.ai · more Z.ai models · all models

Pricing and specs

Model IDroutexor/glm-5
ProviderZ.ai
Input, per 1M tokens$1
Output, per 1M tokens$3.20
Cached input, per 1M tokens$0.20
Price sourceReference price from OpenRouter's listing, not the provider's own page. A direct call on your key can cost a different amount.
Context window205K tokens
Max output131K tokens
CapabilitiesStreaming, Tools, JSON

Your provider bills these tokens on your account. A listing is not a promise that your key has access to this model.

Call it

curl https://api.routexor.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTEXOR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"routexor/glm-5","messages":[{"role":"user","content":"Say hello briefly."}],"max_tokens":64}'

Add your Z.ai key in the dashboard first. This call is billed by Z.ai. See the docs for which request paths are supported.