Models / Z.ai

GLM-5.2

Gets 94 of every 100 tool calls right on the public test. Steady whether it is calling one tool, choosing between tools, or making several calls at once.

Open weights · MITby Z.aiReleased Jun 16, 2026Tested on Tīrtha Bench

GLM-5.2 is made by Z.ai. It takes text in and answers in text, with a context window of 1M tokens.

Start using GLM-5.2 in 3 steps

Read the docs
  1. Get an API keyFree to create. It works for every model in the catalogue.Get an API key
  2. Add creditsPay as you go. Credits work on every model.Add credits
  3. Point your client at TīrthaAny OpenAI-compatible client works. Use your key and this base URL, and name the model.
    base_url: "https://api.tirtha.ai/v1" api_key: "YOUR_TIRTHA_KEY" model: "catalog/glm-5.2"

At a glance

MakerZ.ai
Acceptstext
Context1M tokens
Max output16,384 tokens
LicenceMIT
ReleasedJun 16, 2026

Tested on Tīrtha Bench

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.

See GLM-5.2 beside every other model on Tīrtha Bench →

What it supports

From the maker

Facts here are read from the maker's published card; claims and benchmarks on that card are the maker's own, not measured by Tīrtha.

Licence

Weights: MIT. Read the licence.