Grok 4
xAIUpdated March 2026. Grok 4 by xAI: $3/M input, $15/M output tokens. 256K context, 33K max output. Vision & Function Calling. Free calculator + compare 40+ models.
Input Price
$3.00
per 1M tokens
Output Price
$15.00
per 1M tokens
Context Window
256K
tokens
Specifications
| Provider | xAI |
| Model ID | grok-4 |
| Input Price | $3 / 1M tokens |
| Output Price | $15 / 1M tokens |
| Context Window | 256K tokens |
| Max Output | 33K tokens |
| Capabilities | textvisionfunction_calling |
| Release Date | 2025-07 |
| Notes | xAI flagship reasoning model. Strong performance on benchmarks with 256K context. |
Monthly Cost Estimates
Estimated monthly costs based on different daily usage levels (assuming 50% input / 50% output split).
| Daily Tokens | Monthly Cost | Annual Cost |
|---|---|---|
| 10K | $2.70 | $32.40 |
| 50K | $13.50 | $162.00 |
| 100K | $27.00 | $324.00 |
| 500K | $135.00 | $1620.00 |
| 1.0M | $270.00 | $3240.00 |
About Grok 4
Grok 4 is a large language model by xAI. It features a 256K token context window with up to 33K tokens of output per request. The model supports 3 capabilities: text, vision, function_calling.
At $3 per million input tokens and $15 per million output tokens, Grok 4 is positioned as a mid-range option in the xAI lineup. Use our Token Counter to estimate how many tokens your prompts use, and our Pricing Calculator to compare costs across all models.
Grok 4 Key Details
- Pricing: $3/M input tokens, $15/M output tokens
- Context window: 256K tokens — suitable for large documents and codebases
- Max output: 33K tokens per response
- Capabilities: text, vision, function_calling
- Highlights: xAI flagship reasoning model. Strong performance on benchmarks with 256K context.
- Released: 2025-07
Other xAI Models
Similar Price Range
Related Tools
FAQ
How much does Grok 4 cost?
Grok 4 costs $3 per million input tokens and $15 per million output tokens. For a typical workload of 100K tokens/day, expect approximately $31.50/month.
What is Grok 4's context window?
Grok 4 supports a context window of 256K tokens. This means your combined input prompt and output response can be up to 256K tokens. The maximum output per response is 33K tokens.
Is Grok 4 good for my use case?
Grok 4 supports text, vision, function_calling. As a mid-range model, it balances capability and cost for most production use cases. Use our Pricing Calculator to compare with alternatives.