Z.ai: GLM 5.4

Z.ai (Zhipu) (China) · Multimodal

📄 1M context💲 $1.40 / $4.40 per 1M tokens in / out🔓 Open weights (downloadable)

GLM-5.4 is Z.ai's first flagship model with native vision capabilities, featuring Z.ai's first Loop Transformer architecture with enhanced reasoning and generalized coding capabilities.

Which way is for me?

🌐 Online, right now

  1. Open the model's page on OpenRouter: openrouter.ai/z-ai/glm-5.4
  2. Sign in (with Google or email) and press Chat; you can talk to the model right there.
  3. Cost: a short exchange (about a page in and a page out) costs about $0.0029, so $1 buys about 344 messages.

🧑‍💻 For developers

vLLM

vllm serve zai-org/GLM-5.4

Transformers (Python)

from transformers import pipeline
pipe = pipeline("image-text-to-text", model="zai-org/GLM-5.4")
Words used here
GGUF
The file format LM Studio, Ollama and llama.cpp use to run a model.
Quantization (Q4, Q8)
Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
VRAM
The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
Context
The most text the model can see at once in a conversation (questions, answers and files).
Tokens per second
How fast the answer is written; 20 is about reading speed, 5 is slow.

Hardware and running it

Cloud Only through the maker's API or cloud services; it cannot run on your own hardware.

Links come from the vendor's official site and the model card the vendor published · Updated: