[ xai ]

Grok Imagine Image 2.0

Billed at the provider's list price, with no markup. Priced in USD per image, paid in USDF, with no subscription and no minimum.

grok-imagine-image-2.0·Unavailable·image·Max output pixels: 3,686,400 pixels

No route to this model is enabled right now. Requests for it are refused with the error code model_unavailable before any balance is held, so nothing is charged. The listed prices apply once a route is enabled.

Output

$0.04

USD per image

Max output pixels

3,686,400

pixels

Model ID
grok-imagine-image-2.0
Modality
image
Unit
USD per image
Status
Unavailable
Last verified
—
Endpoints
/v1/images/generations
Max output pixels
3,686,400 pixels
Images per request
4 images
Pricing basis
List price
Cache write (5 min)
—
Cache write (1 h)
—
Routes enabled
0 of 1
Price sheet
2026-10-09.1

Routes

ProviderEnabledUpstream inputUpstream output
xaiNo$0.00USD per image$0.04USD per image

Make your first request

Responses include a receipt with the exact cost.

No account: send the same request to /x402/v1/images/generations without credentials and the gateway answers 402 with the quote. Pay per request.

This model has no enabled route right now, so the request below is refused with model_unavailable until a route is enabled. Nothing is charged for a refused request.

curl https://api.usdf.fi/v1/images/generations \
  -H "Authorization: Bearer $FOUNDRY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-imagine-image-2.0", "prompt": "A lighthouse at dusk", "n": 1, "size": "1024x1024"}'