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.
Kaynak: official_2026_10_x0.70 · Doğrulandı: 2026-10-13
Cache okuma $0.182/M · Cache yazma —/M
API çağrısında her iki ID de kullanılabilir.
zhipu/glm-5.2ONEHOP_KEY yer tutucusunu API key'inizle değiştirin. Oluşturun →
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)Son 30 günde 1.097 istek