
GLM-5.3-Flash
glm-5.3-flashOverview
GLM-5.3-Flash is the first natively multimodal model in the GLM-5 series. Built on a 320B-A18B hybrid of sparse and linear attention, it is the world's first open frontier model to adopt that architecture. It scores 57 on the Artificial Analysis Intelligence Index, matching Claude Opus 4.8 and surpassing GLM-5.2 across the board. Vision is woven natively into the coding loop, so the model watches interfaces, rendered output and interaction feedback and keeps improving, working across code, browser and GUI to finish a task. It also reaches into Office work, financial research and professional documents, decomposing goals on its own, calling tools and delivering finished PPTX, PDF, DOCX and XLSX files. At one tenth the price of GLM-5.3, frontier intelligence no longer has to be rationed.
Features
Pricing
Rate Limits & Context
API Reference
POST https://api.tokenfab.cn/v1/chat/completions
Request Example
curl https://api.tokenfab.cn/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENFAB_API_KEY" \
-d '{
"model": "glm-5.3-flash",
"thinking": { "type": "enabled", "clear_thinking": false },
"reasoning_effort": "max",
"temperature": 1,
"top_p": 0.95,
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": [
{"type": "text", "text": "请分析这张界面截图,指出布局与交互问题并给出改进建议。"},
{"type": "image_url", "image_url": {"url": "https://cdn.example.com/ui.png"}}
]}
]
}'Response Example
{
"id": "chatcmpl-glm53f-8e3j9a2",
"object": "chat.completion",
"created": 1784950000,
"model": "glm-5.3-flash",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "界面主要存在三处问题:1) 顶部导航栏与内容区未对齐,留白不均;2) 主按钮颜色对比度不足,弱化操作引导;3) 表单校验提示位置不统一。建议统一栅格、强化主按钮视觉权重,并将校验提示统一至输入框下方。"
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 512,
"completion_tokens": 186,
"total_tokens": 698
}
}Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | ✓ | Model ID; use glm-5.3-flash |
| messages | array | ✓ | List of chat messages; content may be a plain string or multimodal blocks containing image_url |
| thinking | object | — | Thinking config, {"type":"enabled"} (enabling only — disabling is not supported); clear_thinking:false is recommended |
| reasoning_effort | enum | — | Reasoning effort: low / high / max; max recommended |
| temperature | float | — | Sampling temperature, 0–2; 1 recommended |
| top_p | float | — | Nucleus sampling, 0–1; 0.95 recommended |
| max_tokens | int | — | Maximum output tokens |
| stream | bool | — | Whether to stream the response, default false; enabling tool_stream alongside it is recommended |
| tools | array | — | Tool definitions for function calling |
| tool_choice | string | — | Tool choice policy: auto / none / a named function |