Developer field guide

GLM API in Malaysia: pay in MYR and make a request

If you want to call GLM from a Malaysian project and budget in ringgit, start by choosing a model, not a pack size. AngelAPI is a third-party gateway. An AngelAPI key belongs on the AngelAPI endpoint; it is not a direct Z.AI account credential.

Find a GLM model and check the MYR price

Open model status, search for GLM, and copy the exact ID of an available text model. Compare the input and output multipliers. Then open prepaid packs and check the MYR amount and payment methods shown at checkout. A prepaid balance is shared across requests; it is not a promise of the same number of output tokens for every model.

Send your first GLM request

Set ANGELAPI_KEY in your local environment. Replace the placeholder below with the ID you copied. This small test requests a short reply, so you can confirm your endpoint and model before sending a long document.

curl https://api.angelapi.cc/v1/chat/completions \
  -H "Authorization: Bearer $ANGELAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_GLM_MODEL_ID","messages":[{"role":"user","content":"Say hello in Malay."}],"max_tokens":64}'

Check usage before scaling up

Look for a reply in choices. Check the reported usage and your account balance before increasing the output limit or processing many items. If a payment was confirmed but your balance did not arrive, use private support with the order reference, never your API key. For the model family itself, see Z.AI’s GLM overview; for availability through AngelAPI, use the live gateway listing.

Related guides

Share this guide on Telegram