Models / Z.ai
GLM 5.2 API
Call GLM 5.2 (Z.ai) with one OpenAI- and Anthropic-compatible API key. $0.1382 per 1M input tokens, $0.485 per 1M output, 1M context. Top up in Rupiah via QRIS.
| Model id | glm-5.2 |
|---|---|
| Provider | Z.ai |
| Input | $0.1382 per 1M tokens |
| Output | $0.485 per 1M tokens |
| Cache read | $0.0882 per 1M tokens |
| Context window | 1000000 tokens |
| Max output | 131072 tokens |
| Capabilities | chat, tools |
Quick start
curl https://moyra.ai.id/v1/chat/completions \
-H "Authorization: Bearer $MOYRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "glm-5.2", "messages": [{"role": "user", "content": "Hello"}]}'Get an API key · Compare all models