← All models
GLM 5
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. 202,752 token context window, maximum output of 128,000 tokens. Higher uptime with 14 providers. Includes independent benchmarks from Artificial Analysis.
chatstreamingtoolsjson mode
Details
- Accepts
- text
- Context window
- 203K tokens
Pricing
- Input
- 75 cr / 1M tokens
- Output
- 240 cr / 1M tokens
- Cached input
- 15 cr / 1M tokens
Prices in credits (1 credit = $0.01).
Data schema
approximateInput
| Field | Type | Description |
|---|---|---|
| promptrequired | string | The text prompt. |
Output
| Field | Type | Description |
|---|---|---|
| text | string | Generated text (choices[0].message.content). |