GLM-5.2
zai/glm-5.2POST /v1/chat/completionsZ.ai's flagship open-weights model. Strong on coding and tool use.
Extended reasoningTool callingStructured outputStreaming
Input / 1M
$1.40
via Together AI
Output / 1M
$4.40
via Together AI
Cached input / 1M
—
not published
Context
262K
max out 66K
Providers
1
single route
1 provider serves this model
Multigrid picks between them on every request using your policy. Each price is what that route costs us, and we add no spread of our own to it.
| Provider | Upstream model id | In / 1M | Out / 1M | Billing |
|---|---|---|---|---|
| Together AI | zai-org/GLM-5.2 | $1.40 | $4.40 | Credit |
No performance data published yet
Time to first token, throughput and uptime are measurements, and Multigrid has not served enough traffic through GLM-5.2 to publish honest ones. When it has, they will appear here per provider, taken from real requests. Nothing on this page is estimated: prices, context window and capabilities all come from the provider’s own documentation.Call it
Same request shape as every other model in the catalogue.
example.ts
const res = await client.chat.completions.create({
model: "zai/glm-5.2",
messages: [{ role: "user", content: "Hello" }],
reasoning: { effort: "medium" },
});Send GLM-5.2 a real request
Signing up takes no card and commits you to nothing — you start at a zero balance, so nothing can be charged until you decide to add credit. The playground opens on GLM-5.2 and prices every answer as it arrives, at the rate shown above — what the route costs us, with nothing of ours added. Already have an account? The second button skips the form.