LiteLLMLiteLLM/ MODELS

Grok Imagine Image Pro API Pricing

By xAI · 1 providerxai/grok-imagine-image-pro

Grok Imagine Image Pro is available through LiteLLM.

Prices updated Checked

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.

Grok Imagine Image Pro prices by provider in US dollars, token prices per 1M tokens, as of October 31, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMContext
xAIxai/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.

Python SDK
from litellm import image_generation

response = image_generation(
    model="xai/grok-imagine-image-pro",
    prompt="A cute baby sea otter",
)
Call the proxy
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.