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
Llama is Meta's open-weight model family. Llama 4 was its last major generation; Meta's active assistant-model development has shifted to Muse.
Meta introduced LLaMA in February 2023, helping catalyze the modern open-weight model ecosystem. Llama 2 added commercial use and chat tuning, while the Llama 3 series improved scale, multilingual support, and instruction following. Llama 4, released in April 2025, introduced native multimodality and a mixture-of-experts architecture. Meta subsequently shifted its actively promoted assistant-model line to the proprietary Muse family, but Llama models remain widely used and deployed.
Further reading