Introduction
GLM 5.3 Flash API combines code with image and video inputs for visual coding workflows. For visual interface review, GLM 5.3 Flash exposes low / high / max with max as default; compare the returned findings before choosing a lower effort for repeated runs.
| Field | Value |
|---|---|
| Input | Text |
| Output | Text |
| Required | messages |
| Optional | GLM 5.3 Flash visual interface review: messages, |
| Input context | 1,048,576 tokens |
| Maximum output | GLM 5.3 Flash · 131,072 tokens (default 32,768) |
| Response | Stream the GLM 5.3 Flash review with stream: true on /v1/chat/completions, collect chat.completion.chunk events and finish at data: [DONE]. |
| Settlement | For visual interface review with GLM 5.3 Flash, settlement uses measured input, cached input and output tokens, reconciling the initial hold against reported usage rather than charging a flat request fee. |
Key features & highlights
Native visual context
The native multimodal design of GLM 5.3 Flash lets a coding assistant examine screenshots and rendered interfaces alongside the implementation. Pair a reference screenshot with the current component and ask which layout or interaction states still need work; your application supplies the rendering and execution tools.
Inspect rendered feedback
Use GLM 5.3 Flash to inspect an uploaded screen recording, describe visible state changes and return a text checklist for interface testing. Check the GLM 5.3 Flash report against the supplied evidence before applying changes in visual interface review.
Request parameters
| Parameter | Required | Description |
|---|---|---|
messages | Yes | GLM 5.3 Flash accepts text, |
reasoning_effort | No | For visual interface review, GLM 5.3 Flash exposes low / high / max with max as default; compare the returned findings before choosing a lower effort for repeated runs. |
stop | No | For GLM 5.3 Flash, stop accepts one string or a one-item array, with no default; a match ends generation without returning the delimiter and may occur during reasoning before a… at least 1 characters · at least 1 items · at most 1 items |
max_tokens | No | Allocate up to 131,072 output tokens for visual interface review with GLM 5.3 Flash; the default is 32,768 and reasoning consumes this allowance too. |
temperature | No | For comparable visual interface review trials with GLM 5.3 Flash, adjust temperature within 0–1 (default 1) and verify the findings even at 0. |
top_p | No | When testing GLM 5.3 Flash on visual interface review, |
tools | No | Expose at most 128 function definitions to GLM 5.3 Flash for visual interface review; the application executes requested calls and returns their results in tool messages. at most 128 items |
tool_choice | No | For visual interface review, control GLM 5.3 Flash with |
response_format | No | When GLM 5.3 Flash returns a visual interface review report as JSON, specify the keys through |
Pricing
Input $0.1275 / Output $0.425 per 1 million tokens
Use cases
Review a reference screenshot
Pair a reference screenshot with the current component and ask which layout or interaction states still need work; your application supplies the rendering and execution tools.
Inspect a screen recording
Use GLM 5.3 Flash to inspect an uploaded screen recording, describe visible state changes and return a text checklist for interface testing.
Connect interface test tools
Expose at most 128 function definitions to GLM 5.3 Flash for visual interface review; the application executes requested calls and returns their results in tool messages. For visual interface review, control GLM 5.3 Flash with tool_choice set to auto, none, required or a named function object; approve consequential actions in your application.
Return visual findings as JSON
When GLM 5.3 Flash returns a visual interface review report as JSON, specify the keys through response_format and the instructions, then check types and required fields in your own code. Check the GLM 5.3 Flash report against the supplied evidence before applying changes in visual interface review.
Prompt guide & pro tips
Review a reference screenshot
Pair a reference screenshot with the current component and ask which layout or interaction states still need work; your application supplies the rendering and execution tools. Keep the GLM 5.3 Flash conversation within 256 messages and place the engineering constraints before the material to be reviewed.
Ask for a finding, not a transcript
POST https://api.spicyapi.ai/v1/chat/completions with {"model":"zai/glm-5.3-flash","messages":[{"role":"system","content":"Review the GLM 5.3 Flash interface implementation and return JSON with keys states, differences, checks; distinguish observed behaviour from assumptions"},{"role":"user","content":"Component source, expected screen states and current interface observations"}],"
reasoning_effort":"high","max_tokens":16000,"response_format":{"type":"json_object"},"temperature":0}. Check the GLM 5.3 Flash report against the supplied evidence before applying changes in visual interface review.Inspect a screen recording
Use GLM 5.3 Flash to inspect an uploaded screen recording, describe visible state changes and return a text checklist for interface testing. Check the GLM 5.3 Flash report against the supplied evidence before applying changes in visual interface review.
GLM 5.3 Flash API combines code with image and video inputs for visual coding workflows.
Native visual context
The native multimodal design of GLM 5.3 Flash lets a coding assistant examine screenshots and rendered interfaces alongside the implementation.
GLM 5.3 Flash accepts text, image_url and video_url parts for visual review; upload MP4 or WebM video within the combined 14 MB limit, and extract PDF text because file and audio parts are not accepted.
Review a reference screenshot
Pair a reference screenshot with the current component and ask which layout or interaction states still need work; your application supplies the rendering and execution tools.
Inspect a screen recording
Use GLM 5.3 Flash to inspect an uploaded screen recording, describe visible state changes and return a text checklist for interface testing.
Expose at most 128 function definitions to GLM 5.3 Flash for visual interface review; the application executes requested calls and returns their results in tool messages.
When GLM 5.3 Flash returns a visual interface review report as JSON, specify the keys through response_format and the instructions, then check types and required fields in your own code.
API
POST https://api.spicyapi.ai/v1/chat/completions with {"model":"zai/glm-5.3-flash","messages":[{"role":"system","content":"Review the GLM 5.3 Flash interface implementation and return JSON with keys states, differences, checks; distinguish observed behaviour from assumptions"},{"role":"user","content":"Component source, expected screen states and current interface observations"}],"reasoning_effort":"low","max_tokens":20000,"response_format":{"type":"json_object"}}. Check the GLM 5.3 Flash report against the supplied evidence before applying changes in visual interface review.
For GLM 5.3 Flash, the 1,048,576-token input allowance covers the project material, instructions and tool results already included in the conversation.
Allocate up to 131,072 output tokens for visual interface review with GLM 5.3 Flash; the default is 32,768 and reasoning consumes this allowance too.
For visual interface review, GLM 5.3 Flash exposes low / high / max with max as default; compare the returned findings before choosing a lower effort for repeated runs.
Stream the GLM 5.3 Flash review with stream: true on /v1/chat/completions, collect chat.completion.chunk events and finish at data: [DONE].
For visual interface review, GLM 5.3 Flash rejects max_tokens above 131,072 and still requires application-side validation of generated JSON; provide a client timeout suitable for a synchronous reasoning request.
For GLM 5.3 Flash work on visual interface review, you remain responsible for rights to submitted material, permitted use of the result and any necessary human review.
SpicyAPI adds no separate content filter to GLM 5.3 Flash, but model refusals remain possible during visual interface review; responsibility for material rights and use of the reply stays with you.
For visual interface review with GLM 5.3 Flash, settlement uses measured input, cached input and output tokens, reconciling the initial hold against reported usage rather than charging a flat request fee.
For GLM 5.3 Flash screenshots, image_url can contain a public HTTPS URL, an uploaded image or a data URI; image and video usage is charged at the normal input-token rate, with the full input window reserved until actual usage settles.
For GLM 5.3 Flash work on visual interface review, you remain responsible for rights to submitted material, permitted use of the result and any necessary human review.
API quick start
curl --fail-with-body -sN https://api.spicyapi.ai/v1/chat/completions \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "zai/glm-5.3-flash/chat",
"messages": [
{
"role": "user",
"content": "Summarise the following release notes into three bullet points."
}
],
"stream": true
}' \
| jq --unbuffered -Rrj 'select(startswith("data: ")) | .[6:] | select(. != "[DONE]") | fromjson | if .error then "\n[error] \(.error.message)\n" else (.choices[0].delta.content? // empty) end'
See the API reference for authentication, the complete schema, polling, and error handling.







