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
$3.00 / 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.
| Provider | Provider model ID | Mode | Region | Input | Output | Context | Tools |
|---|---|---|---|---|---|---|---|
| Azure AI | grok-4 | Chat | global | $3.00 / 1M | $15.00 / 1M | 131.1K | supported |
| Oci | xai.grok-4 | Chat | global | $3.00 / 1M | $15.00 / 1M | 128K | supported |
| Replicate | xai/grok-4 | Chat | global | $7.20 / 1M | $36.00 / 1M | — | supported |
| Vercel AI Gateway | xai/grok-4 | Chat | global | $3.00 / 1M | $15.00 / 1M | 256K | supported |
| xAI | grok-4 | Chat | global | $3.00 / 1M | $15.00 / 1M | 256K | supported |