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
Generation Gemma 4 GLM-5.4 (hosted)
Initial release 2024-02-21 2022-08-04
Instruct tuned Yes Yes
Coding Yes Yes
Finetuning Yes Yes
Open weights Yes Yes
License Apache 2.0 GLM-5.3 License / MIT (5.3 Flash)
Model sizes E2B, E4B, 12B, 26B (3.8B active), 31B Undisclosed (GLM-5.4), 753B (40B active, GLM-5.3)
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 family of reasoning and coding models. GLM-5.4 is available on the Coding Plan, and GLM-5.3 and GLM-5.3-Flash have downloadable weights.

The GLM family evolved from bilingual pretrained models through ChatGLM and GLM-4. GLM-5.4 adds a recurrent transformer architecture and is available through Z.ai's Coding Plan. The downloadable GLM-5.3 flagship has its own model license, while the smaller GLM-5.3-Flash is MIT-licensed.

Further reading

Compare other models

Other Gemma comparisons

Other GLM comparisons