Get started
LLM Index

GLM vs. Phi

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

Attribute GLM Phi
Developer Z.ai Microsoft
Generation GLM-5.4 (hosted) Phi-4
Initial release 2022-08-04 2023-06-20
Instruct tuned Yes Yes
Coding Yes Yes
Finetuning Yes Yes
Open weights Yes Yes
License GLM-5.3 License / MIT (5.3 Flash) MIT
Model sizes Undisclosed (GLM-5.4), 753B (40B active, GLM-5.3) 3.8B, 5.6B, 14B, 15B
Links

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

Phi

Phi is Microsoft's family of compact open-weight models. The Phi-4 generation includes text, reasoning, and multimodal variants.

Microsoft introduced Phi-1 and Phi-2 as small language models trained on curated and synthetic data. Phi-3 expanded the family for mobile and multimodal use. Phi-4 includes a 14B general model, compact Mini variants, and Phi-4-Reasoning-Vision-15B, a March 2026 checkpoint for multi-step visual reasoning. Phi models are distributed under the MIT license.

Further reading

Compare other models

Other GLM comparisons

Other Phi comparisons