GLM 4.6
Model id zai-org-glm-4.6. Call it with any OpenAI SDK through Mordiem.
textFree credit works here500 requests this week
Input$0.43 / 1M tokens
Output$1.75 / 1M tokens
Context198K
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-4.6",
messages=[{"role": "user", "content": "Say hello."}],
)
print(r.choices[0].message.content)