Skip to content

Z.ai

GLM 5.3

Always reasons before answering. Suited to long, complex coding tasks.

z-ai/glm-5.3
Input → Output
Text/Text → Text/Text
Maximum input
1M tokens
Provider
1
Tool invocation
Yes

Price per million tokens

Input
2,268 credits
Output
7,128 credits
Cached input reads
453.6 credits

Provider

Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.

ProviderInput / 1MOutput / 1MCache readFirst tokenThroughputUptime
Alibaba Cloud2,268 credits7,128 credits453.6 credits---

Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.

Performance

The “throughput” refers to the speed at which answers are written (the higher the better). The “first token” refers to the time it takes for the first character of the answer to appear (the lower the better). The “total time” refers to the time it takes for one request to be processed completely. The average value is calculated based on the last 7 requests of the user with ID 18.

Total duration
3.06 seconds
Alibaba Cloud

Use the API

from openai import OpenAI

client = OpenAI(
    base_url="https://alprouter.com/api/v1",
    api_key="alp-your-key",
)

answer = client.chat.completions.create(
    model="z-ai/glm-5.3",
    messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)

Details

Maximum input
1M tokens
Maximum output
131.1K tokens
Tool invocation
Supported
Supported input
Text/Text
Output
Text/Text
Provider
Alibaba Cloud
Supported parameters
frequency_penalty, max_completion_tokens, max_tokens, parallel_tool_calls, presence_penalty, response_format, seed, stream, temperature, tool_choice, tools, top_p

Frequently asked questions

What kind of model is GLM 5.3?

A model from Z.ai. Always reasons before answering. Suited to long, complex coding tasks. Model ID on AlpRouter: z-ai/glm-5.3

How much does GLM 5.3 cost?

Per million tokens: 2,268 credits input, 7,128 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.

How much input does GLM 5.3 accept?

Each request accepts up to 1M tokens. The maximum output is 131.1K tokens.

What input and output does GLM 5.3 support?

Send Text/Text to receive Text/Text.

Does GLM 5.3 support tool calling and structured JSON?

Tool calling: Supported. Structured output (response_format): Supports the json_object, json_schema format..

Which providers handle GLM 5.3 requests?

Alibaba Cloud handles these requests.

How do I call GLM 5.3 from code?

Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (z-ai/glm-5.3). There’s an example of how to do this in the “Using the API” section above.

Other models from Z.ai