Mordiem

GLM 5.2

Model id zai-org-glm-5-2. Call it with any OpenAI SDK through Mordiem.

textFree credit works here14,423 requests this week
Input$1.40 / 1M tokens
Output$4.40 / 1M tokens
Context1M
PrivacyPrivate

Use it

from openai import OpenAI

client = OpenAI(
    base_url="https://api.mordiem.com/api/v1",
    api_key="mr_sk_…",
)

r = client.chat.completions.create(
    model="zai-org-glm-5-2",
    messages=[{"role": "user", "content": "Say hello."}],
)
print(r.choices[0].message.content)
Get an API keyTry in playground

← All models