Skip to content

Z.ai · Image

CogView-4 API pricing

zai/cogview-4

Image generation. CogView-4 by Z.ai, routed through INFRO on a Z.ai account you connect — alongside every other provider you run. Z.ai bills you for it directly, on that account and at your own rate. INFRO adds routing, failover, request logs, cost attribution and policy around it, and takes no part of what you pay Z.ai.

Pricing

Per imageUSD · updated 2026-10-05

Z.ai rate

$0.01

per image, billed to you by Z.ai

INFRO adds

$0

0% markup on model spend

Calling CogView-4

POST /v1/images/generations
import os
from infro import Infro

client = Infro(api_key=os.environ["INFRO_API_KEY"])

image = client.images.generate(
    model="zai/cogview-4",
    prompt="studio product shot, soft rim light",
    n=1,
)

What this modality supports

  • Text to image
  • Editing & inpainting
  • Upscale & restore
  • Batch requests

Text-to-image, editing, upscaling, and background removal across the leading image models. One request shape, consistent sizes and seeds, billed per image with no minimums.

Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.

Work out what CogView-4 would cost you

Put your current spend on this model into the calculator and see the same workload priced here — or have us read your real usage.