How to block ChatGLM
How to block ChatGLM on every device
ChatGLM and Z.ai are Zhipu AI’s chat assistants and model platform, served under chatglm.cn and z.ai. Below: how to block ChatGLM in the browser, on phones and tablets, on your home or school network, and on managed devices.
AI blocker suite for browsers, desktop, and mobile
ChatGLM
AI assistants
chatglm.cnBlocked2 hostnames in the Nullgen catalog
Every entry also covers its subdomains, so the ChatGLM app and API are blocked too.
What ChatGLM connects to
These are the hostnames ChatGLM uses for its website, its apps, and its API. Each entry is matched as a suffix — blocking chatglm.cn also blocks every subdomain of it — so the ChatGLM app cannot slip through on a hostname that is not listed. Shared hosts that other products need are deliberately left out.
| Hostname | Role |
|---|---|
| chatglm.cn | Main website |
| z.ai | App, API, or content host |
Block ChatGLM in the browser
Free: Nullgen browser extension
The Nullgen extension stops typing and pasting into the ChatGLM prompt box — and into AI prompt fields on any website, including new tools that launched last week. Everything else on the page keeps working. It runs right in Chrome, Edge, Firefox, and Safari, with no DNS or policy setup.
Managed browsers: block the sites by policy
On a school or company fleet, push the hosts above as a browser policy to block the whole ChatGLM site. These snippets use the official Chrome, Edge, and Firefox policy names.
{
"URLBlocklist": [
"chatglm.cn",
"z.ai"
]
}Chrome and Edge treat a bare hostname as the host plus every subdomain.
{
"policies": {
"WebsiteFilter": {
"Block": [
"*://chatglm.cn/*",
"*://*.chatglm.cn/*",
"*://z.ai/*",
"*://*.z.ai/*"
]
}
}
}Firefox needs both the apex and the wildcard pattern.
Need every AI tool in one file, or a .reg or macOS profile?
Open the free policy generatorBlock the ChatGLM app on phones and tablets
Nullgen mobile app
The Nullgen app blocks ChatGLM and 100+ other AI apps and sites on the whole device with an on-device filter — the app, the website, and the API, on any network, with no DNS server to run. Included with Nullgen Pro.
Without Nullgen: Screen Time on iPhone and iPad
- 1Open Settings → Screen Time → Content & Privacy Restrictions and turn restrictions on. This covers ChatGLM in Safari and in apps that use Apple’s web filter.
- 2Under Web Content, choose Limit Adult Websites — the setting that lets you deny chatglm.cn by name.
- 3Under Never Allow, add chatglm.cn. Safari and apps that use Apple’s web filter will refuse it.
- 4To keep the ChatGLM app off the device entirely, delete it and set Installing Apps to Don’t Allow, or use Ask to Buy on a child’s Apple Account.
Without Nullgen: Family Link on Android
- 1Open Family Link, choose the child, then Controls → Content restrictions → Google Chrome — where ChatGLM can be blocked by site.
- 2Choose Only allow approved sites, or add chatglm.cn under Blocked sites.
- 3Under Controls → App limits, block the ChatGLM app, or require approval for new installs from Google Play.
Block ChatGLM on your home or school network
A DNS blocker such as Pi-hole, AdGuard Home, NextDNS, or pfBlockerNG blocks ChatGLM for every device on the network — laptops, phones, consoles, and the ChatGLM app — without installing anything on them. Subscribe to the ChatGLM file from the public blocklist, or paste the rules directly.
Subscribe to the ChatGLM list
AdGuard Home, uBlock Origin, and Brave rules
||chatglm.cn^
||z.ai^DNS blocking cannot see inside a VPN or a phone on mobile data. For a block that follows the device, use the Nullgen apps or an MDM profile.
Block ChatGLM on managed devices
Schools and companies can block ChatGLM on every managed iPhone, iPad, laptop, and Chromebook from the MDM they already run — Intune, Jamf, Kandji, or Google Workspace — with per-person policies and an approval flow for legitimate use. Nullgen Pro provides the profiles and the dashboard; these guides walk through the setup.
About ChatGLM
How people use ChatGLM
ChatGLM is the assistant from Zhipu AI, presented in China as Zhipu Qingyan at chatglm.cn and internationally at z.ai. Zhipu’s own description frames it as an agent that plans and executes tasks rather than just a chatbot. It runs on the web and as an app for iPhone, iPad, and Mac, and the GLM models are also published openly.
What makes ChatGLM hard to block
Zhipu’s own surfaces are all listed: chatglm.cn for the Chinese product and z.ai for the international one, each covering its app backends through the suffix match. As with the other labs that release open models, GLM models also run on third-party inference services under unrelated hostnames, which this page does not block.
The Mac app is worth noting for anyone relying on a browser block: it is a native application, so only the DNS and device-level methods on this page affect it.
The browser extension covers the chat in the browser; the DNS and device-level blocks cover the iPhone, iPad, and Mac apps. The suffix match covers each domain’s app-specific subdomains without listing them.
Questions about blocking ChatGLM
Are chatglm.cn and z.ai the same product?
They are the Chinese and international editions of Zhipu’s assistant. Both are listed so the block holds in either market. The international edition at z.ai is the one most English-speaking users encounter.
Does this block the ChatGLM Mac and iPhone apps?
At the DNS or device level, yes; the apps connect to the listed hosts. A browser-only block does not affect native apps. The Mac app is a native application and only the DNS or device-level block affects it.
Can GLM models be used on other services?
Yes. Zhipu publishes models openly, and services that host them are separate catalog entries. Hugging Face and OpenRouter both serve GLM models and have their own pages.
Does the free Nullgen extension block ChatGLM?
Yes. The free extension blocks the prompt box on ChatGLM and on any other site where it recognizes an AI prompt, in Chrome, Edge, Firefox, and Safari. It works on the page itself, so it needs no policy and no DNS change.
Does this block the ChatGLM app, not just the website?
A DNS or device-level block does. The app talks to the same hostnames listed above, and every entry covers its subdomains, so the app cannot slip through on a hostname that is not listed. A browser policy or extension only covers the browser.
What happens when ChatGLM adds a new hostname?
The catalog is updated as vendors change, and the Nullgen apps, the extension, and the public blocklist all read from it, so a new hostname reaches every device without anyone editing a list by hand.
Block ChatGLM today
Start with the free browser extension. Add Nullgen Pro when you need the ChatGLM app blocked on phones, tablets, and desktops, with approvals for the people who really need it.