Skip to content
Pricing

Grok Imagine API Pricing: Video and Image

Grok Imagine API pricing: video per second at each resolution, the start image fee, Grok Imagine 2.0 images per picture, and paying only for what succeeds.

Updated 5 min read

Grok Imagine API pricing comes in two units. Video on Grok Imagine is billed per second: on Frameport, $0.093 at 480p, $0.165 at 720p and $0.29 at 1080p. Images on Grok Imagine 2.0 are billed per picture, $0.088 each. Both draw on one prepaid balance, and only what succeeds is charged.

Both models come from xAI. This page prices clip lengths and image batches, explains the one fee that sits on top of the per-second rate, the start image, and shows how to read the live prices and quote either kind of request before you spend.

Grok Imagine API pricing for video, per second

A clip costs the rate of its resolution times its length, any whole number of seconds from 1 to 15:

ResolutionPer second5 s clip10 s clipA minute of footage
480p$0.093$0.465$0.93$5.58
720p$0.165$0.825$1.65$9.90
1080p$0.29$1.45$2.90$17.40

A request with no resolution renders at 720p, and one with no duration runs 5 seconds. There is no plan: you top up a balance in dollars, from $10, and pricing explains how each request holds its price.

What moves the Grok Imagine price: resolution, length, a start image

  • Resolution. The top tier, 1080p, costs $0.29 per second, against $0.093 at 480p.
  • Length. One-second steps, so a clip costs exactly the seconds it needs.
  • A start image. One picture in reference_images becomes the first frame and adds a fixed fee to the clip, listed in the model's pricing.per_frame_image. It takes one picture at most, no last frame and no reference pictures.
  • Aspect ratio. 16:9, 9:16, 1:1, 4:3 and 3:4, all at the same rate.
  • Sound. It plays no part in the price: the audio field changes nothing on the bill.

Read the live prices, start image fee included

GET /v1/models/grok-imagine and GET /v1/models/grok-imagine-2-0 need no key. The video model lists pricing.per_second by resolution and pricing.per_frame_image; the image model lists pricing.per_image and options.max_images. Because the start image fee is fixed, it is a large share of a very short clip and a small share of a long one. This script prints that share at a few lengths, from the live prices:

What a start image adds to a Grok Imagine clip
import requests

API = "https://frameport.ai/v1"
pricing = requests.get(f"{API}/models/grok-imagine").json()["pricing"]
rate = pricing["per_second"]["720p"]
fee = pricing.get("per_frame_image", 0)

for seconds in (1, 3, 6, 15):
    clip = rate * seconds
    share = fee / (clip + fee)
    print(f"{seconds:>2} s at 720p: {clip:.3f} USD, start image +{fee:.3f} USD ({share:.0%} of the total)")

A start image is worth its fee when it saves retakes: a composition that would take several prompt-only attempts to land costs one fee and one clip instead. The frame can come from Grok Imagine 2.0 itself: pass the image's file_… id as the first frame, with no download in between. The image to video API guide compares the models that start from a picture.

Grok Imagine 2.0 images: priced per picture

Grok Imagine 2.0 makes images from a prompt alone, up to 4 per request with n, in 1:1, 3:4, 4:3, 9:16 and 16:9. Every image costs the same, whatever its shape:

ImagesPrice
1$0.088
4$0.352
100$8.80

A hundred images take several requests of up to 4. Each image in a batch settles on its own: ask for four, get three, and you pay $0.264, with the missing image's share of the hold back on your balance. Making the still and then the clip adds up to $0.088 for the image, the start image fee, and $0.825 for a 5-second clip at 720p.

Get the exact Grok Imagine price before you run

POST /v1/generations/quote takes the body you would send, video or image, and returns the price, the hold and whether your balance covers it. It starts nothing, and the prompt may be left out. Here, a 10-second clip at 1080p:

curl https://frameport.ai/v1/generations/quote \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-imagine", "duration": 10, "resolution": "1080p"}'
200 OK
{
  "object": "quote",
  "model": "grok-imagine",
  "type": "video",
  "mode": "generate",
  "price_usd": 2.9,
  "reserved_usd": 2.9,
  "breakdown": "10 s at 1080p × $0.29/s",
  "available_usd": 42.5,
  "enough_balance": true
}

With a start image in the body, price_usd grows by the fee and the breakdown ends in + 1 image × and the fee. An image request quotes the same way, from its own body, {"model": "grok-imagine-2-0", "n": 4}:

200 OK
{
  "object": "quote",
  "model": "grok-imagine-2-0",
  "type": "image",
  "mode": "generate",
  "price_usd": 0.352,
  "reserved_usd": 0.352,
  "breakdown": "4 images × $0.088",
  "available_usd": 42.5,
  "enough_balance": true
}

The quoted price is what the submit holds. A request built from user input can carry max_cost_usd, and is refused before a hold if it would cost more (quotes and spending caps).

What you pay when a Grok Imagine job fails

A clip that fails or times out costs nothing, start image fee included: the hold returns, the generation shows status: "failed" with the reason in error, and cost_usd is 0. An image batch pays only for the images delivered. Prompts on both models go through xAI's content policy; a refusal before the start answers 400 content_policy with nothing held, and one during the run ends the job as failed, at no cost.

Ways to spend less on Grok Imagine

  • Test in one-second steps at 480p. A one-second clip costs $0.093, enough to see whether the motion reads.
  • Settle the look on stills first. Four Grok Imagine 2.0 images cost $0.352; animate the one you keep.
  • Use the start image where it saves retakes, not on every draft.
  • Expect a new take every time. There is no seed, so a short draft you like cannot be stretched as it is: keep its prompt and start image, and budget for a few takes at full length.
  • Send an Idempotency-Key with each submit: if your code retries after a timeout, it gets the first generation back rather than a second bill.

The Grok Imagine API guide covers a first request and short-form prompting. In the Studio, the price of each setting shows before you generate.

The image model has a guide of its own: the Grok Imagine 2.0 API.

FAQ

How much does Grok Imagine cost per video?

It depends on length and resolution: a 5-second clip costs $0.465 at 480p and $0.825 at 720p, and a 15-second clip at 1080p costs $4.35. A start image adds a fixed fee.

How much does a Grok Imagine 2.0 image cost?

$0.088 per image, so a full request of four costs $0.352. Only the images delivered are charged.

Does a start image cost extra on Grok Imagine?

Yes, a fixed fee per clip. It is listed on the model page and in pricing.per_frame_image, and a quote's breakdown shows it.

Does Grok Imagine cost money through the API?

Yes. Each clip and image is paid from a prepaid balance, topped up from $10. Creating an account and a key, listing the models and quoting requests cost nothing, and a job that fails is not charged.

Is there a Grok Imagine pricing plan?

Not here. There is no plan, no seat and no monthly fee: you pay per second of video and per image, and nothing renews unless you turn on automatic top-up. The Grok Imagine 2.0 model page lists its options.

Start building.

Your API key is free. Top up from $10 when you are ready.