Providers

Z.ai

Verified

The lab behind the GLM models (formerly Zhipu AI), served from its first-party API.

Models on Z.ai

Open in catalog

2 of 2

GLM 5.3Chatglm-5.31M contextRouteprimary$1.40 / $4.40per M input / output
GLM-5Chatglm-5128K contextWeights Routefallback$1.00 / $3.20per M input / output
Direct routingCall Z.ai explicitly
zai· routing
# pin every request to Z.ai
curl https://www.ninjachat.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "routing": { "providers": { "only": ["zai"] } }
  }'