← All models
GLM Latest
This model always redirects to the latest GLM model from Z.ai. 1,048,576 token context window, maximum output of 131,072 tokens. Includes independent benchmarks from Artificial Analysis.
chatstreamingtoolsjson mode
Details
- Accepts
- text
- Context window
- 1M tokens
Pricing
- Input
- 6.25 cr / 1M tokens
- Output
- 550 cr / 1M tokens
- Cached input
- 5 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). |