Grok 4 is
xAI's language model with a 2.0M context window, available from 6 providers, starting at $3.00 / 1M input and $15.00 / 1M output. xAI's fourth-generation flagship multimodal LLM combining vision, reasoning, and agentic tool-calling with a large context window for enterprise use cases.
41.5#20 |
40.5#13 |
92.7#6 |
0.9#6 |
0.9#8 |
0.2#16 |
0.8#11 |
0.9#1 |
0.5#49 |
22.28s#335 |
0.4#12 |
1.0#3 |
0.9#6 |
0.6#40 |
0.4#14 |
0.7#52 |
58.1#130 |
Capabilities
Input2/5
✓
✓
·
·
·
Output1/5
✓
·
·
·
·
Capabilities4/13
✓
·
✓
·
✓
·
✓
·
·
·
·
·
·
Pricing by Provider
| Provider | Standard | Batch | ||||
|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
Azure AI Foundry | $3.00 | $15.00 | N/A | — | — | — |
OpenRouter | $3.00 | $15.00 | $0.750 | — | — | — |
Oracle Cloud (OCI) | $3.00 | $15.00 | N/A | — | — | — |
Vercel AI Gateway | $3.00 | $15.00 | $0.750 | — | — | — |
xAI | $3.00 | $15.00 | $0.750 | $1.50 | $7.50 | $0.375 |
Replicate | $7.20 | $36.00 | N/A | — | — | — |
Regional pricing
Provider-specific pricing that varies by region.
Azure AI Foundry
20 regions
| Region | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
| Global | ||
| Global | $3.00 | $15.00 |
| Europe | ||
| France Central (Paris)/ francecentral | $3.30 | $16.50 |
| Germany North (Berlin)/ germanynorth | $3.30 | $16.50 |
| Germany West Central (Frankfurt)/ germanywestcentral | $3.30 | $16.50 |
| Italy North (Milan)/ italynorth | $3.30 | $16.50 |
| North Europe (Ireland)/ northeurope | $3.30 | $16.50 |
| Norway East (Norway)/ norwayeast | $3.30 | $16.50 |
| Poland Central (Warsaw)/ polandcentral | $6.05 | $30.30 |
| Spain Central (Madrid)/ spaincentral | $3.30 | $16.50 |
| Sweden Central (Gävle)/ swedencentral | $3.30 | $16.50 |
| West Europe (Netherlands)/ westeurope | $3.30 | $16.50 |
| US | ||
| Central US (Iowa)/ centralus | $3.30 | $16.50 |
| East US (Virginia)/ eastus | $3.30 | $16.50 |
| East US 2 (Virginia)/ eastus2 | $3.30 | $16.50 |
| North Central US (Illinois)/ northcentralus | $3.30 | $16.50 |
| South Central US (Texas)/ southcentralus | $3.30 | $16.50 |
| West Central US (Wyoming)/ westcentralus | $3.30 | $16.50 |
| West US (California)/ westus | $3.30 | $16.50 |
| West US 2 (Washington)/ westus2 | $3.30 | $16.50 |
| West US 3 (Phoenix)/ westus3 | $3.30 | $16.50 |
Cost Calculator
Preset:
Compares every provider & tier in USD
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Grok 4.20 Multi-Agent | 2.0M | $2.00 | $6.00 | Available | |
| Grok 4.20 Multi Agent Beta | 2.0M | $2.00 | $6.00 | Available | |
| Grok 4 20 Non-Reasoning | 2.0M | — | — | Available | |
| Grok 4 20 Reasoning | 2.0M | — | — | Available | |
| Grok 4 20 | — | 131K | $3.00 | $15.00 | Available |
| Grok 4.1 Fast | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4.1 Fast Non-Reasoning | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4.1 Fast Reasoning | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4 Non-Reasoning | 2.0M | $2.00 | $6.00 | Available | |
| Grok 4 Reasoning | 2.0M | $2.00 | $6.00 | Available | |
| Grok 4 | 2.0M | $3.00 | $15.00 | Current |