Grok 4 is xAI's language model with a 256K context window, available from 6 providers, starting at $3.00 / 1M input and $15.00 / 1M output. xAI's fourth-generation reasoning LLM with a 256k context window, supporting parallel tool calling, structured outputs, and multimodal image and text inputs.
Capabilities
Input2/5
Text✓
Image✓
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
| $3.00 | $15.00 | |
| $3.00 | $15.00 | |
| $3.00 | $15.00 | |
| $7.20 | $36.00 | |
| $3.00 | $15.00 | |
| $3.00 | $15.00 | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Grok 4.3 | 1.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Multi-Agent | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Multi-Agent Beta | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Non-Reasoning | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Reasoning | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.1 Fast | 2.0M | $0.200 | $0.500 | Deprecated | |
| Grok 4 Fast | 131K | $0.200 | $0.500 | Deprecated | |
| Grok 4 Fast Non-Reasoning | 2.0M | $0.200 | $0.500 | Deprecated | |
| Grok 4 | 256K | $3.00 | $15.00 | Current | |
| Grok 4.1 Reasoning | 2.0M | $0.200 | $0.500 | Deprecated |