MiniMax H3 launched on 2026-10-19, priced at 0.09 per second.View model
Model libraryZ.AI: GLM 5.2
Z.ai
Z.ai · Official channel · Chat model

Z.AI: GLM 5.2

Limited time: 50% off

GLM-5.2 supports a larger context window and output length, with up to 1M context and 128K output tokens. It adds streaming output for tool calls via `tool_stream=true`, enabling real-time access to tool call arguments. Like the GLM-4.7 series, it supports deep thinking with `thinking={ type: "enabled" }`, where thinking is enforced once enabled, and introduces `reasoning_effort` to control reasoning intensity under chain-of-thought mode. It also delivers stronger coding performance and more advanced reason

TextTextTool callingReasoningStructured output
1MContext window
CN¥8.00CN¥4.00Input · per million tokens
CN¥28.00CN¥14.00Output · per million tokens
CN¥2.00CN¥1.00Cache read · per million tokens
Supply channels

Supply channels

Direct official channels with shared authentication, billing and observability. Use the same API key as for other models.

Channel ANo data
P95 latency—
Throughput—
Availability—
Availability · Last 48 hoursRolling 24h

Channels are ordered by request volume over the last 24 hours. A valid public provider name is shown when available; otherwise a generic channel label is used. Availability, latency and throughput use a rolling 24-hour window. Hourly colors show operational, degraded, down or no-traffic periods. Hover for actual values. The price is the same across channels.

Quick start

Quick start

OpenAI / Anthropic compatible: change the base URL and set the model to z-ai/glm-5.2.

POST /v1/chat/completionsOpenAI ChatPOST /v1/messagesAnthropic Messages
from openai import OpenAI

client = OpenAI(
    base_url="https://api.goodputai.cn/v1",
    api_key="GOODPUT_API_KEY",
)

resp = client.chat.completions.create(
    model="z-ai/glm-5.2",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Billing method:Billed by token usage: Input CN¥4.00 · output CN¥14.00, per million tokens.Web search is billed separately: CN¥0.00 per search.

Supported parameterstoolsresponse_formattemperaturemax_tokens
This service uses generative AI. Generated content may be inaccurate; verify it independently. It does not constitute professional advice. This model is provided by Z.ai; refer to the provider for its generative AI service filing. Our site filing is available in site filings. To report unlawful content or make a complaint, see complaints.
Related models

Related models

Get started

Add Z.AI: GLM 5.2 to your app

Change the base URL and start calling after you sign up.

Z.AI: GLM 5.2 — Model library — GoodPut AI