All models

x-ai/grok-4.2

Latest Grok flagship with real-time knowledge hooks.

TextImageReasoningAgents & toolsMarketingreasoningtools

Specifications

Context window
256K
Max output tokens
32,768
Released
2026-05
Infra providers
3
Throughput
94 tok/s
Latency (TTFB, sample)
760 ms
Capabilities
Supports tools

Pricing

per million tokens

Input
$3.00
Output
$15.00
Blended (3:1)
$6.00

Use this model

Works with any OpenAI SDK — same request shape, different model id.

curl https://api.lokarouter.id/v1/chat/completions \  -H "Authorization: Bearer sk-lkr-your-key" \  -H "Content-Type: application/json" \  -d '{    "model": "x-ai/grok-4.2",    "messages": [{ "role": "user", "content": "Hello" }]  }'

Sample data for demonstration — connect your workspace for live stats.