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.
Fonte: official_2026_10_x0.70 · Verificado em 2026-10-13
Leitura de cache $0.182/M · Gravação de cache —/M
Você pode usar qualquer ID em chamadas de API.
zhipu/glm-5.2Substitua o placeholder ONEHOP_KEY pela sua API key. Criar →
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)173 requisições nos últimos 30 dias