LiteLLMLiteLLM/ MODELS

Grok Imagine Image Quality API Pricing

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

Grok Imagine Image Quality is available through LiteLLM.

Prices updated Checked

Grok Imagine Image Quality pricing by provider

3 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Grok Imagine Image Quality 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-quality–
xAIsnapshot 20260403xai/grok-imagine-image-quality-20260403–
xAIlatest aliasxai/grok-imagine-image-quality-latest–

Grok Imagine Image Quality features

Input: text, image. Output: image.

Use Grok Imagine Image Quality with LiteLLM

Call Grok Imagine Image Quality 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-quality",
    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-quality",
    "prompt": "A cute baby sea otter",
    "n": 1,
    "size": "1024x1024"
  }'

Grok Imagine Image Quality FAQ

When did LiteLLM add Grok Imagine Image Quality?

Grok Imagine Image Quality 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.