xAI model

Grok 4

Grok 4 is available through 5 providers and 5 concrete deployments tracked by ALLM.

xai/grok-4

textOfficial lab notation

Deployments

5

Providers

5

Max context

256K

Input from

$1.25 / 1M

Grok 4 provider comparison

Pricing and compatibility are tracked per provider deployment, because the same model can expose different features depending on where it runs.

ProviderProvider model IDModeRegionInputOutputContextTools
Azure AIgrok-4Chatglobal$3.00 / 1M$15.00 / 1M131.1Ksupported
Ocixai.grok-4Chatglobal$3.00 / 1M$15.00 / 1M128Ksupported
Replicatexai/grok-4Chatglobal$7.20 / 1M$36.00 / 1M—supported
Vercel AI Gatewayxai/grok-4Chatglobal$3.00 / 1M$15.00 / 1M256Ksupported
xAIgrok-4Chatglobal$1.25 / 1M$2.50 / 1M256Ksupported

More models from xAI