Get started
LLM Index

Gemma vs. GLM

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

Attribute Gemma GLM
Developer Google Z.ai
Current generation Gemma 4 GLM-5.2
Initial release 2024-02-21 2022-08-04
Instruct tuned Yes Yes
Coding Yes Yes
Finetuning Yes Yes
Open source Yes Yes
License Apache 2.0 MIT
Model sizes E2B, E4B, 12B, 26B (3.8B active), 31B 744B (40B active)
Links

Gemma

Gemma is Google's family of efficient open models for local, edge, and self-hosted deployment. Gemma 4 is the current generation, spanning mobile-scale through workstation-scale models.

Google introduced Gemma in February 2024 as a family of lightweight open models built from the same research used for Gemini. Gemma 2 improved efficiency and model quality, while Gemma 3 added multimodal input and longer context. Gemma 4, released in April 2026 under Apache 2.0, adds advanced reasoning, agentic tool use, code generation, image and video understanding, and models ranging from edge-focused E2B and E4B variants to 12B, 26B mixture-of-experts, and 31B dense checkpoints.

Further reading

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

Compare other models

Other Gemma comparisons

Other GLM comparisons