SunsetDiff

Replacement for grok-imagine-image-quality: what changes when you switch

The official replacement is grok-imagine-image-2.0. grok-imagine-image-quality shut down on 2026-11-02 per xAI's deprecation page (checked 2026-11-12). Price, context window, and max output were left blank because the official pages we checked did not publish them.

This is the canonical diff. Model page · Replacement page · xAI

grok-imagine-image-quality to grok-imagine-image-2.0

Some values not published Checked 2026-11-12.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
Input Not published Not published Not published
Output Not published Not published Not published
Cached input Not published Not published Not published
Example monthly cost Not published Not published Example only

Context and max output

Token limits
LimitOldNewChange
Context window Not published Not published Not published
Max output Not published Not published Not published

Capabilities that differ

No differing capability values are published for both models.

Endpoint changes

Code

python before
from openai import OpenAI
client = OpenAI(base_url="https://api.x.ai/v1")
response = client.images.generate(
    model="grok-imagine-image-quality",
    prompt="A lighthouse",
)
python after
from openai import OpenAI
client = OpenAI(base_url="https://api.x.ai/v1")
response = client.images.generate(
    model="grok-imagine-image-2.0",
    prompt="A lighthouse",
)
typescript before
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.x.ai/v1" });
const response = await client.images.generate({
  model: "grok-imagine-image-quality",
  prompt: "A lighthouse",
});
typescript after
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.x.ai/v1" });
const response = await client.images.generate({
  model: "grok-imagine-image-2.0",
  prompt: "A lighthouse",
});
curl before
curl -X POST https://api.x.ai/v1/images/generations \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-imagine-image-quality","prompt":"A lighthouse"}'
curl after
curl -X POST https://api.x.ai/v1/images/generations \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-imagine-image-2.0","prompt":"A lighthouse"}'

Checklist

  1. Read the shutdown date for grok-imagine-image-quality on the linked official page.
  2. Point your requests at grok-imagine-image-2.0.
  3. Re-check price, context, and parameters on the provider pages linked here.
  4. Ship the change before the published shutdown date.

Questions

What is the replacement for grok-imagine-image-quality?

The official replacement is grok-imagine-image-2.0. grok-imagine-image-quality shut down on 2026-11-02 per xAI's deprecation page (checked 2026-11-12). Price, context window, and max output were left blank because the official pages we checked did not publish them.

Is grok-imagine-image-2.0 cheaper than grok-imagine-image-quality?

A full price comparison is not published. One or both prices are missing from the official pages we checked.

Does grok-imagine-image-2.0 have a bigger context window than grok-imagine-image-quality?

Context window sizes are not both published on the official pages we checked.