Models / Z.ai
GLM-5.2
by Z.ai
Used for frontier, coding and long documents.
Best forCodingLong documentsFrontier
GLM-5.2 is made by Z.ai. It takes text in and answers in text, with a context window of 1M tokens.
Price per 1M tokens
The live price, read from billing as this page loads. You pay only for the tokens you use, from prepaid credit.
Tīrtha Bench review
What people use it for, in its maker's words:
Our results: tool calling
Tool calling (public BFCL v4 test)
Overall: 93.6%*. Picks the right tool and fills in the inputs correctly on 94 of every 100 tasks.
One tool 94% · Picking the right tool 93% · Several calls at once 92%
A task counts as right only if the model calls the right tool with the right inputs. 800 tasks. Run on Oct 29, 2026. *Measured by Spanda Works on third-party hosts, not through Tīrtha. Results through Tīrtha may differ.
Handled several calls at once in our tests.
Try it
Model id catalog/glm-5.2 · base URL https://api.tirtha.ai/v1. Any OpenAI-compatible client works: change the base URL and keep your code.
Using a coding tool? Set up OpenCode, Cline, Cursor and more. PowerShell and the full reference: Quickstart.
Limits and support
- Tool callingYesAlso measured on Tīrtha Bench
- Text inYes
- ReasoningYesThinks before it answers
- StreamingYes
- Sampling settingsYou can set themThe maker suggests temperature 1, top p 0.95.
What it is for
- Coding
Advanced Coding with Flexible Effort: Stronger coding capabilities
From the maker's card - Long documents
A solid 1M-token context that stably sustains long-horizon work
From the maker's card - Frontier
our latest flagship model for long-horizon tasks.
From the maker's card
In the maker's own words, from its published model card. Claims and benchmarks on that card are the maker's own, not measured by Tīrtha.
What a job costs
1,000 calls of 2,000 tokens in and 500 out cost about -
Worked out from the live price above, without cached input. Your own calls will differ in size.
Similar models on Tīrtha
Licence
Weights: MIT. Read the licence.
From the maker: Model card: zai-org/GLM-5.2 on Hugging Face · Last updated by the maker: Sep 1, 2026Facts from the maker's card are the maker's own, not measured by Tīrtha.