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.

Providers that serve CogView-4

None of the provider kinds INFRO connects serves CogView-4 in production today.

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

More Z.ai models

All Z.ai models

CogView-4: questions

How much does the CogView-4 API cost?
Z.ai's published list rate for CogView-4 is $0.01 per image (checked 2026-10-05). The provider account you connect bills you at the rate on that account, so a negotiated rate replaces the list rate. INFRO adds 0% to model spend.
Which providers serve CogView-4?
None of the provider kinds INFRO connects serves CogView-4 in production today.
What is the CogView-4 model ID?
Request it from INFRO as "zai/cogview-4".
How do I call CogView-4 through an OpenAI-compatible API?
Point an OpenAI SDK, or any HTTP client, at https://api.infro.io/v1 with an INFRO gateway key and send model "zai/cogview-4" to POST /v1/images/generations. INFRO runs the request on a provider account you connected and returns the provider's response with an estimated cost.
Does INFRO mark up CogView-4 usage?
No. Z.ai or the provider you connect bills model usage to your own account. INFRO charges a software subscription for routing, failover, observability, budgets and policy, and takes 0% of model spend.

Work out what CogView-4 would cost you

Put your monthly usage of this model into the calculator to see the provider cost on your own account and the INFRO subscription side by side, never summed.