Models
Enterprise
Subscribe
Resource
Documentation
Console

x.ai/grok-4-2-image

Grok.Color

X.ai: grok-4-2-image

Grok-4.2-Image: xAI's advanced multimodal vision model (Feb 2026). Known for its rapid iterative learning capabilities, it delivers flawless in-image text rendering and hyper-realistic human synthesis for high-end digital asset creation.

Modetext → text
Input price$0.15 per M tokens
Output price
Context length
Weekly usage0 tokens
Listed at

X.ai

Latency
Throughput
Upload rate
Context length
Max output
Input price$0.15per request
Output priceper request
Cache readper request
Cache writeper request

Performance

Avg TPS
Avg latency
Avg success rate
TPS
TTFT
Latency
Success rate

Success rate

Speed

Code Example

curl ${API_BASE_URL}/v1/chat/completions \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4-2-image",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

All requests must include the Authorization: Bearer <TOKEN> header.

Endpoint Path

POST
openai

Supported Parameters

ParameterTypeDefaultDescription

Rate Limits

GroupRPMTPMRPD

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.

Pricing

GroupBilling typePrice summary