Grok Imagine Image Quality API Pricing
xai/grok-imagine-image-qualityGrok Imagine Image Quality is available through LiteLLM.
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.
| Provider | Model name in LiteLLM | Context |
|---|---|---|
| xAI | xai/grok-imagine-image-quality | – |
| xAIsnapshot 20260403 | xai/grok-imagine-image-quality-20260403 | – |
| xAIlatest alias | xai/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.
from litellm import image_generation
response = image_generation(
model="xai/grok-imagine-image-quality",
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-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.