Mordiem

GLM 5.1

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

textFree credit works here496 requests this week
Input$1.54 / 1M tokens
Output$4.84 / 1M tokens
Context200K
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-1",
    messages=[{"role": "user", "content": "Say hello."}],
)
print(r.choices[0].message.content)
Get an API keyTry in playground

← All models