AI image API · Z.ai
Glm Image API pricing per image
Generate images with Z.ai's Glm Image through the Cut.Pro API. You see the price before you generate and pay only for what you use.
- Pay as you go, no subscription
- 15 free credits on a new account
- Free quote before every call
From$0.31per imageR$1.04 · 18 credits10 images: $3.12Updated November 07, 2026
Pricing
Glm Image pricing by mode and resolution
| Mode | Resolution | Price per image | In reais | Credits |
|---|---|---|---|---|
| Text only | 1080p | $0.31 | R$1.04 | 18 credits |
| With references | 1080p | $0.31 | R$1.04 | 18 credits |
Updated November 07, 2026. Prices use the cheapest credit pack: 1 credit costs $0.0179 (R$0.0599).
Limits
What Glm Image accepts in each request
- Modes
- Text only and With references
- Resolutions
- 1080p
- Reference images
- up to 3
Code
How to call Glm Image free quote, generation and result
BODY='{"model":"zai/glm-image","prompt":"product photo of a white sneaker on a studio background"}'
CREDITS=$(curl -s -X POST https://api.cut.pro/api/v1/generations/quote \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d "$BODY" | jq .credits)
curl -X POST "https://api.cut.pro/api/v1/generations?wait=60" \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d "$(jq -c --argjson credits "$CREDITS" '. + {credits: $credits}' <<< "$BODY")"const api = "https://api.cut.pro/api/v1";
const headers = { "X-Api-Key": process.env.CUTPRO_API_KEY, "Content-Type": "application/json" };
const body = {
model: "zai/glm-image",
prompt: "product photo of a white sneaker on a studio background",
};
const quote = await fetch(`${api}/generations/quote`, { method: "POST", headers, body: JSON.stringify(body) }).then((res) => res.json());
let generation = await fetch(`${api}/generations?wait=60`, {
method: "POST",
headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({ ...body, credits: quote.credits }),
}).then((res) => res.json());
while (generation.status === "processing") {
generation = await fetch(`${api}/generations/${generation.id}?wait=60`, { headers }).then((res) => res.json());
}
console.log(generation.output?.url ?? generation.error_code);import os, uuid, requests
API = "https://api.cut.pro/api/v1"
headers = {"X-Api-Key": os.environ["CUTPRO_API_KEY"]}
body = {
"model": "zai/glm-image",
"prompt": "product photo of a white sneaker on a studio background",
}
quote = requests.post(f"{API}/generations/quote", json=body, headers=headers).json()
generation = requests.post(
f"{API}/generations",
params={"wait": 60},
json={**body, "credits": quote["credits"]},
headers={**headers, "Idempotency-Key": str(uuid.uuid4())},
).json()
while generation["status"] == "processing":
generation = requests.get(f"{API}/generations/{generation['id']}", params={"wait": 60}, headers=headers).json()
print(generation["output"]["url"] if generation["status"] == "ready" else generation["error_code"])Read the docsQuestions
API questions before your first call
- At 1080p, each image costs $0.31 and 10 images come to $3.12 (R$10.44, 175 credits).
- Create an account, make a key and send the request to the quote, which charges nothing. The smallest Glm Image generation costs 18 credits, more than the 15 free ones: use those to try a cheaper model from the catalog.
- Text only: the prompt describes everything. With references: up to 3 images guide the character, product or style.
- No. Buy a credit pack by card, or in reais with Pix from Brazil, and spend it on Glm Image and every other model with the same key.
- No. The Cut.Pro key calls Glm Image without a Z.ai account, with one balance for every model in the catalog.
- Yes. With a CPF or CNPJ and full address in your billing details, the nota fiscal is issued after each payment is confirmed.
Still missing one? Help center
Compare
Other models of the same kind
- Z Image TurboZ.ai · from $0.013 per imageSee price
- Nano Banana ProGoogle · from $0.36 per imageSee price
- Nano Banana 2Google · from $0.11 per imageSee price
- Seedream 5.0 ProByteDance · from $0.0936 per imageSee price
- Nano Banana 2.1Google · from $0.0682 per imageSee price
- GPT Image 2.5OpenAI · from $0.0986 per imageSee price
Generate with Glm Image today
Create a key, get a free quote and pay only for what you generate.
Create API key