Private LLMs and RAG
GLM 5.3: What It Is, How It Differs from Flash and How to Self-Host It
GLM 5.3 explained for enterprises: how it differs from GLM-5.3-Flash, what its licence requires, the hardware to self-host it, and how to govern it securely.
In short
GLM-5.3 is Z.ai's open-weight model for coding and agentic work, with 744 billion parameters, 40 billion active per token and a 1M-token context. GLM-5.3-Flash is a smaller, multimodal, MIT-licensed sibling. Self-hosting GLM-5.3 needs a full eight-GPU server at FP8; Flash needs about 320 GB for its weights.
Key takeaways
- GLM-5.3 (744 billion parameters, 40 billion active) is a post-training upgrade of GLM-5.2's base model, while GLM-5.3-Flash (320 billion, 18 billion active) is a new, natively multimodal base model with hybrid linear and sparse attention.
- GLM-5.3-Flash uses the MIT licence. The GLM-5.3 License is MIT-style but requires a security review by Z.ai before any commercial use if your group runs a model-as-a-service business and has more than US$10 billion in revenue over 12 months.
- By our estimate from the published checkpoints, GLM-5.3 needs about 750 GB of GPU memory for its FP8 weights and Flash about 320 GB, before the key-value cache; the vLLM recipes run both on one eight-GPU H200 node.
- Self-hosting keeps prompts on your infrastructure. Z.ai's API is operated from Singapore, which has no EU adequacy decision, so API use of personal data is an international transfer under the GDPR.
- Z.ai's model card reports capability benchmarks, including strong exploitation results, but no safety or jailbreak evaluation, so run your own red teaming and pin, mirror and verify the original weights.
GLM-5.3 is Z.ai’s open-weight model for coding and agentic work. Buyers who consider it ask about its Flash sibling, its licence and the hardware it needs. This post answers those questions for teams that want to run it on their own infrastructure. For a comparison with Kimi K3, DeepSeek, Qwen and the other open-weight families, see our guide to the best open-weight LLMs in 2026; we do not repeat it here.
What is GLM-5.3?
GLM-5.3 is a large language model from Z.ai, the company behind the GLM series, released with open weights on Hugging Face under the organisation zai-org. Z.ai’s release notes list it on 18 August 2026 and describe gains in coding and cybersecurity tasks.
It is a mixture-of-experts (MoE) model: each layer holds many smaller “expert” networks, and a router sends each token to only a few of them. Z.ai’s GitHub README gives the size as 744 billion parameters with 40 billion active per token. The checkpoint itself stores about 753 billion parameters, according to Hugging Face’s file metadata, and that is the number to use for memory sizing. The configuration allows 1,048,576 positions, so about one million tokens of context.
GLM-5.3 uses the same base model as GLM-5.2; its improvements come from post-training. Z.ai reports a 50% gain over GLM-5.2 on its in-house coding benchmark and higher scores on public agent, coding and security benchmarks. These are vendor results. Your own evaluation on your own tasks matters more.
Two behaviours affect integration. Thinking is always on, and the reasoning_effort setting accepts low, high or max, defaulting to max. The chat template’s clear_thinking option defaults to false, and Z.ai advises setting it to true for chat use.
What is the difference between GLM-5.3 and GLM-5.3-Flash?
GLM-5.3-Flash is a separate, smaller model with a new architecture, not a compressed copy of GLM-5.3. Z.ai’s release notes list it on 26 August 2026 as the first natively multimodal model in the GLM-5 series.
Flash has 320 billion parameters with 18 billion active. Of its 45 layers, 34 use linear attention, whose memory use does not grow with context length in the way standard attention does, and 11 use sparse attention. That design reduces the cost of long contexts. It also reads images, while GLM-5.3 takes text only.
| GLM-5.3 | GLM-5.3-Flash | |
|---|---|---|
| Parameters (total / active) | 744B / 40B (753B stored) | 320B / 18B (321B stored) |
| Base model | GLM-5.2’s base, more post-training | Newly trained base |
| Input | Text | Text and images |
| Licence | GLM-5.3 License | MIT |
| Published precisions | FP8 (default) and BF16 | FP8 (default) and BF16 |
| FP8 download (Hugging Face) | About 756 GB | About 328 GB |
| Z.ai API price per million tokens, input / output | US$1.40 / US$4.40 | US$0.15 / US$0.50 |
Sources: Hugging Face model cards and file listings, Z.ai’s GitHub README and pricing page, checked 15 November 2026.
For most enterprise pilots, Flash is the practical starting point: it needs less than half the memory, it carries a standard licence and it handles screenshots and scanned documents. GLM-5.3 is worth testing where Flash falls short on your hardest coding or agent tasks.
Is GLM-5.3 licensed for commercial use?
Yes, with one condition that affects very few organisations. GLM-5.3-Flash uses the MIT licence. GLM-5.3 uses the GLM-5.3 License, which grants the familiar MIT rights to use, copy, modify, distribute and sell the software, including the weights, and allows fine-tuning and derivative works.
The GLM-5.3 License adds three things:
- Notice and law. Keep the copyright and permission notice, and use the model in compliance with applicable laws and regulations.
- Model-as-a-service review. The licence defines model-as-a-service as giving third parties access to language model inference or fine-tuning, for example through an API, with meaningful control over inputs, parameters or training data. Features embedded in end-user products and simple relaying of requests to models hosted elsewhere are excluded. If you or your affiliates run such a business and your combined revenue exceeds US$10 billion over any 12 consecutive months, you must pass a security review by Z.ai, with a scope and method that Z.ai reasonably determines, before any commercial use.
- No warranty. The weights and their outputs come “as is”, and Z.ai disclaims liability.
Two details deserve attention. First, the review condition, once triggered, covers any commercial use, internal use included. Second, its definition refers to language model services in general, not only to services built on GLM-5.3. So a large group that sells API access to any model falls within it. The licence names no governing law. Our comparison of open-weight model licences sets these terms beside those of other model families. Have counsel confirm how they apply to your group; this is not legal advice.
What hardware does GLM-5.3 need?
A full eight-GPU data-centre server for GLM-5.3, and somewhat less for Flash. A simple estimate multiplies the stored parameters by the bytes per parameter: about 1 byte at FP8, 2 at BF16 and 0.5 at 4-bit. For MoE models, count every parameter, because all experts stay in memory even though only some run per token.
Our weight estimates, before the key-value (KV) cache, activations and runtime overhead:
- GLM-5.3: about 753 GB at FP8, 1.5 TB at BF16 and roughly 380 GB at 4-bit. A published NVFP4 checkpoint keeps some layers at higher precision and comes to about 0.45 TB, according to SGLang.
- GLM-5.3-Flash: about 321 GB at FP8, 643 GB at BF16 and roughly 160 GB at 4-bit.
What the serving guides say has been run:
- The vLLM recipe states that GLM-5.3’s FP8 checkpoint fits on one node of eight H200 or H20 GPUs, and that the full one-million-token context fits on eight B200 GPUs with an FP8 KV cache.
- SGLang says the BF16 checkpoint needs an eight-GPU B300 node or a multi-node set-up, and that the NVFP4 build runs on a single four-GPU GB300 node.
- The vLLM recipe for Flash runs on eight H200 GPUs, where the FP8 weights take about 306 GiB. On Hopper GPUs, Flash’s KV cache must stay at BF16.
Eight 80 GB GPUs give 640 GB in total, which is less than GLM-5.3’s FP8 weights; for Flash, the same server leaves room for the KV cache by arithmetic, but check that your engine build supports the GPU generation.
Searches for “glm 5.3 flash gguf” and “dgx spark” point to interest in desktop use. At about 160 GB for 4-bit weights, Flash exceeds a single 128 GB DGX Spark; our comparison of DGX Spark and the RTX PRO 6000 explains what fits on each. Use the LLM GPU sizing calculator for a first estimate, then measure KV cache use on your own build, because Flash’s linear attention makes standard formulas overstate it.
How do you serve GLM-5.3 with vLLM or SGLang?
Both engines support GLM-5.3 and Flash, but you need recent builds. Z.ai’s model cards show vllm serve and sglang.launch_server commands, and the projects publish detailed recipes.
Points from the vLLM and SGLang guides, as of 15 November 2026:
- Versions. The vLLM recipes call for version 0.29.0 or later with native GLM5Next support; for Flash, the recipe notes that 0.29.0 was not yet released and points to the nightly image. SGLang suggests a pre-release install or its latest Docker image, with dated images for AMD GPUs.
- Tool calling. vLLM uses
--tool-call-parser glm47,--enable-auto-tool-choiceand--reasoning-parser glm47. SGLang resolves its automatic parsers to the same tool-call format. - Speed. Both offer multi-token prediction as speculative decoding, an option that drafts several tokens and verifies them in one step.
- Images. In vLLM, Flash’s image input needs the Python frontend rather than the faster Rust frontend.
- Other platforms. AMD Instinct GPUs and Huawei Ascend NPUs have recipes of their own.
The checkpoint names and flags change between releases, so treat the recipes as the reference and pin the image or package versions you validate.
Can GLM-5.3 run behind Claude Code, OpenCode or Cline?
Yes. Z.ai built it for that use: its model card reports that most evaluations ran in Claude Code 2.1.207 as the agent harness, and Z.ai’s GLM Coding Plan names Claude Code, OpenCode, Codex and Cline among supported tools.
With a self-hosted model, you point the agent at your own endpoint instead of Z.ai’s. vLLM and SGLang expose an OpenAI-compatible API, and the tool-call parser above must be enabled or the agent’s tool calls will fail. Our guide to running OpenCode with local models walks through the set-up and the context settings agents need.
Two settings matter for agents. Keep reasoning_effort at high or max for complex tasks and accept the extra tokens, or use low for quick edits. And give the server a context limit large enough for the agent’s working set, since coding agents fill context fast.
Z.ai API or self-hosting: where does your data go?
When you self-host, prompts, code and outputs stay on infrastructure you control, and nothing is sent to Z.ai. When you use Z.ai’s API, your data goes to a Singapore company.
Z.ai’s privacy policy names JINGSHENG HENGXING TECHNOLOGY PTE. LTD. in Singapore as the data controller. Its data processing addendum treats the customer as controller and the company as processor, says customer data is generally processed in Singapore, and says prompts and other content are processed in real time and not stored on its servers. Singapore does not appear on the European Commission’s list of adequacy decisions, so sending personal data to the API is a transfer that needs a GDPR transfer mechanism and a transfer assessment.
Self-hosting does not remove the GDPR. It changes the questions to the usual ones: logging, retention, access control and the purposes you process data for. It does remove the third-country transfer and the dependence on a foreign provider’s terms.
Is it safe to self-host a Chinese open-weight model?
It can be, with the same controls you would apply to any open-weight model, plus extra testing. Weights are data, not a running service, so a self-hosted model cannot send data to its developer by itself. The real risks lie elsewhere.
- Tampered or altered copies. Download only from the zai-org organisation on Hugging Face. Pin a commit hash, mirror the files to an internal registry and verify their hashes. As of 15 November 2026, the GLM-5.3 repository holds safetensors weights, configuration, a chat template and tokenizer files, and no custom Python code. Third-party quantisations and “uncensored” variants, which searches increasingly ask for, are different models from different suppliers. Our post on supply-chain security for on-premises AI models covers signing, scanning and provenance records.
- Untested behaviour. The GLM-5.3 model card reports capability benchmarks but no safety, refusal or jailbreak evaluation. Run your own: red-team prompts for your use cases, jailbreak attempts, prompt injection through retrieved documents and tool results, and checks for bias on topics that matter to you.
- Dual-use strength. Z.ai’s README says the model’s cyber capability “developed faster than we expected”, and it reports strong scores on vulnerability discovery and exploitation benchmarks. That is useful for defensive security teams and a reason to restrict which agents can run code, reach networks or call tools.
Isolate the serving hosts from the internet, log prompts and tool calls under a retention policy, and repeat the evaluation each time you change the checkpoint, quantisation or engine version.
What does the EU AI Act require when you deploy GLM-5.3?
Z.ai is the provider of the general-purpose AI (GPAI) model, and its obligations under Article 53 have applied since 2 August 2025. As an organisation that builds an assistant or agent on the model and uses it, you are usually the provider and deployer of your own AI system, not of the model.
Article 53(2) exempts providers of models released under a free and open-source licence, with public weights, from two documentation duties, unless the model has systemic risk. Whether a licence with conditions like the GLM-5.3 License qualifies is a legal question; for you, the practical point is to collect the documentation that Z.ai does publish, such as the model card, the technical report and the licence, and to fill gaps with your own evaluation.
Your own duties depend on the use case. AI literacy measures under Article 4 apply to all providers and deployers, Article 50 transparency rules apply to systems that interact with people or generate content, and high-risk uses add further requirements. Heavy fine-tuning can, in exceptional cases, make you the provider of a modified model. Our guide to GPAI obligations explains when. This is not legal advice; the answer depends on your role and use case.
How SysArt helps
SysArt helps regulated organisations decide whether GLM-5.3, GLM-5.3-Flash or another open-weight model fits their tasks, and then size, deploy, evaluate and govern it on their own infrastructure or in a dedicated EU environment. See our private LLM deployment service for how we approach model selection, serving, security testing and audit evidence.
Featured image by Winston Chen on Unsplash.
Frequently asked questions
What is GLM-5.3?
GLM-5.3 is an open-weight large language model from Z.ai, built for coding and long-horizon agent tasks. It is a mixture-of-experts model with 744 billion parameters, of which 40 billion are active for each token, and a context window of about one million tokens. It reuses GLM-5.2's base model with more post-training. Z.ai's release notes list it on 18 August 2026, and the weights are on Hugging Face.
What is the difference between GLM-5.3 and GLM-5.3-Flash?
GLM-5.3 is the larger, text-only model: 744 billion parameters with 40 billion active. GLM-5.3-Flash has 320 billion parameters with 18 billion active, is built on a newly trained base model, reads images as well as text, and mixes linear and sparse attention to cut long-context costs. Flash is MIT-licensed, while GLM-5.3 uses Z.ai's own licence. On Z.ai's API, Flash costs about a ninth as much per token.
Can GLM-5.3 be used commercially?
Yes, for most organisations. The GLM-5.3 License grants MIT-style rights to use, modify and redistribute the weights, provided you keep the notice and comply with applicable law. One condition applies to groups that run a model-as-a-service business and earn more than US$10 billion over 12 months: they must pass a security review by Z.ai before any commercial use. GLM-5.3-Flash is under the plain MIT licence. This is not legal advice.
What hardware do I need to run GLM-5.3 locally?
Plan on a full eight-GPU server. The FP8 checkpoint stores about 753 billion parameters, roughly 750 GB of weights, and the vLLM recipe states that it fits on one node of eight H200 GPUs. The BF16 version, about 1.5 TB, needs an eight-GPU B300 node or several nodes. GLM-5.3-Flash needs about 320 GB at FP8. These are estimates for weights only: add memory for the key-value cache and concurrent users.
Is there a GGUF version of GLM-5.3-Flash?
Z.ai publishes FP8 and BF16 checkpoints. The Hugging Face page for GLM-5.3-Flash links to more than 200 quantised derivatives made by others, including formats for llama.cpp and LM Studio. At 4-bit, Flash still needs roughly 160 GB for its weights, more than one 128 GB desktop system holds. Treat any third-party quantisation as a separate model from a separate supplier and evaluate it before use.
Is it safe to use GLM-5.3 from a Chinese developer?
Running the weights on your own servers means prompts and outputs do not go to Z.ai. The remaining risks are in the model itself: training-data bias, behaviour you have not tested and tampered copies. Download only from the zai-org organisation, pin a commit, verify file hashes, run red-team and jailbreak tests before production, and restrict the tools an agent can call. The same controls apply to any open-weight model.
How much does the GLM-5.3 API cost?
As of 15 November 2026, Z.ai's pricing page lists GLM-5.3 at US$1.40 per million input tokens, US$0.26 per million cached input tokens and US$4.40 per million output tokens. GLM-5.3-Flash costs US$0.15, US$0.03 and US$0.50. Z.ai also sells a GLM Coding Plan with points-based quotas. Prices change, so check the page before you budget, and remember that thinking is always on, which adds output tokens.
Sources
- Z.ai: GLM-5.3 model card, config.json and file metadata on Hugging Face (744B-A40B per README; 753.3 billion stored parameters, FP8 E4M3; repository last modified 14 October 2026) · checked 15 November 2026
- Z.ai: GLM-5.3 License (LICENSE file) · checked 15 November 2026
- Z.ai: GLM-5.3-Flash model card, config.json and file metadata on Hugging Face (MIT; 320B total, 18B active) · checked 15 November 2026
- Z.ai: zai-org/GLM-5 repository README on GitHub (model sizes, precisions, deployment links) · checked 15 November 2026
- Z.ai Developer Docs: release notes (GLM-5.3 on 18 August 2026, GLM-5.3-Flash on 26 August 2026) · checked 15 November 2026
- Z.ai Developer Docs: pricing (USD per million tokens) · checked 15 November 2026
- Z.ai Developer Docs: GLM Coding Plan overview (supported coding tools) · checked 15 November 2026
- Z.ai: privacy policy and data processing addendum for API services · checked 15 November 2026
- vLLM Recipes: GLM-5.3 and GLM-5.3-Flash serving guides · checked 15 November 2026
- SGLang Cookbook: GLM-5.3 deployment guide · checked 15 November 2026
- European Commission AI Act Service Desk: Article 53, obligations for providers of general-purpose AI models · checked 15 November 2026
- European Commission: adequacy decisions under the GDPR · checked 15 November 2026