xAI

Grok Imagine

Grok Imagine is xAI's image generation model. It reads images.

Vision input

Output price

$0.0164

USD / image

18% below list price

Add $5, get $5 more on your first top-up.

Same Grok Imagine. 18% less.

Price
USD / image, next to xAI's list price.
TokensList pricePromptsForLess
Output$0.02$0.0164
Your monthly bill
Enter your monthly usage to see the difference.
At list price$2.00
With PromptsForLess$1.64

That's $0.36 saved every month.

USD, before tax and prompt caching.

Specs.

Model ID
grok-imagine
Made by
xAI
Context window
Varies
Max output
Varies
Endpoint
/v1/images/generations
Billing
Per image, from one balance
Built for
  • Creative generation. Generate images from text prompts through the same API key and balance as your text models.

Edge gateways

Requests enter at the gateway nearest your app and go straight to the model, so routing adds very little to each call.

One key, every model

Switch models by changing a string. One prepaid balance covers all of them, billed per token.

Nothing stored

We keep token counts for billing, never your prompts or responses.

Call Grok Imagine in a minute.

Use the model ID grok-imagine with the same API key and balance as your text models.

Read the quickstart

More from xAI.

Questions.

How much does Grok Imagine cost?

$0.0164 / image output, 18% below xAI's list price. You pay per token from a prepaid balance, with no subscription or minimum. We match your first $5 top-up, so you start with $10 of credit.

Is it the real Grok Imagine?

Yes. Your requests run on xAI's Grok Imagine, not a distilled copy or a substitute. The discount comes from how we buy capacity, not from changing the model.

Which tools can use Grok Imagine?

Call Grok Imagine through the PromptsForLess API with the model ID grok-imagine, using the same key and balance as your text models.

How fast is it?

Requests go through our edge gateways, so the network hop adds very little on top of Grok Imagine's own generation time. Responses stream back token by token.