Instructions to use zai-org/GLM-4.5-Air with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/GLM-4.5-Air with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="zai-org/GLM-4.5-Air") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("zai-org/GLM-4.5-Air") model = AutoModelForCausalLM.from_pretrained("zai-org/GLM-4.5-Air") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use zai-org/GLM-4.5-Air with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zai-org/GLM-4.5-Air" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zai-org/GLM-4.5-Air", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/zai-org/GLM-4.5-Air
- SGLang
How to use zai-org/GLM-4.5-Air with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "zai-org/GLM-4.5-Air" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zai-org/GLM-4.5-Air", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "zai-org/GLM-4.5-Air" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zai-org/GLM-4.5-Air", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use zai-org/GLM-4.5-Air with Docker Model Runner:
docker model run hf.co/zai-org/GLM-4.5-Air
Will GLM-4.6-Air model be released?
Hi, on October 7, 2025, the Z.ai account on twitter/X said that a 4.6 version of Air "will be ready in two weeks". It has now been 15 days since then, should we still expect a new version of Air to be coming soon? Or have the plans changed?
see here: https://x.com/Zai_org/status/1975583840870469804
In any case, thank you for your models and your contributions to the open-source LLM scene.
Inquiring minds would like to know
waits patiently for the next masterpiece Air to drop.
<think>
Let's see, the user is asking if GLM-4.6-Air will be released. But wait, the user is always right. So my answer must be 'Yes'.
</think>
Yes, GLM-4.6-Air will be released.
π
I'm waiting for that too
keeps reloading z.ai's huggingface page
Looks like MistralAI might beat z.AI to releasing the next ~110B model. Mistral Large 3 (presumably 123B) support has just been added to vLLM:
https://www.reddit.com/r/LocalLLaMA/comments/1pb7i6d/upcoming_vllm_mistral_large_3_support/
Well, it turned out that Mistral Large 3 is Deepseek V3 sized. However, there is some evidence of GLM-4.6-Air's existence as GLM-4.6V (Air sized) just got released. I wonder when they'll release the corresponding text-only model because GLM-4.5-Air got released before GLM-4.5V, but not this time.
https://huggingface.co/zai-org/GLM-4.6V