Grok 4
View website
xAI's flagship reasoning model, released July 2025. Trained with RL at pretraining scale on the Colossus GPU cluster. xAI's most capable model for complex multi-step tasks.
At a glance
- Context window
- 256K tokens
- Max output
- 256K tokens
- Knowledge cutoff
- Oct 2024
- Modalities
- Text Text Image Image → Text Text
Capabilities
Function calling
Function calling
Connect to external tools, APIs, and systems.
Structured output
Structured output
Return responses in structured formats like JSON.
Pricing by provider
| Provider | Input / 1M tokens | Output / 1M tokens | |
|---|---|---|---|
|
|
$3.00 | $15.00 | |
|
|
$7.20 | $36.00 |
Heads up: We do our best to keep these specs & prices accurate. However, cloud costs may fluctuate based on region, usage, and other factors not listed here. These are estimates based on common setups and are for informational purposes only. Always verify current rates & exact specs with the provider before provisioning.
Compare with other models
Estimated prices shown. Actual costs may vary based on context length, batch size, caching, and provider-specific pricing tiers.