Grok API pricing. Up to 65% below list.

Grok is xAI's family of models. Grok 4.7 is xAI's newest model for coding, agentic tasks and knowledge work, with a 500K-token context window and image input. Grok Imagine makes pictures and video: Image 2.0 for text-to-image and editing up to 2K, and Video 1.5 for clips with sound effects, ambience and dialogue made in the same pass as the picture. Zurelay serves all of them on one key, through OpenAI-compatible endpoints.

Grok models
3
Makes
Chat, images and video
Below xAI's price
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="")

Pricing

Every Grok model. Live prices, one key.

Each model on Zurelay, with xAI's own price beside ours.

Grok API prices on Zurelay
ModelMakesPriceCompared withYou save
Grok 4.7grok-4.7Chat, 500K context
$0.70 / $2.10
per 1M tokens in / out
$2.00 / $6.00
xAI list
65%off
Grok Imagine Image 2.0grok-imagine-image-2.01K · 2K images
from $0.045
per image
$0.06
xAI, 1K
25%off
Grok Imagine Video 1.5grok-imagine-video-1.5480p–720p, 1 to 15 seconds
from $0.071
per second
$0.08
xAI, 480p
11%off

Prices in US dollars, live from the catalog. Chat models are compared with their lab's list price per 1M input and 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. Each model's own page has every price it charges.

Quickstart

One request. OpenAI's format.

Point the OpenAI SDK, or any OpenAI-compatible tool, at https://api.zurelay.com/v1 and use your Zurelay key. Chat, images and video run on the same key, each on the endpoint OpenAI uses for it.

Add credit from $10, with no subscription. The quickstart has the rest, and every Grok model has its own page.

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="")

Verified

The Grok you asked for. Tested before it serves.

Model capacity is often bought ahead, through prepaid credits, committed-spend contracts and volume tiers, and not all of it gets used. Sellers offer it below the usual price. Zurelay tests each route, pools several per model and sends every request to one that is available and verified.

Every image that comes back is measured against the size and aspect ratio you asked for. One at the wrong size, or an error sent as a result, counts as a failed attempt: the request moves to another route and you aren't billed for it. A video is charged only once it's delivered. How models are verified.

Live health for every model is on the status page.

FAQ

Grok API questions.

Anything else? Ask our team and we’ll answer by email.

How much does the Grok API cost?

On 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. There's no subscription or minimum spend: you add prepaid credit from $10 and pay for what you use. A video is charged only once it's delivered.

Is it the real Grok?

Yes. Each model is served over several routes run by independent sellers, and every route is tested before it serves requests and re-tested while it does. 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. If a result doesn't look right, send its x-request-id to support and we check the route that served it.

How do I start calling Grok through Zurelay?

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 and video all run on the same key.

Is there a Grok Imagine API?

Yes. Grok Imagine Image 2.0 is on POST /v1/images/generations and /v1/images/edits, and Grok Imagine Video 1.5 on POST /v1/videos, with the same key you use for Grok 4.7. A video is charged only once it's delivered.

Stop paying list price.
Start saving today.

Create a key in seconds, point the SDK you already use at Zurelay, and every request costs up to 90% less from the first token.