Z.ai: CogView-4
zai/cogview-4
Z.ai CogView-4 API pricing
在Oxyy上,CogView-4花费$0.004每张图片。 这是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $0.010). 它根据文本 prompt 生成图片。 它是 Oxyy 上价格最低的 Z.ai image 模型; 查看所有模型与费率的 GLM API 定价.
Z.ai's CogView image generation model.
模态文本图片
供应商
此模型的运行位置以及每个路由的费用。请求会自动发送到健康的提供商;如果某个提供商出错,网关会自动重试提供相同模型的另一个提供商。
| 提供方 | 价格 | 单位 |
|---|---|---|
| Z.ai | $0.004 | 每张图片 |
定价
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
价格
$0.004
每张图片 · standard price $0.010
当前折扣
60%
所有费率优惠
| 费率 | 标准价格 | 已扣费 | 单位 |
|---|---|---|---|
| 每张图片 | $0.010 | $0.004 | 每张图片 |
折扣。 收费费率已包含所有费率的当前 "Launch Promo" 60% 折扣。
规格
- Model ID
cogview-4- 开发者
- Z.ai
- 类型
- 图片生成
- 输入
- 文本
- 输出
- 图片
- 系列
- CogView
- 端点
/v1/images/generations
最适合
图片生成文生图Open weightsLow cost
快速入门
调用 cogview-4 通过 POST 请求发送至 /v1/images/generations 开启 https://api.oxyy.ai,使用来自的 Oxyy API key OXYY_API_KEY 环境变量。 同一密钥适用于目录中的所有模型。
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.images.generate(
model="cogview-4",
prompt="A lighthouse on a cliff at sunset, watercolor",
n=1,
size="1024x1024",
)
print(response.data[0].url)可用性
过去一段时间内成功完成的该模型请求占比 30 天。 调用方取消的请求以及仍在处理中的请求不计入统计。 当上游供应商出错时,网关会自动重试提供同一模型的其他供应商,因此单个供应商的故障不一定会在此处显示。
请求数 (30 天)
24
成功率基于 100 个已完成的请求
有流量的天数
12
在过去的 30 天内
常见问题
什么是 CogView-4?
Z.ai's CogView image generation model.
CogView-4 的价格是多少?
在Oxyy上,CogView-4花费$0.004每张图片。 这是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $0.010). 按请求付费,无需订阅。
我可以向 CogView-4 发送什么?
CogView-4接收一条文本prompt并返回images。
CogView-4 使用哪个 API 终端节点?
向 https://api.oxyy.ai/v1/images/generations 发送带有 "model": "cogview-4" 的 POST 请求,并使用你的 Oxyy API key 进行身份验证。 It is also served on /v1/images/edits, /v1/images/variations, /v1/chat/completions and /v1/responses (Responses API).
Z.ai 还有哪些其他模型?
Z.ai 还通过 Oxyy 提供 GLM-Image, CogVideoX-3, GLM-4.7-Flash and GLM-5。
替代方案: CogView-4
其他供应商提供的同类模型,按价格从低到高排序。在 Oxyy 上按需付费,使用相同的 API Key。
Meta: Muse Image 1.0Meta's agentic image generation and editing model. Reasons through prompts, can run built-in web and image search durin…image generation · $0.004 per imagexAI: Grok Imagine ImagexAI's low-cost image generation and editing model, flat-priced across resolutions.image generation · $0.008 per imageBlack Forest Labs: FLUX.2 [klein] 4BFastest, cheapest FLUX.2 model for real-time and high-volume text-to-image and multi-reference editing.image generation · $0.0056 per megapixelGoogle: Nano Banana 2High-efficiency production-scale image generation and editing, balancing speed with 4K generation, world knowledge and…image generation · $0.200 / $24.00 per 1M tokens
探索更多模型
更多来自以下机构的模型 Z.ai
GLM-ImageText-to-image generation model, described by Z.ai as achieving open-source state of the art in complex scenarios.image generation · $0.006 per imageCogVideoX-3Z.ai's video generation model.text to video · $0.080 per generationGLM-4.7-FlashFree tier text model from the GLM-4.7 generation.text · FreeGLM-5Z.ai's new-generation flagship foundation model for agentic engineering, targeting complex system engineering and long-…text · 200K context · $0.400 / $1.28 per 1M tokensGLM-5.2Long-context reasoning and coding model. The GLM release that expanded the context window from 200K to 1M tokens.text · 1.05M context · $0.560 / $1.76 per 1M tokensGLM-5.3Z.ai's flagship model for complex software engineering and long-horizon agent tasks. Uses the same base model as GLM-5.…text · 1.05M context · $0.560 / $1.76 per 1M tokens

