Skip to content
llmmodels
Chat LLMOpen weightsHistorical

GLM-10B-unidirectional

by Zhipu AI (Z.ai) · Mar 18, 2021

GLM-10B-unidirectional is an open-weight chat llm from Zhipu AI (Z.ai), released Mar 18, 2021. It has 10B parameters.

Released
Mar 18, 2021
Type
Chat LLM
Parameters
10B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (permissive)
Knowledge cutoff
—
Status
Historical

About GLM-10B-unidirectional

There have been various types of pretraining architectures including autoencoding models (e.g., BERT), autoregressive models (e.g., GPT), and encoder-decoder models (e.g., T5). However, none of the pretraining frameworks performs the best for all tasks of three main categories including natural language understanding (NLU), unconditional generation, and conditional generation. We propose a General Language Model (GLM) based on autoregressive blank infilling to address this challenge.

How to run GLM-10B-unidirectional

GLM-10B-unidirectional is an open-weight model. 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 10B parameters it needs roughly 6 GB of memory at 4-bit quantization.

GLM-10B-unidirectional vs alternatives

Alternatives to GLM-10B-unidirectional
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Generative BSTopenMetaMar 20219.4B————
ERNIE 3.0openBaiduJul 202110B————
T0-XXLopenHugging FaceOct 202111B————
PLATO-XLopenBaiduSep 202111B————
UnicornopenAllen Institute for AI (Ai2)Mar 202111B————
ByT5-XXLopenGoogle DeepMindMay 202113B————
Fairseq-dense 13BopenMetaDec 202113B————
KoGPTopenKakaoNov 20216.2B————

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-10B-unidirectional?

GLM-10B-unidirectional was developed by Zhipu AI (Z.ai) (China,China,United States of America). It was released on Mar 18, 2021.

Is GLM-10B-unidirectional open source?

Yes. GLM-10B-unidirectional's weights are publicly available, so you can download and run it yourself.

How many parameters does GLM-10B-unidirectional have?

GLM-10B-unidirectional has 10B parameters.

Sources: epoch · paper. Last updated 2026-11-22.