AI ChatModelsPriceDocsGuides
GLM · glm-5.2

GLM-5.2 API, paid in Rupiah

Use GLM-5.2 with one API key, charged per token from your balance. Top up by QRIS or bank transfer, no foreign credit card.

InputRp 21.498/ 1M tokens
OutputRp 66.883/ 1M tokens
≈ 1 chat*Rp 972.000 in + 800 out
Sign up free →
§01

Code sample

Replace sk-... with the API key from your console.

curl https://api.macloudai.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-5.2", "messages": [{"role": "user", "content": "Halo"}]}'
Model name: glm-5.2Full docs →
§02

What it costs, roughly

Estimated from the prices above. Actual charges follow each call's tokens.

1 chat2.000 in + 800 outRp 97
100 chats200.000 in + 80.000 outRp 9.700
Read 1 million tokens (≈ 1,500 pages of text)1.000.000 inRp 21.498
A minimum Rp 50.000 top-up coversestimated per chat≈ 515 chats
§03

Other GLM models

§04

FAQ

Q1How much does the GLM-5.2 API cost?
Input Rp 21.498 and output Rp 66.883 per 1 million tokens. A typical chat costs about Rp 97.
Q2How do I use GLM-5.2 in Indonesia?
Sign up, top up in Rupiah by QRIS or bank transfer, create an API key, set the base URL to https://api.macloudai.com/v1 and model to glm-5.2.
Q3Do I need a credit card?
No. You pay in Rupiah by QRIS or bank transfer. That is the whole point of this service.