GLM-4.5 Air

MoE for agent and coding tasks. Import via Hugging Face instead of a nonexistent official Ollama library tag.

  • Code
  • Tool calls
Find hardware for it

Short answer

GLM-4.5 Air needs about 66.6 GB of GPU-usable memory with 8K context, 70.6 GB with 32K and 88.3 GB with the full 128K window, for one user. That includes 63.6 GB of Q4_K_M weights. Context part (exact = KV cache from the model’s config.json, flat = our planning reserve): 8K flat 3 GB, 32K flat 7 GB, 128K exact 24.7 GB.

Smallest catalog device that holds it: Apple Mac Studio M5 Ultra 96 GB (72 GB GPU-usable) at 8K; Apple Mac Studio M5 Ultra 96 GB (72 GB GPU-usable) at 32K; GMKtec EVO-X2 128 GB (96 GB GPU-usable) at 128K.

Cheapest catalog device that fits it at a usable pace (our estimate): GMKtec EVO-X2 128 GB, 96 GB GPU-usable.

Weight memory
about 63.6 GB
Q4_K_M
Planning with 8K context
66.6 GB
one user, rough reserve
Maximum model context
128K
per the chosen tag, not a hardware promise

Will GLM-4.5 Air run on your hardware?

Every memory size in our catalog with its cheapest box, for one user.

Will GLM-4.5 Air run on your hardware?. Model8K context + reserveUsable memory of the boxDoesn’t fit
  1. GMKtec M6 Ultra 16 GB8 GB usable · 16 GB RAM
    Too little memory 66.6 GB / 8 GB
    –
  2. Apple Mac mini M6 16 GB12 GB usable · 16 GB RAM
    Too little memory 66.6 GB / 12 GB
    –
  3. GMKtec M6 Ultra 32 GB16 GB usable · 32 GB RAM
    Too little memory 66.6 GB / 16 GB
    –
  4. Apple Mac mini M6 24 GB18 GB usable · 24 GB RAM
    Too little memory 66.6 GB / 18 GB
    –
  5. GMKtec EVO-X1 32 GB24 GB usable · 32 GB RAM
    Too little memory 66.6 GB / 24 GB
    –
  6. Apple Mac Studio M5 Max 36 GB27 GB usable · 36 GB RAM
    Too little memory 66.6 GB / 27 GB
    –
  7. GMKtec EVO-X2 64 GB48 GB usable · 64 GB RAM
    Too little memory 66.6 GB / 48 GB
    –
  8. Minisforum AI X1 Pro 96 GB64 GB usable · 96 GB RAM
    Too little memory 66.6 GB / 64 GB
    –
  9. Apple Mac Studio M5 Ultra 96 GB72 GB usable · 96 GB RAM
    Fits 66.6 GB / 72 GB
    8K + 32K
  10. GMKtec EVO-X2 128 GB96 GB usable · 128 GB RAM
    Fits 66.6 GB / 96 GB
    8K + 32K
  11. Lenovo ThinkStation PGX 128 GB110 GB usable · 128 GB RAM
    Fits 66.6 GB / 110 GB
    8K + 32K

Matching hardware

The cheapest boxes that hold it with 8K context.

Adjust context and budget yourself →

Start locally

Install a current Ollama version that supports the model. The first run downloads the weights.

ollama run hf.co/ggml-org/GLM-4.5-Air-GGUF:Q4_K_M

Start with a short context and check the GPU offload with ollama ps. Setting up Ollama explains the steps.

Plan memory realistically

The weights stay the same, the context grows with the length of the conversation. Rules of thumb, not measurements. Approximate GGUF file size; KV cache and runtime add to it. GGUF conversion by ggml-org, original weights by Z.ai. Even with MoE, all expert weights have to stay in memory. Few active parameters are no guarantee of a particular throughput. Assumptions and limits of the calculation

Plan memory realistically. Modelcontext + reserve
  1. 8K context
    66.6 GB
    66.6 GB
  2. 32K context
    70.6 GB
    70.6 GB
  3. 128K context
    88.3 GB
    88.3 GB

Questions and answers

How much RAM or VRAM does GLM-4.5 Air need?

About 66.6 GB of GPU-usable memory with 8K context for one user: 63.6 GB of Q4_K_M weights plus our flat reserve for runtime and KV cache. With 32K context we plan 70.6 GB and with 128K 88.3 GB. Context part (exact = KV cache from the model’s config.json, flat = our planning reserve): 8K flat 3 GB, 32K flat 7 GB, 128K exact 24.7 GB.

Which mini PC can run GLM-4.5 Air?

10 of 28 devices in our catalog hold it with 8K context. The smallest fitting memory size is 72 GB; the cheapest device that holds it at a usable pace by our estimate is GMKtec EVO-X2 128 GB.

What is the Ollama command for GLM-4.5 Air?

ollama run hf.co/ggml-org/GLM-4.5-Air-GGUF:Q4_K_M. The first start downloads about 63.6 GB; ollama ps then shows whether the model runs fully on the GPU.

Does GLM-4.5 Air need less memory because few parameters are active?

No. GLM-4.5 Air uses only part of its parameters per token (106B, 12B active), but all expert weights stay in memory, so plan with the full 63.6 GB. Fewer active parameters mainly help speed.