GLM 5.3
toolsglm-5.3Z.ai reasoning model for software engineering and long agent tasks.
Input / 1M tokens
$0.039
$0.000000039 / token
Output / 1M tokens
$4.8
$0.0000048 / token
Cached input / 1M
$0.038
Uptime · 24h
—
No traffic yet
Details
- Type
- Chat
- Input
- text
- Output
- text
- Context
- 1,048,576 tokens
Supported parameters
max_tokenstemperaturetop_pstopseedpresence_penaltyfrequency_penaltyresponse_formatpluginstoolstool_choiceparallel_tool_callsLast 24 hours
Requests per hour; red = provider errors.
- Avg latency
- —
- Avg first token
- —
- Throughput
- —
Endpoints
Requests go to these routes in order and fail over between them. Pick or exclude them by label with provider.order / only / ignore, or reorder with provider.sort.
| Label | Input / output per 1M | First token | Throughput | Status |
|---|---|---|---|---|
primary | $0.039 / $4.8 | — | — | Available |
backup | $0.0699 / $1.4 | — | — | Available |
Use it
curl https://staging-api.ultragpt.pro/v1/chat/completions \
-H "Authorization: Bearer $ULTRAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Anthropic SDK / Claude Code
curl https://staging-api.ultragpt.pro/v1/messages \
-H "x-api-key: $ULTRAGPT_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3",
"max_tokens": 1024,
"messages": [{ "role": "user", "content": "Hello!" }]
}'More Z.ai models
All GLM API models and pricesCompare GLM 5.3
FAQ
How much does the GLM 5.3 API cost?
$0.039 input / $4.8 output per 1M tokens; cached input $0.038 per 1M tokens. You pay per use from a prepaid balance - no subscription, and every response reports its exact cost in usage.cost.
How do I call GLM 5.3 through the API?
Create an UltraGPT API key, point the official OpenAI SDK (or any OpenAI-compatible client) at https://staging-api.ultragpt.pro/v1 and pass "glm-5.3" as the model. Anthropic SDKs and Claude Code work too, through /v1/messages.
What is the context window of GLM 5.3?
GLM 5.3 accepts up to 1,048,576 tokens of context on UltraGPT.
Does GLM 5.3 support tools, vision and reasoning?
Tool / function calling: yes. Image input (vision): no. Reasoning: no. Input: text; output: text.