Model specifications
- Context
- 65,536 tokens
- Maximum output
- 58,982 tokens
- Architecture
- text+image->image
- Tokenizer
- Grok
- Knowledge cutoff
- Not provided
- Moderated
- No
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Image output
- $0.04 per image
- low/1K$0.04
- low/2K$0.06
- medium/1K$0.06
- medium/2K$0.08
- Image input
- $0.01 per image
Quick start
Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.
curl --fail-with-body https://openrouter.ai/api/v1/images \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"x-ai/grok-imagine-image-2.0","prompt":"A sunlit mountain landscape"}'Input → Output
Supported API parameters
logprobsmax_tokensresponse_formatseedtemperaturetop_logprobstop_p1 Provider
Checked: September 7, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
xAI
Not provided- Context
- 66K
- Maximum output
- 59K