> ## 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 Flash

> GLM-5.3 Flash：面向程式設計、Agent 與視覺任務的高效原生多模態模型。

GLM-5.3 Flash 是智譜 Z.ai 首個原生多模態 GLM-5 模型，面向高效程式設計、Agent 與視覺理解。

透過以下介面在 MixRoute 呼叫 `glm-5.3-flash`。

## 核心能力

* 原生多模態：理解文字、圖片、影片與檔案
* 1M 上下文：支援長上下文專業工作流程
* 高效 MoE：總參數 320B、啟用參數 18B
* Agent 工作流程：支援程式設計、工具呼叫與多步驟執行

## 快速範例

**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-flash",
  "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-flash",
    messages=[{"role": "user", "content": "審查這份部署方案，找出風險最高的回復缺口。"}],
    max_tokens=256,
    reasoning_effort="high",
)

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

## 參數

| 參數 | 類型 | 必填 | 說明 |
| - | - | - | - |
| `model` | string | 是 | 固定為 `glm-5.3-flash`。 |
| `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 Flash 發布說明](https://z.ai/blog/glm-5.3-flash)


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