GLM 4.5

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GL

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

Pricing and specs

Model IDroutexor/glm-4.5
ProviderZ.ai
Input, per 1M tokens$0.60
Output, per 1M tokens$2.20
Cached input, per 1M tokens$0.11
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 window131K tokens
Max output98K 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-4.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.