Get started
LLM Index

GLM vs. MPT

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

Attribute GLM MPT
Developer Z.ai MosaicML
Current generation GLM-5.2 –
Initial release 2022-08-04 2023-05-05
Instruct tuned Yes Yes
Coding Yes No
Finetuning Yes Yes
Open source Yes Yes
License MIT Apache 2.0
Model sizes 744B (40B active) 7B, 30B
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

MPT

MPT-7B and MPT-30B are a set of models that are part of MosaicML's Foundation Series. Trained on 1T tokens, the developers state that MPT-7B matches the performance of LLaMA while also being open source, while MPT-30B outperforms the original GPT-3. In addition to the base model, the developers also offer MPT-Instruct, MPT-Chat, and MPT-7B-StoryWriter-65k+, the last of which is trained on a context length of 65K tokens.

Further reading

Compare other models

Other GLM comparisons

Other MPT comparisons