
2026/01/07
License & Commercial Use: MIT + Component Licenses Explained
GLM-Image licensing can be confusing. Here's a practical breakdown of MIT for the overall model, plus Apache-2.0 licensed components you must respect.
Not legal advice. If you're shipping a product, get counsel.
The short version
- The GLM-Image model is released under the MIT License (as stated in the project's license note). (Hugging Face)
- The project incorporates VQ tokenizer weights and ViT weights from X-Omni/X-Omni-En, which are Apache-2.0 licensed, and those components remain under Apache-2.0 terms. (Hugging Face)
- The GitHub repository itself shows an Apache-2.0 license for the code repository. (GitHub)
What this usually means in practice
If you use hosted APIs (Z.ai / fal.ai)
You're typically governed by:
- the provider's terms
- plus any relevant model/component licenses (if they pass through obligations)
If you self-host the model
You should:
- Keep LICENSE files + notices
- Track which artifacts are MIT vs Apache-2.0 licensed components
- Include attribution where required by Apache-2.0
A simple compliance checklist
- Document where you obtained weights and which commit/version
- Preserve MIT + Apache-2.0 notices in your distribution
- Keep a
THIRD_PARTY_NOTICES.mdlisting X-Omni components - If you redistribute, include license texts appropriately
More Posts

Transformers AR Stage Deep Dive: What Are the 256→4K Tokens?
GLM-Image generates image tokens autoregressively—starting from ~256 tokens and expanding to 1K–4K. Here's what that means for layouts, typography, and control.


GLM-Image Layout Keywords Cheatsheet: Master Spatial Control in Prompts
Complete guide to layout keywords for GLM-Image: left, center, right, grid, multi-region layouts. 10+ copy-paste templates for headers, heroes, bodies, CTAs, and footers.


Prompting for Professional Menus: GLM-Image vs Ordinary Models
Creating legible, high-contrast menus for restaurants and cafes using GLM-Image's text layout capabilities.
