# Z.ai: GLM 4.6

- Model id: `z-ai/glm-4.6`
- 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 131K
- Prices read 2026-11-15 09:33 UTC
- Page: https://plaingateway.com/models/z-ai/glm-4.6

Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex...

## Hosts

| Host | Endpoint | In / out /M | Cache read /M | Context | Served |
|---|---|---|---|---|---|
| DeepInfra | `deepinfra/fp4/flex` | $0.40 / $1.60 | $0.08 | 203K | no |
| Venice | `venice/fp4` | $0.43 / $1.75 | $0.08 | 198K | no |
| DeepInfra | `deepinfra/fp4` | $0.50 / $2.00 | $0.10 | 203K | no |
| Novita | `novita/bf16` | $0.55 / $2.20 | $0.11 | 205K | no |
| Z Ai | `z-ai/fp4` | $0.60 / $2.20 | $0.11 | 203K | 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-4.6", "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
