← All models

GLM-5.2
textReasoning
Zhipu GLM flagship — strong open-weight, great at coding, 1M context.
Pricing
1.43 $
Request / 1M
4.50 $
Response / 1M
Price uses the live FX rate — shown equals charged.
Parameters
messagesrequiredreasoning_effortoff · low · medium · hightemperature0–2max_tokensoptionalstreamtrue · falseHow to use via API
from openai import OpenAIclient = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")resp = client.chat.completions.create(model="z-ai/glm-5.2",messages=[{"role": "user", "content": "Привет"}],reasoning_effort="low", # off · low · medium · hightemperature=0.7,max_tokens=1024,stream=False,)print(resp.choices[0].message.content)
