# Z.ai: GLM 5.1

- Model id: `z-ai/glm-5.1`
- 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: 205K, max output 182K
- Prices read 2026-11-15 09:33 UTC
- Page: https://plaingateway.com/models/z-ai/glm-5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

## Hosts

| Host | Endpoint | In / out /M | Cache read /M | Context | Served |
|---|---|---|---|---|---|
| Baidu | `baidu/fp8` | $0.899 / $2.82 | $0.167 | 203K | no |
| Chutes | `chutes/fp8` | $0.90 / $2.90 | $0.09 | 203K | no |
| Streamlake | `streamlake/fp8` | $0.966 / $3.04 | $0.179 | 200K | no |
| Siliconflow | `siliconflow/fp8` | $1.19 / $3.74 | $0.60 | 205K | no |
| Atlas Cloud | `atlas-cloud/fp8` | $1.26 / $3.96 | $0.234 | 203K | no |
| Alibaba | `alibaba/fp8` | $1.33 / $4.18 | $0.247 | 203K | no |
| Novita | `novita/fp8` | $1.38 / $4.40 | $0.26 | 205K | no |
| Friendli | `friendli` | $1.40 / $4.40 | $0.26 | 203K | no |
| Gmicloud | `gmicloud/fp8` | $1.40 / $4.40 | $0.26 | 203K | no |
| Z Ai | `z-ai/fp8` | $1.40 / $4.40 | $0.26 | 203K | no |
| Venice | `venice/fp8` | $1.40 / $4.40 | $0.26 | 200K | 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.1", "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
