ModelRefs / GLM-5.3 - AI model implementation reference
GLM-5.3 - AI model implementation reference
GLM-5.3 is Z.ai's coding- and agent-focused flagship, announced on 14 August 2026. It uses the same base model as GLM-5.2, so every gain comes from post-training, and it adds three reasoning-effort levels with thinking always on. Z.ai's API documents a 1M-token context window and a 128K-token output limit at $1.40 input and $4.40 output per million tokens, and the weights are published on Hugging Face under the GLM-5.3 License, an MIT-style licence with a security-review condition for very large Model-as-a-Service operators.
Overview
GLM-5.3 is attributed to Zhipu AI in ModelRefs' canonical registry. Tracked modalities: Text input and output. Primary use cases considered on ModelRefs: Long-horizon agentic coding in Claude Code, ZCode, OpenCode and similar harnesses; Vulnerability analysis and security research under appropriate authorisation; Self-hosted deployment where a permissive custom licence is acceptable.
This ModelRefs profile is decision-support material, not a final or universal ranking. Confirm current behavior, access, pricing, limits, licensing, and lifecycle in Zhipu AI's own documentation, and evaluate GLM-5.3 on representative workloads before implementation.
Lifecycle
Active. The provider lists this model as current and supported.
Z.ai's pricing page and API guide list glm-5.3 as a current model and announce no deprecation. Z.ai's documentation states no retirement commitment, so none is asserted.
Source: docs.z.ai, checked 2026-11-19.
Pricing
- Standard price per 1M tokens
- $1.40 input / $4.40 output
- Cached input per 1M tokens
- $0.26
Z.ai lists cached-input storage as limited-time free and gives no end date; the page states no context-length tiers.
GLM-5.3-Flash and GLM-5.3-FlashX are separately priced models and are not covered by this entry.
Source: docs.z.ai, checked 2026-11-22.
Benchmark & Evaluation
ModelRefs currently has partial, narrow benchmark coverage for GLM-5.3. Treat the available benchmark evidence as one input to the decision, not a guarantee that GLM-5.3 is the strongest option for your workload, and evaluate it on representative workloads before selecting it.
- No benchmark score is imported into this editorial record. Provider-reported evaluations are held as source-scoped canonical runs with their harness, effort and tool conditions attached; a number quoted here would detach from those conditions.
- Z.ai's launch post and model card publish a provider-run table with footnotes naming harness versions, effort, sampling parameters and, for one benchmark, a third-party grader. Competitors' tables list different figures for the same model where harnesses differ, so only Z.ai's own published figures are held, scoped to its stated conditions.
Implementation considerations
- Thinking cannot be disabled. Requests that set thinking.type to disabled fail, so migrate them to enabled with reasoning_effort set to low before switching the model ID to glm-5.3. Effort accepts low, high and max, defaults to max, and Z.ai recommends max for coding and for reproducing its published results.
- In the chat template, clear_thinking defaults to false; Z.ai advises setting it to true explicitly for chat scenarios.
- Cached input is billed at a lower rate and cached-input storage is listed as limited-time free; design prompts so that repeated context is a stable prefix.
- The GLM Coding Plan uses a different, points-based quota and a separate endpoint from the standard pay-as-you-go API, with off-peak calls consuming half the points; the two must not be mixed up when budgeting.
- The standard API is served at api.z.ai/api/paas/v4 as an OpenAI-compatible chat-completions endpoint with model code glm-5.3; the Coding Plan, the OpenAI Responses endpoint and an Anthropic Messages endpoint are separate. Capabilities listed include streaming, function calling, context caching and structured output.
- Weights are on Hugging Face as zai-org/GLM-5.3 with BF16 and FP8 variants. Z.ai lists SGLang, vLLM, TokenSpeed, Transformers, KTransformers, Unsloth and Ascend NPU deployment paths. The launch post said the weights would follow two weeks after launch, once safety evaluation and hardening were complete.
- GLM-5.3-Flash is a different, smaller model under the MIT license at $0.15 input and $0.50 output per million tokens, and must not be confused with this route.
Architecture disclosure
- The Hugging Face configuration names the architecture GlmMoeDsaForCausalLM: a mixture-of-experts model with sparse attention indexing (index top-k of 2,048 and 32 index heads), a hidden size of 6,144, a KV low-rank dimension of 512 and a position limit of 1,048,576 tokens. Z.ai's post credits IndexShare for efficient long-context processing in the GLM-5.2 base.
- The weights total about 753B stored parameters in the safetensors metadata, mostly FP8. That is a storage count rather than a statement from Z.ai, which does not publish total or active parameters.
Prompts and code examples
GLM-5.3 chat completion through the OpenAI SDK
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["ZAI_API_KEY"],
base_url="https://api.z.ai/api/paas/v4/",
)
completion = client.chat.completions.create(
model="glm-5.3",
messages=[{"role": "user", "content": "Summarise the failure modes of retry storms."}],
)
print(completion.choices[0].message.content)
Training disclosure
- Z.ai states that GLM-5.3 uses the same base model as GLM-5.2 and that scaling post-training is all that changed: more environments, more diverse tasks and more compute on the GLM-5.2 stack.
- The post describes synthesising executable, verifiable long-horizon environments end to end, with research agents collecting task patterns from real work and verifiers built without access to the reference solution, and notes that human-in-the-loop work is still required. Training uses Z.ai's open-source slime framework with Megatron and SGLang, and vulnerability-discovery data and environments were added to the mix.
History and source-reviewed changelog
- 2026-08-14 — GLM-5.3 announced
Z.ai announced GLM-5.3 on the GLM-5.2 base with post-training gains, no ability to disable thinking, and a commitment to release the weights two weeks later.
Milestone source - 2026-08-25 — GLM-5.3 weights repository created
The zai-org/GLM-5.3 repository, which holds the weights and the GLM-5.3 License, shows this creation date in the Hugging Face API, in line with Z.ai's commitment to publish the weights two weeks after launch; Z.ai states no publication date itself.
Milestone source
Risks and limitations
- Hosted-model behaviour, quotas, pricing and data controls can change without a client-side version pin; pin the exact model ID and re-check the provider's pricing and lifecycle pages before relying on a figure.
- Provider-reported capabilities require task-specific evaluation before production reliance.
- The GLM-5.3 License is not an OSI-approved licence. It grants broad rights to use, modify and sell, but a licensee or affiliate that operates a Model-as-a-Service business with more than 10 billion US dollars of revenue over any 12 months must pass Z.ai's security review before commercial use; end-user products embedding the model in specific features are carved out. Read the licence text before commercial deployment.
- Z.ai states that cyber capability developed faster than expected during post-training, including exploitation-chain reasoning. Z.ai reports that the weights release waited for safety evaluation and hardening, but publishes no misuse-evaluation results on the pages read; apply authorisation controls to any security use.
- Open-weight results depend on the exact runtime, precision and quantisation; a model of roughly this size needs a multi-GPU serving stack, and Z.ai's own results were produced at max effort.
Source coverage
ModelRefs reviewed Z.ai's published material on 2026-11-19. Model behavior, access, pricing, limits, and lifecycle can change, so verify the linked provider documentation before implementation. What remains open is recorded on this page: Z.ai's documentation states no total or active parameter count; the Hugging Face stored-tensor count is cited as such and is not a Z.ai claim. Fit and comparison signals remain provisional until tested on your own workload.
Connected ModelRefs evidence
Sources
Decision pages that rank this model
- Best AI Models for Autonomous Agents: ranked 9 of 10 candidates
- Best Open Source Coding Models: ranked 9 of 10 candidates
Open the AI Decision Helper to narrow the candidates by your own constraints.
Continue your research
Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to GLM-5.3 - AI model implementation reference.