Models/z-ai

glm-4.5· Released Jul 25, 2025

z-ai/glm-4.5

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...

Input
From$0.54/M
Output
From$1.98/M
Context
Up to 131K
Max output
Up to 98K
Modalities
TextText

Input and output show the lowest price across upstreams, for reference. Your actual prices are listed per upstream below.

Upstreams & pricing
UpstreamContextMax outputInput $/1MOutput $/1MCached input $/1MData policy
Zenlayer AI Gateway-openai_compat/GlobalFrom price
131K98K
$0.54
$1.98
$0.099
—

Routed in real time — you pay the listed price of whichever upstream serves your call. Data policies reflect each upstream's own data terms and its agreement with us. We do not independently audit upstream implementations.

How to call
bashrequest.sh
curl https://api.lune.io/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-4.5",
    "messages": [
      {"role": "user", "content": "Say hello in five words."}
    ]
  }'