● Z.ai · chat
GLM 5.3
GLM 5.3 — flagship coding and agentic model.
Input / 1M tokens$0.98
Output / 1M tokens$3.08
Context1M
Example: 1M input + 1M output tokens = $4.06
Call GLM 5.3
OpenAI-compatible. Use any OpenAI SDK with the Keyra base URL and your key.
curl
curl https://api.keyra.ai/v1/chat/completions \
-H "Authorization: Bearer $KEYRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-5.3", "messages": [{"role": "user", "content": "Hello"}]}'Python · openai SDK
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.keyra.ai/v1", api_key=os.environ["KEYRA_API_KEY"])
reply = client.chat.completions.create(
model="z-ai/glm-5.3",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)Related models
| Model | Creator | Type | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|---|
| GPT-6.1 Sol | OpenAI | chat | 1M | $0.80 | $4.00 |
| Gemini 3.8 Flash | chat | 1M | $0.375 | $1.875 | |
| DeepSeek V4.1 Flash 1017 | DeepSeek | chat | 1M | $0.30 | $1.20 |