GLM-Image vs gpt-image-2
GLM-Image has open weights, so you can self-host and fine-tune it; gpt-image-2 is API-only.
| Spec | GLM-Image | gpt-image-2 |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | OpenAI |
| Released | Jan 14, 2026 | Apr 21, 2026 (better) |
| Type | Image generation | Image generation |
| Parameters | — | — |
| Context window | 10K | — |
| Max output | — | — |
| Input price / 1M | — | $5 |
| Output price / 1M | — | Free |
| Input modalities | text | text, image (better) |
| Open weights | Yes | No |
| License | — | Proprietary |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | 1 | 10 (better) |
About GLM-Image
GLM-Image is an open-weight image generation from Zhipu AI (Z.ai), released Jan 14, 2026. It has a 10K-token context window. Full GLM-Image specs →
About gpt-image-2
gpt-image-2 is a proprietary image generation from OpenAI, released Apr 21, 2026. It has accepts text, image input. API pricing starts at $5 per million input tokens and Free per million output tokens. It is available from 10 API providers. Full gpt-image-2 specs →
Compare other models
FAQ
Which is better, GLM-Image or gpt-image-2?
GLM-Image has open weights, so you can self-host and fine-tune it; gpt-image-2 is API-only.
Are GLM-Image and gpt-image-2 open source?
GLM-Image is open-weight; gpt-image-2 is proprietary.