GLM 5.2 API
GLM 5.2 is a text model from the GLM family. Call it with one GateRouter API key, the same way as every other model. Balanced general-purpose models. Flash is the cheapest, good for simple tasks like summaries and classification.
Model ID
glm-5.2Price
$1.08 input · $3.77 output / 1M tokens
Type
Text· context 128K
Example request
Text answers come back right away. Existing SDKs work by changing the base URL.
cURL
curl https://api.gaterouter.net/v1/chat/completions \
-H "Authorization: Bearer sk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Hello! Introduce yourself."}]
}'FAQ
- How is GLM 5.2 billed?
- By the input and output tokens of each request, taken from your prepaid balance. There is no subscription.
- How do I start?
- Sign up and verify your email to get $5 in trial credits, create an API key, and set model to glm-5.2.
- Do you train on my data?
- No. GateRouter does not store your requests or output and never uses them to train AI models.