Moduck

Zhipu AI: GLM-Image

GLM-Image is an image generation model adopts a hybrid autoregressive + diffusion decoder architecture. In general image generation quality, GLM‑Image aligns with mainstream latent diffusion approaches, but it shows significant advantages in text-rendering and knowledge‑intensive generation scenarios. It performs especially well in tasks requiring precise semantic understanding and complex information expression, while maintaining strong capabilities in high‑fidelity and fine‑grained detail generation. In addition to text‑to‑image generation, GLM‑Image also supports a rich set of image‑to‑image tasks including image editing, style transfer, identity‑preserving generation, and multi‑subject consistency.

Model lab
Zhipu AI
Model family
—

Model resources

Modalitiestext, image → image
Context window10,240
Maximum output—

Quickstart

Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to zhipuai/glm-image.

import os
import requests

base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "zhipuai/glm-image"

response = requests.post(
    f"{base_url}/chat/completions",
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    json={
        "model": model_id,
        "messages": [{"role": "user", "content": "Hello!"}],
        "stream": False,
    },
    timeout=60,
)
response.raise_for_status()
print(response.json())

Use the familiar OpenAI-style chat request format to make model integration easier.

GLM-Image API Pricing

Price currently unavailable

Performance

Measured on the Moduck gateway across live traffic, hour by hour over the last 24 hours. Time to first token is how long before anything appears; throughput is how fast the answer is written after that; end-to-end latency is the whole round trip. Figures are medians unless the card says otherwise.

Performance trends

Image throughput5.9 images/minCurrent
Queue wait0.7 sCurrent
Completion time12.1 sCurrent
Image throughput
Current5.9 images/min
Window average5.9 images/min
Queue wait
Current0.7 s
Window average0.7 s
Completion time
Current12.1 s
Window average12.0 s
Tail completion time (P99)
Current23.2 s
Window average26.6 s
Retry rate
Current1.5%
Window average1.0%
Error rate
Current0.0%
Window average0.1%

Availability

Uptime is the share of time at least one provider serving this model responded. Availability is stricter: the share of requests actually served. A provider that answers but fails part of the traffic lowers availability without lowering uptime. Both cover the last three days.

Uptime100%At least one provider responded
Availability100%Requests actually served
Error rate0%Share of failed requests
Served requests, hour by hour
24 hours agoNow

GLM-Image Compare models

ModelInput priceOutput priceContext windowCapabilities
GLM-ImageThis pagePrice currently unavailablePrice currently unavailable10,240Image output
GPT Image 2.5 FlareUSD 4 / 1M tokensUSD 24 / 1M tokens—Image output
GPT Image 2.5 SunburstUSD 4 / 1M tokensUSD 24 / 1M tokens—Image output
Grok Imagine Image 2.0—USD 0.0416 / generation · Quality low · Resolution 1k8,000Image output
GPT-Image-2USD 4 / 1M tokensUSD 24 / 1M tokens—Image output

Model specifications

Input
text, image
Output
image
Context window
10,240
Maximum output
—
Release date
2026-01-19
Attachments
Yes
Reasoning
No
Tool calling
No
Temperature setting
No
Open weights
Yes

Frequently asked questions

What is GLM-Image for?

GLM-Image is an image generation model adopts a hybrid autoregressive + diffusion decoder architecture. In general image generation quality, GLM‑Image aligns with mainstream latent diffusion approaches, but it shows significant advantages in text-rendering and knowledge‑intensive generation scenarios. It performs especially well in tasks requiring precise semantic understanding and complex information expression, while maintaining strong capabilities in high‑fidelity and fine‑grained detail generation. In addition to text‑to‑image generation, GLM‑Image also supports a rich set of image‑to‑image tasks including image editing, style transfer, identity‑preserving generation, and multi‑subject consistency.

What inputs and outputs does GLM-Image support?

Recorded inputs: text, images; outputs: images.

How is GLM-Image priced?

This page does not list a price for this model yet.

What specifications are recorded for GLM-Image?

Current model records list Context window 10,240 tokens.

What model parameter does the Quickstart use?

The example uses zhipuai/glm-image. This value comes from the page identifier and is not confirmed as a callable Moduck public ID.

Can I call this model through the Moduck API now?

This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.