---
title: "GLM 5.3"
description: "GLM 5.3 by Z.ai: 1.05M context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go."
canonical: https://pirouter.ai/models/z-ai/glm-5.3
last-updated: 2026-10-15
---

# GLM 5.3

> GLM 5.3 by Z.ai: 1.05M context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go.

GLM 5.3 is a text model from Z.ai in the GLM 5 family. Text input with a 1M-token context, up to 128K output, tool calling and structured output, and it always reasons before it answers.

## At a glance

- Model ID: `z-ai/glm-5.3`
- Also accepted as: `glm-5.3`
- Vendor: Z.ai
- Category: text
- Openness: Proprietary
- Model page: https://docs.z.ai/
- Context: 1,048,576 tokens
- Max output: 131,072 tokens
- Added to pirouter: 2026-08-18
- Status: Available

## Pricing (USD per 1M tokens)

|  | Input | Output | Cache read | Reasoning |
|---|---|---|---|---|
| Standard | $0.98 ~~$1.4~~ | $3.08 ~~$4.4~~ | $0.182 ~~$0.26~~ | $3.08 ~~$4.4~~ |

30% off for a limited time · Ends 2026-12-31 23:59 HKT · Same price on every provider · this is what you are billed.

## Capabilities

- Function calling
- Tool choice
- Structured outputs
- Response schema
- Reasoning
- Prompt caching
- System messages
- Streaming

## Reasoning effort

- max, xhigh, high, medium, low (default: medium)

## How to call it

One pirouter API key works with every API format below; create it in the console. Use one of these formats; formats not listed are not available for this model.

- API key: https://app.pirouter.ai/sign-in

### OpenAI Chat

- Endpoint: `POST /v1/chat/completions` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- Reference: https://pirouter.ai/docs/api/chat-completions

```bash
curl https://api.pirouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5.3",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
```

### Anthropic Messages

- Endpoint: `POST /v1/messages` on https://api.pirouter.ai
- Auth: `x-api-key: <key>`
- SDK base URL: https://api.pirouter.ai
- Reference: https://pirouter.ai/docs/api/messages

```bash
curl https://api.pirouter.ai/v1/messages \
  -H "x-api-key: $PIROUTER_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5.3",
    "max_tokens": 1024,
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
```

## Providers

One row per provider; pirouter sends each request to a healthy one.

| Provider | API format | Context | Max output | Input /M | Output /M | Trains on your data | Data retention |
|---|---|---|---|---|---|---|---|
| siliconflow | openai, anthropic | 1,048,576 | 131,072 | $0.98 ~~$1.4~~ | $3.08 ~~$4.4~~ | Not disclosed | Not disclosed |

## Supported parameters

`tools`, `tool_choice`, `response_format`, `structured_outputs`, `max_tokens`, `max_completion_tokens`, `temperature`, `top_p`, `reasoning`, `include_reasoning`, `stream`

## Links

- HTML: https://pirouter.ai/models/z-ai/glm-5.3
- JSON: https://pirouter.ai/api/models/z-ai/glm-5.3
- Providers JSON: https://api.pirouter.ai/v1/models/z-ai/glm-5.3/endpoints
- Leaderboard ranks (JSON): https://pirouter.ai/api/models/z-ai/glm-5.3/rankings
- Catalog: https://pirouter.ai/models
- Quickstart: https://pirouter.ai/docs/quickstart
- How routing works: https://pirouter.ai/docs/routing
- llms.txt: https://pirouter.ai/llms.txt

---

HTML version: https://pirouter.ai/models/z-ai/glm-5.3 · Machine-readable index: https://pirouter.ai/llms.txt
