X.ai
Latency—
Throughput—
Upload rate—
Context length—
Max output—
Input price$0.15per request
Output price—per request
Cache read—per request
Cache write—per request
/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.
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.
All requests must include the Authorization: Bearer <TOKEN> header.
RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.