GLM-5.2 API India
Long-horizon agents, billed in rupees
Z.ai's GLM-5.2 is built for long-horizon work — the multi-step coding and agent tasks that run for hours rather than seconds. Access it through Ogma on an Indian contract: INR invoicing, GST, purchase orders.
GLM-5.2 — Available Models
Share your monthly token volume and we’ll quote in INR within 2 business hours.
| Model | Shape | Best For |
|---|---|---|
| GLM-5.2 | 753B · MoE | The current flagship, positioned by Z.ai for long-horizon tasks. Consistently near the top of open-weight coding and agent leaderboards. |
| GLM-5.1 | 754B · MoE | The preceding release, still published. Useful as a stability baseline if you are already in production on it. |
Z.ai (Zhipu AI) GLM-5.2 — Why It Matters
Long-horizon by design
Z.ai positions GLM-5.2 specifically for tasks that span many steps — refactors, migrations, multi-file changes — rather than single-turn answers.
Strong on real software work
The model line scores well on SWE-bench-style benchmarks, which test changes against real repositories rather than isolated puzzles.
Open weights
Published on Hugging Face under a permissive licence, so self-hosting remains available if residency demands it.
OpenAI-compatible access
Reached through Ogma’s AI Gateway, which speaks the OpenAI API. Change a base URL, a key and a model id — existing Python, Node or LangChain code runs unchanged.
An Indian contract
Ogma Consulting is an Indian registered company. Rupee invoice with GST against a purchase order, on standard terms — usually the part that blocks an AI project here, rather than the model.
Spend controls that hold
Per-team monthly caps, per-minute rate limits and per-user cost attribution. A runaway loop hits a ceiling in seconds rather than appearing on an invoice a month later.
Where your data goes — plainly
Calls you make through Ogma are proxied by our gateway and served by the model provider’s infrastructure. We provide the Indian contracting, billing, spend controls and usage attribution; we do not host these model weights, and we will not claim to. Because GLM-5.2 is published as open weights, self-hosting inside your own network is a genuine option where residency demands it — ask us to scope it rather than assuming a hosted API is your only route.
Pricing — in rupees
Per million tokens, inclusive of our margin. Billed in INR on a GST invoice — never in dollars.
| Model | Input / 1M | Output / 1M | Cached input / 1M |
|---|---|---|---|
GLM-5.2z-ai/glm-5.2 | ₹97.32 | ₹306 | ₹9.73 |
Rates convert at the mid-market USD/INR rate refreshed every six hours, and the rate applied is recorded against every call. Cached input applies automatically to repeated prompt prefixes. GST is charged on top and is recoverable as input tax credit where your business is registered.
Frequently Asked Questions
Try GLM-5.2 on an Indian invoice
One key, INR billing, GST invoice, purchase orders. Tell us your token volume and we’ll come back with live rupee pricing within 2 business hours.