Get started
LLM Index

GLM vs. OPT

A side-by-side comparison of release history, capabilities, licensing and model sizes.

Attribute GLM OPT
Developer Z.ai Meta
Current generation GLM-5.2 –
Initial release 2022-08-04 2022-05-03
Instruct tuned Yes No
Coding Yes No
Finetuning Yes Yes
Open source Yes Yes
License MIT NA
Model sizes 744B (40B active) 1.3B, 2.7B, 6.7B, 13B, 30B, 66B, 175B
Links

GLM

GLM is Z.ai's open-weight model family for reasoning, coding, agents, and long-horizon work. GLM-5.2 is the current generation with a one-million-token context window.

The GLM family began with bilingual pretrained models and evolved through the ChatGLM and GLM-4 generations. GLM-5 scaled the mixture-of-experts architecture to 744B total parameters with 40B active parameters. GLM-5.2, released in June 2026, adds a stable one-million-token context window, stronger long-horizon coding and agent performance, adjustable reasoning effort, and efficiency improvements for sparse attention. Its weights are available under the MIT license.

Further reading

OPT

Open Pre-trained Transformer Language Models (OPT) is part of the family of open source models designed to replicate GPT-3, with similar decoder-only architecture. It has since been superseded by models such as LLaMA, GPT-J, and Pythia.

Compare other models

Other GLM comparisons

Other OPT comparisons