GLM-5.3-Flash¶
GLM-5.3-Flash is Z.AI's open-weight large language model. On Mango Inference you call it by its model ID through the OpenAI-compatible and Anthropic-compatible APIs, with no servers to run, and pay per token.
At a glance¶
| Property | Value |
|---|---|
| Model ID | zai-org/GLM-5.3-Flash |
| Developer | Z.AI |
| Input | Text, image, file (PDF) |
| Output | Text |
| Context window | 1,048,576 tokens |
| Max output tokens | 1,048,576 tokens |
| Features | Tool calling, structured output, reasoning, images and PDFs |
| Price | Per token. See the pricing page. |
| Model card | zai-org/GLM-5.3-Flash on Hugging Face |
The model catalogue changes over time. The live list is authoritative: see Models and pricing.
Call GLM-5.3-Flash¶
Get an API key, then send a request with zai-org/GLM-5.3-Flash as the model.
curl https://api.mangoboost.io/v1/chat/completions \
-H "Authorization: Bearer $MANGOINFERENCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "zai-org/GLM-5.3-Flash",
"messages": [
{"role": "user", "content": "Explain tool calling in one paragraph."}
]
}'
from openai import OpenAI
client = OpenAI(
base_url="https://api.mangoboost.io/v1",
api_key="<your-api-key>",
)
resp = client.chat.completions.create(
model="zai-org/GLM-5.3-Flash",
messages=[{"role": "user", "content": "Explain tool calling in one paragraph."}],
)
print(resp.choices[0].message.content)
export ANTHROPIC_BASE_URL="https://api.mangoboost.io"
export ANTHROPIC_API_KEY="<your-api-key>"
export ANTHROPIC_DEFAULT_OPUS_MODEL="zai-org/GLM-5.3-Flash"
export ANTHROPIC_DEFAULT_SONNET_MODEL="zai-org/GLM-5.3-Flash"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="zai-org/GLM-5.3-Flash"
See Claude Code for the full setup.
GLM-5.3-Flash reads images and PDF documents as well as text: send them inline, base64-encoded. See Images and PDFs.
GLM-5.3-Flash is a reasoning model: responses can carry the model's reasoning alongside the answer. See Reasoning for how to read it and what it costs.
Supported request parameters¶
| Parameter | Supported |
|---|---|
temperature |
Yes |
top_p |
Yes |
top_k |
Yes |
stop |
Yes |
n |
Yes |
logprobs, top_logprobs |
Yes |
response_format |
Yes |
tools, tool_choice |
Yes |
For every parameter and its values, see Chat Completions.