Skip to content

xAI · Image

Grok Imagine Image Quality API pricing

xai/grok-imagine-image-quality

Higher-quality image generation. Grok Imagine Image Quality by xAI, routed through INFRO on a xAI account you connect — alongside every other provider you run. xAI bills you for it directly, on that account and at your own rate. INFRO adds routing, failover, request logs, cost attribution and policy around it, and takes no part of what you pay xAI.

Pricing

Per imageUSD · updated 2026-10-05

xAI rate

$0.05

per image, billed to you by xAI

INFRO adds

$0

0% markup on model spend

Calling Grok Imagine Image Quality

POST /v1/images/generations
import os
from infro import Infro

client = Infro(api_key=os.environ["INFRO_API_KEY"])

image = client.images.generate(
    model="xai/grok-imagine-image-quality",
    prompt="studio product shot, soft rim light",
    n=1,
)

What this modality supports

  • Text to image
  • Editing & inpainting
  • Upscale & restore
  • Batch requests

Text-to-image, editing, upscaling, and background removal across the leading image models. One request shape, consistent sizes and seeds, billed per image with no minimums.

Providers that serve Grok Imagine Image Quality

You request "xai/grok-imagine-image-quality" from INFRO; it sends each provider the id that provider expects. Connect your own account with any of them, and INFRO routes and fails over between the ones you connect.

ProviderModel id sent
OpenRouterx-ai/grok-imagine-image-quality
LaoZhang APIgrok-imagine-image-quality

Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.

More xAI models

All xAI models

Grok Imagine Image Quality: questions

How much does the Grok Imagine Image Quality API cost?
xAI's published list rate for Grok Imagine Image Quality is $0.05 per image (checked 2026-10-05). The provider account you connect bills you at the rate on that account, so a negotiated rate replaces the list rate. INFRO adds 0% to model spend.
Which providers serve Grok Imagine Image Quality?
In INFRO's provider registry, Grok Imagine Image Quality can be served by OpenRouter and LaoZhang API. You connect your own account with any of them, and INFRO routes and fails over between the ones you connect.
What is the Grok Imagine Image Quality model ID?
Request it from INFRO as "xai/grok-imagine-image-quality". INFRO sends each provider its own id: OpenRouter "x-ai/grok-imagine-image-quality", LaoZhang API "grok-imagine-image-quality".
How do I call Grok Imagine Image Quality through an OpenAI-compatible API?
Point an OpenAI SDK, or any HTTP client, at https://api.infro.io/v1 with an INFRO gateway key and send model "xai/grok-imagine-image-quality" to POST /v1/images/generations. INFRO runs the request on a provider account you connected and returns the provider's response with an estimated cost.
Does INFRO mark up Grok Imagine Image Quality usage?
No. xAI or the provider you connect bills model usage to your own account. INFRO charges a software subscription for routing, failover, observability, budgets and policy, and takes 0% of model spend.

Work out what Grok Imagine Image Quality would cost you

Put your monthly usage of this model into the calculator to see the provider cost on your own account and the INFRO subscription side by side, never summed.