Skip to content
llmmodels

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.

SpecGLM-Imagegpt-image-2
ProviderZhipu AI (Z.ai)OpenAI
ReleasedJan 14, 2026Apr 21, 2026 (better)
TypeImage generationImage generation
Parameters——
Context window10K—
Max output——
Input price / 1M—$5
Output price / 1M—Free
Input modalitiestexttext, image (better)
Open weightsYesNo
License—Proprietary
Reasoning modeNoNo
Tool callingNoNo
API providers110 (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.