GLM 5.3
Always-on reasoning with adjustable effort for complex code changes and multi-step tool use.
z-ai/glm-5.3Benchmarks
Artificial Analysis · Max
- IntelligenceAA Index v5.0.2
- 32 pts
- CodeSciCode
- 59%
- ReasoningHumanity’s Last Exam
- 42.3%
- Long contextAA-LCR v1.1
- 79.7%
Capabilities
- Tool Calling (supported)
- JSON Mode (supported)
- Function Calling (supported)
- Vision (not supported)
- Streaming (supported)
- Reasoning (supported)
- Structured outputs (supported)
Model details
- Model size
- 744B parameters40B active per token
- Context window
- 262k
- Max output
- 262k
- Precision
- FP8
- Modalities
- Text Generation
Pricing
USD per 1M tokens
- Input
- $1.15
- Output
- $3.90
- Cache read
- $0.23
Availability
- On-demand API
- Available
- Private deployment
- By request
- On-prem Enterprise
- By request
- Reserved capacity
- By request
Overview
GLM 5.3 is Z.ai’s text reasoning model for work that spans several steps. In a coding session, it can read a design, request the implementation through a tool, and use test output to revise a proposed change. You decide which tools the model can call and run them in your application.
Give the model a concrete finish line. For a migration, that might be a list of affected call sites, a patch, and the tests that confirm the old interface is gone. Keeping those artifacts in the conversation lets it pick up a long task after each tool result.
Mixlayer serves this model with a context window of 262,144 tokens shared by the input and generated output.
Reasoning controls
Choose Low, High, or Max effort. Max is the default.
Read the model guideUse Cases
Agentic software engineering
Use GLM for a feature that takes several rounds of coding and testing, such as adding an export format across a library, a command-line tool, and their fixtures. Z.ai evaluates sustained software engineering work on DeepSWE and SWE-Marathon.
Defensive cybersecurity
Z.ai highlights emergent cybersecurity capabilities in GLM 5.3 and reports results on CyberGym. A security team can use GLM to review a fix for a reported authorization flaw, compare it with the project’s access rules, and identify what a maintainer still needs to verify.
Quick Start
Create an API key and export it as MIXLAYER_API_KEY to send a request.
curl https://mixlayer.ai/v1/chat/completions \
-H "Authorization: Bearer $MIXLAYER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.3",
"messages": [{"role": "user", "content": "Hello!"}]
}'FAQ
Should I use Chat Completions or Responses for a multi-turn conversation?
Use Chat Completions if your app already keeps the transcript. Send the earlier messages with each new turn. Use Responses if you want Mixlayer to carry the conversation forward. When your organization allows storage, set store to true and pass the resulting ID as previous_response_id on the next request. Compare conversation handling
Why did the reply stop before it finished?
Input and generated output share a context window of 262,144 tokens. Chat history and tool results use part of that space. On reasoning models, thinking also uses the output allowance, so a short visible answer can still exhaust it. If Chat Completions reports length in finish_reason, check both limits before retrying. Trim earlier messages or raise the output cap if there is room. How reasoning uses the output budget
How is GLM 5.3 billed?
On-demand generation charges separately for input and output tokens. Cached input uses the model’s cache-read rate where published. Output includes both reasoning tokens and the visible reply. Mixlayer pricing
Can I look up the original input later to investigate a bad result?
By default, Mixlayer processes the input in memory and discards it and the result after inference. Keep the examples you need for evaluation in your own application. Your organization can also enforce zero retention for features that offer optional storage. Mixlayer’s retention controls
Why does GLM reject the setting I use to turn off thinking?
GLM 5.3 always reasons. Mixlayer returns unsupported_parameter for an effort of none. For a small edit, set the effort to low. Omitting it selects max, GLM’s highest reasoning setting. GLM reasoning settings
Will GLM remember why it chose a fix after I ask a follow-up?
During tool calls for the current user turn, Mixlayer keeps GLM’s reasoning. Once you send a new user message, earlier assistant turns retain their visible answers and tool calls, and their reasoning is cleared. If a later step depends on a design decision, ask GLM to put the decision and its rationale in the visible reply. How GLM handles conversation history
What should I send GLM to debug a visual regression?
Mixlayer serves GLM 5.3 with text input. Give it the affected component, the relevant CSS, and a concrete description such as “the Save button overlaps the title at 375 pixels wide.” If the evidence only exists in a screenshot, use a vision-capable model to inspect it first. GLM’s supported inputs