All models

Z.AI: GLM 5.3

z-ai/glm-5.3
textReasoning

A large-scale reasoning model from Z.ai for complex software engineering and long-horizon agent tasks. Better than GLM-5.2 at coding and the quality-per-token balance. Reasoning always on (Low/High/Max), 1M context. Text-only.

Pricing

Request / 1M
Response / 1M

Parameters

messagesrequired
reasoning_effortlow · high · max
temperature0–2
max_tokensoptional
streamtrue · false

How to use via API

from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="z-ai/glm-5.3",
messages=[{"role": "user", "content": "Привет"}],
reasoning_effort="low", # low · high · max
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="z-ai/glm-5.3",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)
Try in the botAPI docs