> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GLM-5.3

> GLM-5.3：面向编程与长程 Agent 任务的 1M 上下文旗舰推理模型。

GLM-5.3 是智谱 Z.ai 面向复杂编程、长程 Agent 和安全分析的旗舰推理模型。

通过以下接口在 MixRoute 调用 `glm-5.3`。

## 核心能力

* 1M 上下文：适合大型代码库与长时间任务
* 始终启用思考：支持 low、high 和 max 推理强度
* Agent 编程：针对复杂软件工程与工具工作流优化
* OpenAI 兼容：通过 MixRoute Chat Completions 调用

## 快速示例

**cURL**

```bash theme={null}
curl "https://api.mixroute.ai/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "glm-5.3",
  "messages": [
    {"role": "user", "content": "审查这份部署方案，找出风险最高的回滚缺口。"}
  ],
  "max_tokens": 256,
  "reasoning_effort": "high"
}'
```

**Python**

```python theme={null}
from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.mixroute.ai/v1")

response = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "审查这份部署方案，找出风险最高的回滚缺口。"}],
    max_tokens=256,
    reasoning_effort="high",
)

print(response.choices[0].message.content)
```

## 参数

| 参数 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `model` | string | 是 | 固定为 `glm-5.3`。 |
| `messages` | array | 是 | 包含 role 与 content 的对话消息。 |
| `max_tokens` | integer | 否 | 最大生成 Token 数。 |
| `stream` | boolean | 否 | 启用 SSE 流式输出。 |
| `reasoning_effort` | string | 否 | 推理强度，支持 `low`、`high` 和 `max`。 |
| `tools` | array | 否 | OpenAI 兼容工具定义。 |

## 厂商资料

* [Z.ai GLM-5.3 发布说明](https://z.ai/blog/glm-5.3)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.