AICredits logo
z-ai

Z.ai: GLM 4.6

z-ai/glm-4.6

Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex...

Supported APIs

Chat API
Context
205K
Max output
Input / 1M
₹42.95
Cached / 1M
₹7.99
Output / 1M
₹174.78

Pricing

Token typeUSD / 1MINR / 1M
Input$0.430₹42.95
Cached inputprompt cache read$0.0807.99
Output$1.75₹174.78

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

Quickstart

Call Z.ai: GLM 4.6 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-4.6",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

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