# Z.ai: GLM 5.2

- Model id: `z-ai/glm-5.2`
- Served by: -
- List price per 1M tokens, input / output, from: -, with 0% platform fee. A request is billed at the list price of the host that served it.
- Context: 1.05M, max output 944K
- Prices read 2026-11-19 09:50 UTC
- Page: https://plaingateway.com/models/z-ai/glm-5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

## Hosts

| Host | Endpoint | In / out /M | Cache read /M | Context | Served |
|---|---|---|---|---|---|
| Baidu | `baidu/fp8` | $0.189 / $0.594 | $0.0351 | 1.05M | no |
| Streamlake | `streamlake/fp8` | $0.28 / $0.88 | $0.052 | 1.02M | no |
| DeepInfra | `deepinfra/fp4/flex` | $0.45 / $1.44 | $0.084 | 1.05M | no |
| Ambient | `ambient/fp8` | $0.60 / $2.00 | $0.15 | 203K | no |
| Morph | `morph/fp8` | $0.643 / $1.98 | $0.217 | 1.05M | no |
| Siliconflow | `siliconflow/fp8` | $0.651 / $2.05 | $0.13 | 1.05M | no |
| Coreweave | `coreweave/fp4` | $0.62 / $2.42 | $0.14 | 1.05M | no |
| Digitalocean | `digitalocean` | $0.70 / $2.20 | $0.105 | 1.05M | no |
| DeepInfra | `deepinfra/fp4` | $0.75 / $2.40 | $0.14 | 1.05M | no |
| DeepInfra | `deepinfra/fp4/priority` | $0.844 / $2.70 | $0.158 | 1.05M | no |
| Atlas Cloud | `atlas-cloud/fp8` | $0.938 / $2.95 | $0.174 | 1.05M | no |
| Alibaba | `alibaba/fp8` | $0.966 / $3.04 | $0.193 | 1M | no |
| Wafer | `wafer/us` | $0.007 / $6.80 | $0.006 | 1.05M | no |
| Alibaba | `alibaba/fp8/us-east-1` | $1.12 / $3.52 | $0.224 | 1M | no |
| Relace | `relace/fp4` | $0.0066 / $7.98 | $0.0066 | 1.05M | no |
| Cloudflare | `cloudflare` | $0.19 / $8.00 | $0.19 | 262K | no |
| Wafer | `wafer` | $0.19 / $8.00 | $0.18 | 1.05M | no |
| Baseten | `baseten/fp8` | $1.40 / $4.40 | $0.14 | 1.05M | no |
| Baseten | `baseten/fp8/us` | $1.40 / $4.40 | $0.14 | 1.05M | no |
| Friendli | `friendli` | $1.40 / $4.40 | $0.26 | 1.05M | no |
| Gmicloud | `gmicloud/fp8` | $1.40 / $4.40 | $0.26 | 1.05M | no |
| Inceptron | `inceptron/fp4` | $1.40 / $4.40 | $0.26 | 1.05M | no |
| Mistral | `mistral/zdr` | $1.40 / $4.40 | $0.14 | 1.05M | no |
| Nebius | `nebius/fp4` | $1.40 / $4.40 | $0.14 | 1.05M | no |
| Novita | `novita/fp8` | $1.40 / $4.40 | $0.26 | 1.05M | no |
| Parasail | `parasail/fp4` | $1.40 / $4.40 | $0.26 | 262K | no |
| Together | `together` | $1.40 / $4.40 | $0.26 | 1.05M | no |
| Venice | `venice/fp8` | $1.40 / $4.40 | $0.26 | 1M | no |
| Z Ai | `z-ai/fp8` | $1.40 / $4.40 | $0.26 | 1.05M | no |
| Mistral | `mistral/eu` | $1.54 / $4.84 | $0.154 | 1.05M | no |
| Baseten | `baseten/fast` | $2.10 / $6.60 | $0.21 | 1.05M | no |
| Baseten | `baseten/us/fast` | $2.10 / $6.60 | $0.21 | 1.05M | no |
| Alibaba | `alibaba/fast` | $2.31 / $7.26 | $0.462 | 1M | no |
| Baidu | `baidu/fast` | $2.25 / $7.88 | $0.56 | 1.05M | no |

## First request

```sh
curl https://api.plaingateway.com/api/v1/chat/completions \
  -H "Authorization: Bearer $PLAINGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "z-ai/glm-5.2", "messages": [{"role": "user", "content": "Say hello in five words."}]}'
```

Sign up at https://plaingateway.com/signup (no card), create a key, send a test call, and add credits when you want more. New accounts may get a small starting credit. The whole bootstrap for agents: https://plaingateway.com/llms.txt
