Back to All Models
Z.ai · Balanced

GLM 4.5

z-ai/glm-4.5
Use Model Now

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications.

Input Price / 1M Tokens
$0.81
Output Price / 1M Tokens
$2.97
Context Window
131K
ToolsReasoning
Python Example — z-ai/glm-4.5
from openai import OpenAI

client = OpenAI(
    base_url="https://relaystack-ai.vercel.app/v1",
    api_key="sk-rs-your-key-here",
)

response = client.chat.completions.create(
    model="z-ai/glm-4.5",
    messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)