Skip to content
llmmodels
Chat LLMOpen weights

LongWriter-glm4-9b

by Zhipu AI (Z.ai) · Aug 12, 2024

LongWriter-glm4-9b is an open-weight chat llm from Zhipu AI (Z.ai), released Aug 12, 2024. It has 9.4B parameters.

Released
Aug 12, 2024
Type
Chat LLM
Parameters
9.4B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
—
Knowledge cutoff
—
Status
Open weights
HF downloads (30d)
389

How to run LongWriter-glm4-9b

LongWriter-glm4-9b is an open-weight model published on Hugging Face as zai-org/LongWriter-glm4-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.

LongWriter-glm4-9b vs alternatives

Alternatives to LongWriter-glm4-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 LongWriter-glm4-9b?

LongWriter-glm4-9b was developed by Zhipu AI (Z.ai) (China). It was released on Aug 12, 2024.

Is LongWriter-glm4-9b open source?

Yes. LongWriter-glm4-9b's weights are publicly available on Hugging Face (zai-org/LongWriter-glm4-9b), so you can download and run it yourself.

How many parameters does LongWriter-glm4-9b have?

LongWriter-glm4-9b has 9.4B parameters.

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