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