GLM-5.2
Live·Z.aimodel·Served by DeepInfra
Open flagship GLM for long-horizon coding agents and million-token context work
Providers
Every request goes to the cheapest healthy route and fails over to the next.
Loading the routes…
Latency and throughput appear after the first hourly test request to each provider, or once this model has traffic here. Every request goes to the cheapest healthy route and fails over to the next.
Pricing
What a call costs through Rapid Router, at the route requests go to.
What it supports
- Tool calling (function calling)
- JSON mode and structured output
- Image input (vision)
- Audio input
- Extended reasoning
- Streaming responses
- OpenAI SDK, Anthropic SDK and any OpenAI-compatible client
Price in rupees
What GLM-5.2 costs through Rapid Router, converted at today's billing rate (₹98.25 per $). Top up with UPI or a card; a GST invoice follows every recharge.
| Rupees | US dollars | |
|---|---|---|
| 1M input tokens | ₹73.69 | $0.750 |
| 1M output tokens | ₹236 | $2.40 |
| 1K input tokens | ₹0.074 | $0.00075 |
| 1K output tokens | ₹0.236 | $0.00240 |
| A typical exchange: 1,300 tokens in, 400 out | ₹0.190 | $0.00194 |
Make a request
The same request you send to OpenAI today, pointed at https://rapidrouter.ai/api/v1.
curl https://rapidrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.2",
"messages": [{ "role": "user", "content": "Hello" }]
}'Frequently asked
What does GLM-5.2 cost in rupees?
Through Rapid Router, GLM-5.2 (z-ai/glm-5.2) costs ₹73.69 per million input tokens and ₹236 per million output tokens, billed in Indian rupees from a prepaid balance. In dollars these are the provider's list prices, exactly what your balance is debited; the rupee figures are converted at our billing rate, the market rate plus a 4% currency margin. Our platform fee is charged once, when you buy credits.
How do I call GLM-5.2 through an OpenAI-compatible API?
Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to z-ai/glm-5.2. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.
What is the context window of GLM-5.2?
GLM-5.2 has a context window of 1,000,000 tokens on Rapid Router, and returns up to 131,072 output tokens per reply.
What can GLM-5.2 do?
On Rapid Router, GLM-5.2 supports tool calling, JSON mode, extended reasoning.
Can I pay for GLM-5.2 in rupees with UPI?
Yes. Rapid Router bills in Indian rupees: top up with UPI or a card, get a GST invoice on every recharge, and GLM-5.2 is debited from that balance at the provider's list price per million tokens.
More GLM models
Compare and rank
What a month of your own usage costs on it: cost calculator · every head-to-head: comparisons