Semua model

x-ai/grok-4.2

Latest Grok flagship with real-time knowledge hooks.

TeksGambarPenalaranAgent & toolsMarketingreasoningtools

Spesifikasi

Context window
256K
Maks token output
32.768
Dirilis
2026-05
Provider infra
3
Throughput
94 tok/s
Latensi (TTFB, contoh)
760 ms
Kapabilitas
Dukungan tools

Harga

per juta token

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

Gunakan model ini

Bekerja dengan SDK OpenAI apa pun — bentuk request sama, cukup ganti 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" }]  }'

Data contoh untuk demonstrasi — hubungkan workspace Anda untuk statistik langsung.