Grok API 价格。 最多 65% below list. 个

Grok 是 xAI 的模型系列。Grok 4.7 是 xAI 面向编程、智能体任务和知识工作的最新模型,拥有 500K token 上下文窗口,支持图像输入。Grok Imagine 用于生成图像和视频:Image 2.0 支持最高 2K 的文生图和图像编辑,Video 1.5 可在生成视频画面的同时生成音效、环境音和对白。通过 Zurelay,只需一个密钥,即可通过兼容 OpenAI 的端点调用所有这些模型。

Grok 模型
3
生成内容
Chat, images and 个视频模型
低于 xAI 官方价格
11–65%
chat.py
from openai import OpenAI
client = OpenAI(
base_url="https://api.zurelay.com/v1",
api_key="YOUR_ZURELAY_KEY",
)
stream = client.chat.completions.create(
model="grok-4.7",
messages=[{"role": "user", "content": "Explain quicksort in two sentences."}],
stream=True,
)
for chunk in stream:
if chunk.choices:
print(chunk.choices[0].delta.content or "", end="")

价格

所有 Grok 模型。 实时价格,一个 API key。

Zurelay 上的各款模型,与 xAI's 的官方价格并排对比。

Zurelay 上的 Grok API 价格
模型生成内容价格对比价格节省金额
Grok 4.7grok-4.7对话,500K 上下文
$0.70 / $2.10
每 1M token 输入 / 输出
$2.00 / $6.00
xAI 原价
65%优惠
Grok Imagine Image 2.0grok-imagine-image-2.01K · 2K 图像
$0.045 起
每张图片
$0.06
xAI, 1K
25%优惠
Grok Imagine Video 1.5grok-imagine-video-1.5480p–720p, 1 to 15 秒
$0.071 起
每秒
$0.08
xAI, 480p
11%优惠

价格以美元计,实时取自模型目录。Chat models are compared with their lab's list price per 1M input 和 output tokens. Images are compared with the lab's own price per image at the smallest size. Video is compared with the lab's own price per second at the resolution shown. 各模型页面列有完整的计费价格。

快速开始

一次请求。 OpenAI 格式。

将 OpenAI SDK 或任何兼容 OpenAI 的工具指向 https://api.zurelay.com/v1, 并使用你的 Zurelay key. Chat, images and 个视频模型 共用同一个 key, 各自使用 OpenAI 对应的端点。

$10 起充值,无需订阅。其余步骤详见快速入门, 每个 Grok 模型都有独立页面。

chat.py
from openai import OpenAI
client = OpenAI(
base_url="https://api.zurelay.com/v1",
api_key="YOUR_ZURELAY_KEY",
)
stream = client.chat.completions.create(
model="grok-4.7",
messages=[{"role": "user", "content": "Explain quicksort in two sentences."}],
stream=True,
)
for chunk in stream:
if chunk.choices:
print(chunk.choices[0].delta.content or "", end="")

已验证

你指定的 Grok。 先测试,再提供服务。

模型用量通常通过预付额度、消费承诺合约和阶梯批量定价提前购买,但未必全部用完。卖家会以低于常规价格的价格出售剩余用量。Zurelay 会测试每条接入渠道,为每款模型汇集多条渠道,并将每次请求发送到可用且已通过验证的渠道。

每张返回的图片都会按你指定的尺寸和宽高比进行检查。尺寸不符,或将错误信息作为结果返回,都算作一次失败尝试:请求会转至其他渠道,失败尝试不计费。 视频交付后才收费。 模型如何验证.

各模型的实时运行状况可在状态页查看。

常见问题

Grok API 常见问题。

还有其他问题?联系我们的团队,我们会通过邮件回复。

Grok API 如何收费?

Zurelay 价格: Grok 4.7 $0.70 / $2.10 per 1M tokens; Grok Imagine Image 2.0 from $0.045 per image; Grok Imagine Video 1.5 from $0.071 per second. That's 11–65% below xAI's own price. 无需订阅,无最低消费: $10 起充值,按量付费. A video is charged only once it's delivered.

这是原版 Grok 吗?

是的。每个模型均通过独立卖家运营的多条线路提供服务,每条线路在处理请求前都会经过测试,服务期间也会持续复测. Images are measured against the size and aspect ratio you asked for, and one at the wrong size counts as a failed attempt you aren't billed for. A video that fails costs nothing. 如果结果看起来不对,请将对应的 x-request-id 发给客服,我们会检查处理该请求的线路。

如何通过 Zurelay 开始调用Grok?

Create a key, then point the OpenAI SDK, or any OpenAI-compatible tool, at https://api.zurelay.com/v1 with a model ID such as grok-4.7. Chat, images 和 video all run on the same key.

有 Grok Imagine API 吗?

有。Grok Imagine Image 2.0 可通过 POST /v1/images/generations 和 /v1/images/edits 调用,Grok Imagine Video 1.5 可通过 POST /v1/videos 调用,使用与 Grok 4.7 相同的密钥。视频仅在交付后计费。

告别原价.
今天就开始省钱.

几秒钟即可创建密钥,将你正在使用的 SDK 指向 Zurelay,从第一个 token 起,每次请求的费用最高可省 90%。