Grok Imagine Image Pro API Pricing
xai/grok-imagine-image-proGrok Imagine Image Pro is available through LiteLLM.
Grok Imagine Image Pro pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Context |
|---|---|---|
| xAI | xai/grok-imagine-image-pro | – |
Grok Imagine Image Pro features
Input: text, image. Output: image.
Use Grok Imagine Image Pro with LiteLLM
Call Grok Imagine Image Pro through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/images/generations. LiteLLM tracks the cost of every request at these prices.
from litellm import image_generation
response = image_generation(
model="xai/grok-imagine-image-pro",
prompt="A cute baby sea otter",
)curl http://0.0.0.0:4000/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "grok-imagine-image-pro",
"prompt": "A cute baby sea otter",
"n": 1,
"size": "1024x1024"
}'Grok Imagine Image Pro FAQ
When did LiteLLM add Grok Imagine Image Pro?
Grok Imagine Image Pro was added to LiteLLM's model price file on August 28, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
LiteLLM docs: xAI.
Provider pages: xAI.