theserverless.dev InferenceList

Models / xAI

xAI: Grok Imagine Image 2.0

x-ai/grok-imagine-image-2.0

text imageContext 66K

Grok Imagine Image 2.0 is an image generation and editing model from xAI. It is suited for creating images from text prompts and editing images from references, with low and...

Price

Price$0.01

per image

Compare this model

Providers

Each row is one seller. Prices are the published rate from that source. A dash means that source did not publish the amount. Sorted by a 3:1 blend of input and output.

ProviderTagQuant InputOutput ContextUptimeStatusSource
xAI xai — $0/1M $0/1M 66K 100% Live openrouter-endpoints

Monthly bill

Token models use the token counts. Image, video, and audio models use units times the flat rate.

$10.00 at list price for this workload

Tiers

Image
$0.01 per image
Image output
$9.581 per 1M tokens
Image token
$9.581 per 1M tokens
Every rate
UnitInputOutputFlatConfidence
image Not published— Not published— $0.01/image official

Price history

xAI: Grok Imagine Image 2.0
1 0 2026-09-15: $02026-09-16: $02026-09-17: $02026-09-18: $02026-09-19: $02026-09-20: $02026-09-21: $02026-09-22: $02026-09-23: $02026-09-24: $02026-09-25: $02026-09-26: $02026-09-27: $02026-09-28: $02026-09-29: $02026-09-30: $02026-10-01: $02026-10-02: $02026-10-03: $02026-10-04: $02026-10-05: $02026-10-06: $02026-10-07: $02026-10-08: $0 2026-09-15 2026-10-08

input or flat output

xAI: Grok Imagine Image 2.0
0.015 0 2026-10-08: $0.012026-10-09: $0.012026-10-10: $0.012026-10-11: $0.012026-10-12: $0.012026-10-13: $0.012026-10-14: $0.012026-10-15: $0.012026-10-16: $0.012026-10-17: $0.012026-10-18: $0.012026-10-19: $0.012026-10-20: $0.012026-10-21: $0.012026-10-22: $0.012026-10-23: $0.012026-10-24: $0.012026-10-25: $0.012026-10-26: $0.012026-10-27: $0.012026-10-28: $0.012026-10-29: $0.012026-10-30: $0.01 2026-10-08 2026-10-30

input or flat output

Daily snapshots
UTC dateUnitInputOutputFlat
2026-09-15 token $0 $0 Not published—
2026-09-16 token $0 $0 Not published—
2026-09-17 token $0 $0 Not published—
2026-09-18 token $0 $0 Not published—
2026-09-19 token $0 $0 Not published—
2026-09-20 token $0 $0 Not published—
2026-09-21 token $0 $0 Not published—
2026-09-22 token $0 $0 Not published—
2026-09-23 token $0 $0 Not published—
2026-09-24 token $0 $0 Not published—
2026-09-25 token $0 $0 Not published—
2026-09-26 token $0 $0 Not published—
2026-09-27 token $0 $0 Not published—
2026-09-28 token $0 $0 Not published—
2026-09-29 token $0 $0 Not published—
2026-09-30 token $0 $0 Not published—
2026-10-01 token $0 $0 Not published—
2026-10-02 token $0 $0 Not published—
2026-10-03 token $0 $0 Not published—
2026-10-04 token $0 $0 Not published—
2026-10-05 token $0 $0 Not published—
2026-10-06 token $0 $0 Not published—
2026-10-07 token $0 $0 Not published—
2026-10-08 image Not published— Not published— $0.01
2026-10-08 token $0 $0 Not published—
2026-10-09 image Not published— Not published— $0.01
2026-10-10 image Not published— Not published— $0.01
2026-10-11 image Not published— Not published— $0.01
2026-10-12 image Not published— Not published— $0.01
2026-10-13 image Not published— Not published— $0.01
2026-10-14 image Not published— Not published— $0.01
2026-10-15 image Not published— Not published— $0.01
2026-10-16 image Not published— Not published— $0.01
2026-10-17 image Not published— Not published— $0.01
2026-10-18 image Not published— Not published— $0.01
2026-10-19 image Not published— Not published— $0.01
2026-10-20 image Not published— Not published— $0.01
2026-10-21 image Not published— Not published— $0.01
2026-10-22 image Not published— Not published— $0.01
2026-10-23 image Not published— Not published— $0.01
2026-10-24 image Not published— Not published— $0.01
2026-10-25 image Not published— Not published— $0.01
2026-10-26 image Not published— Not published— $0.01
2026-10-27 image Not published— Not published— $0.01
2026-10-28 image Not published— Not published— $0.01
2026-10-29 image Not published— Not published— $0.01
2026-10-30 image Not published— Not published— $0.01

Alternatives

Parameters (7)
logprobsmax_tokensresponse_formatseedtemperaturetop_logprobstop_p
Call this model

OpenRouter id x-ai/grok-imagine-image-2.0. InferenceList does not send the request.

curl
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"x-ai/grok-imagine-image-2.0","messages":[{"role":"user","content":"Hello"}]}'

JavaScript
await fetch("https://openrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.OPENROUTER_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "x-ai/grok-imagine-image-2.0",
    messages: [{ role: "user", content: "Hello" }],
  }),
});

Python
import os, json, urllib.request
req = urllib.request.Request(
    "https://openrouter.ai/api/v1/chat/completions",
    data=json.dumps({"model": "x-ai/grok-imagine-image-2.0", "messages": [{"role": "user", "content": "Hello"}]}).encode(),
    headers={"Authorization": "Bearer " + os.environ["OPENROUTER_API_KEY"], "Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())

JSON · History JSON