Z.ai: GLM Latest
This model always redirects to the latest GLM model from Z.ai.
- Input
- 29,182 Toman/M tokens
- Output
- 539,874 Toman/M tokens
- Context
- 1M
- Max output
- 944K
- Published
- Aug 19, 2026
- Maker
- Z.ai
Free plan prices, in Toman at today's rate. Plans and prices
Price by plan
Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.
| Plan | Input | Output |
|---|---|---|
| Free | 29,182 | 539,874 |
| Pro | 27,986 | 517,748 |
| Max | 26,790 | 495,622 |
Capabilities
- Text
- Tools
- JSON
- Reasoning
What it takes and gives
Accepts
- Text
Creates
- Text
Call it
Pass ~z-ai/glm-latest as the model name, or let router/auto choose for you.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.fluxcdn.cloud/api/v1",
api_key=os.environ["FLUXCDN_API_KEY"],
)
resp = client.chat.completions.create(
model="router/auto",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
