glm-5.2 API
GLM model glm-5.2 through AZET’s OpenAI-compatible API: $1.1319 input and $3.5574 output per 1M tokens, with a 200,000 token context. Prepaid USD credit, billed per token, no subscription.
glm-5.2Call glm-5.2
curl https://api.azet.io/v1/chat/completions -H "Authorization: Bearer $AZET_API_KEY" -H "Content-Type: application/json" \ -d '{"model": "glm-5.2", "messages": [{"role": "user", "content": "Hello"}]}'
Same request and response shape as OpenAI Chat Completions. Base URL https://api.azet.io/v1 · Authorization: Bearer azk_….
glm-5.2 pricing
| USD per 1M tokens | Input | Output |
|---|---|---|
| All requests | $1.1319 | $3.5574 |
| Cached input | $0.2264 | — |
| Maker’s own list price | $1.40 | $4.40 |
GET /v1/models/glm-5.2 · The price at the time of the request applies.
Questions
How much does glm-5.2 cost on AZET?
glm-5.2 costs $1.1319 input and $3.5574 output per 1M tokens on the AZET AI API, and $0.2264 per 1M cached input tokens. The maker’s own list price is $1.40 input and $4.40 output; AZET never charges more than that.
Is glm-5.2 OpenAI-compatible on AZET?
Yes. Set the base URL to https://api.azet.io/v1 in any OpenAI SDK, LangChain or LiteLLM and use the model id glm-5.2. POST /v1/chat/completions takes the same request and returns the same response shape, with streaming.
What is the context window of glm-5.2?
200,000 tokens.
How do I pay for glm-5.2?
With prepaid USD credit from $5, billed per token. There is no subscription and no monthly minimum.
All models → · API reference → · Buy credit →