zhipu/glm-5.2
This entry preserves the zhipu/glm-5.2 URL and API model name and forwards requests to GLM-5.3. For new integrations use zhipu/glm-5.3. Reasoning is always enabled; use low, high, or max reasoning_effort, and do not send thinking.type=disabled.
Source: official_2026_10_x0.70 · Verified 2026-10-13
Cache read $0.182/M · Cache write —/M
Use either ID to call this model via the API.
zhipu/glm-5.2Replace the ONEHOP_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="zhipu/glm-5.2",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)1,097 requests · last 30 days