Skip to content
llmmodels
Chat LLMOpen weights

glm-4-9b

by Zhipu AI (Z.ai) · Jun 4, 2024

glm-4-9b is an open-weight chat llm from Zhipu AI (Z.ai), released Jun 4, 2024. It has 9.4B parameters.

Released
Jun 4, 2024
Type
Chat LLM
Parameters
9.4B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
other
Knowledge cutoff
—
Status
Open weights
HF downloads (30d)
23K

How to run glm-4-9b

glm-4-9b is an open-weight model published on Hugging Face as zai-org/glm-4-9b. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 9.4B parameters it needs roughly 6 GB of memory at 4-bit quantization.

glm-4-9b vs alternatives

Alternatives to glm-4-9b
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama-3.1-8B-InstructopenMetaJul 20248B128K$0.02$0.04110.9
Gemma 2 9BopenGoogle DeepMindJun 20249.2B———112.4
Gemma 7BopenGoogle DeepMindFeb 20248.5B———103.2
Llama 3-8BopenMetaApr 20248B———109.1
Yi-9Bopen01.AIMar 20248.8B———102.2
Mistral NemoopenMistral AIJul 202412B128K$0.029$0.03113.9
Phi 4openMicrosoftDec 202415B16K$0.07$0.14129.2
Mistral Large (latest)openMistral AINov 2024—125K$0.5$1.50—

More models from Zhipu AI (Z.ai)

All Zhipu AI (Z.ai) models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GLM-5.3-FlashopenAug 2026321B1M$0.12$0.418
GLM-5.3openAug 2026753B1M$1.20$4.18
GLM-5.2openJun 2026753B1M$1.20$4.18
GLM-5.1openApr 2026754B200K$0.896$3.59
GLM-5openFeb 2026754B200K$0.598$2.69
GLM-4.7openDec 2025358B200K$0.448$2.09
GLM-4.7-FlashopenJan 202631B200KFreeFree
GLM-4.5-AiropenJul 2025110B128K$0.12$0.896

Frequently asked questions

Who made glm-4-9b?

glm-4-9b was developed by Zhipu AI (Z.ai) (China). It was released on Jun 4, 2024.

Is glm-4-9b open source?

Yes. glm-4-9b's weights are publicly available under the other license on Hugging Face (zai-org/glm-4-9b), so you can download and run it yourself.

How many parameters does glm-4-9b have?

glm-4-9b has 9.4B parameters.

Sources: huggingface · huggingface. Last updated 2026-11-22.