glm-5.3。
核心能力
- 1M 上下文:適合大型程式碼庫與長時間任務
- 始終啟用思考:支援 low、high 與 max 推理強度
- Agent 程式設計:針對複雜軟體工程與工具工作流程最佳化
- OpenAI 相容:透過 MixRoute Chat Completions 呼叫
快速範例
- cURL
- Python
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
GLM-5.3:面向程式設計與長程 Agent 任務的 1M 上下文旗艦推理模型。
glm-5.3。
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"
}'
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 相容工具定義。 |