AICredits logo
z-ai

Z.ai: GLM 5

z-ai/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 large-scale programming tasks, rivaling leading...

Supported APIs

Chat API
Context
205K
Max output
Input / 1M
₹60.39
Cached / 1M
₹6.04
Output / 1M
₹193.25

Pricing

Token typeUSD / 1MINR / 1M
Input$0.600₹60.39
Cached inputprompt cache read$0.0606.04
Output$1.92₹193.25

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call Z.ai: GLM 5 through the supported APIs shown above — just set the base URL and your AICredits key.

cURL — /v1/chat/completions
curl https://api.aicredits.in/v1/chat/completions \
  -H "Authorization: Bearer $AICREDITS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

New here? Follow the quickstart guide or browse all models.