CanMyPCRunAILocal AI compatibility

Zhipu AI · chatglm

Can I run glm4?

A strong multi-lingual general language model with competitive performance to Llama 3.

Family maximum: 128K contexttextThe glm-4-9b License12 builds

Parameter counts and memory belong to each build below. A family can contain several sizes and tasks; fitting in memory is not a quality ranking.

Calculate memory for a build and context

glm4 system requirements

Memory needed at 4K context, counting model weights, KV cache, compute buffers and runtime overhead. Download sizes come from the official Ollama registry.

Download size and memory required for each glm4 build
BuildQuantizationDownloadMemory needed
glm4:9b-text-q4_09B parameters (tag)8K documented maximum contextBuild sourceCatalog checked 2026-10-13Q4_05.1 GB~6.0 GB
glm4:9b9B parameters (tag)128K documented maximum contextBuild sourceCatalog checked 2026-10-13Q4_05.1 GB~6.0 GB
glm4:9b-text-q4_K_M9B parameters (tag)8K documented maximum contextBuild sourceCatalog checked 2026-10-13Q4_K_M5.8 GB~6.8 GB
glm4:9b-chat-q4_K_M9B parameters (tag)128K documented maximum contextBuild sourceCatalog checked 2026-10-13Q4_K_M5.8 GB~6.8 GB
glm4:9b-text-q5_K_M9B parameters (tag)8K documented maximum contextBuild sourceCatalog checked 2026-10-13Q5_K_M6.7 GB~7.7 GB
glm4:9b-chat-q5_K_M9B parameters (tag)128K documented maximum contextBuild sourceCatalog checked 2026-10-13Q5_K_M6.7 GB~7.7 GB
glm4:9b-text-q6_K9B parameters (tag)8K documented maximum contextBuild sourceCatalog checked 2026-10-13Q6_K7.7 GB~8.9 GB
glm4:9b-chat-q6_K9B parameters (tag)128K documented maximum contextBuild sourceCatalog checked 2026-10-13Q6_K7.7 GB~8.9 GB

Showing the 8 smallest non-alias builds. Choose any build and change the context. A context above the build's documented maximum is a hypothetical calculation, not a supported setting.

How to run glm4 locally

  1. 1.Install Ollama for Windows, macOS or Linux.
  2. 2.Download this exact build in a terminal: ollama pull glm4:9b-text-q4_0
  3. 3.Check the source for the build's task. For text generation, run ollama run glm4:9b-text-q4_0. Base/text builds may need a prompt template; an instruct build is usually the appropriate starting point for a conversation.

Frequently asked questions about glm4

How much VRAM do I need to run glm4?
At 4K context, the smallest published build of glm4 (Q4_0) needs roughly 6.0 GB of GPU memory once weights, KV cache, compute buffers and runtime overhead are counted. Bigger quantizations and longer context windows need more. It can also run partly or entirely on the CPU using system RAM, more slowly.
Can I run glm4 without a dedicated GPU?
A supported CPU runtime can use system RAM. The smallest listed build needs an estimated 6.0 GB at 4K context, plus headroom for your operating system. Check the build's runtime requirements. We have not measured its speed on your CPU.
How big is the glm4 download?
The smallest published build is 5.1 GB. There are 12 builds in total, the largest being 17.5 GB. Leave some extra free disk space beyond the download itself.
How do I run glm4 locally?
Install Ollama, then download a specific build with "ollama pull glm4:9b-text-q4_0". For a build that supports text generation, use ollama run with the same tag. Check the model source for its task and prompt format.

Will glm4 run on your PC?

Scan your hardware once and get a verdict for this model and every build — free, no account.

Check my PC

Compare with similar models

Or start from your memory: 8 GB VRAM, 12 GB VRAM, 16 GB VRAM, 24 GB VRAM or a 16 GB Mac.

Model data from the official Ollama registry · verified 13/10/2026