Context Window
256,000
Tokens
Model Cost Profile
Developer: x-ai
Pricing updated Mar 11, 2026
xAI: Grok 4, developed by x-ai, offers an extensive context window of 256,000 tokens, making it suitable for complex applications such as document summarization and conversational AI. Teams utilizing this API model can expect an input cost of $3.00 per million tokens and an output cost of $15.00 per million tokens, which can impact budget considerations based on usage patterns. The model's large context size enables more nuanced interactions, allowing businesses to handle larger datasets and improve user engagement.
Context Window
256,000
Tokens
Input Price / 1M
$3.00
Prompt tokens
Output Price / 1M
$15.00
Completion tokens
Intelligence (MMLU)
Benchmark Pending
Massive Multitask Language Understanding
| Usage Type | Price / 1M Tokens |
|---|---|
| Input (Prompt) | $3.00 |
| Output (Completion) | $15.00 |
Price History
Current Input / 1M
$3.00
Current Output / 1M
$15.00
Estimate monthly spend for xAI: Grok 4 based on your workload.
Estimated Monthly Cost
$255
25M input + 12M output tokens
Quick links for cost-down decisions before production rollout.
Common pricing and benchmark questions for xAI: Grok 4.
xAI: Grok 4 input pricing is $3.00 per 1M tokens based on the latest synced provider data.
xAI: Grok 4 output pricing is $15.00 per 1M tokens based on the latest synced provider data.
xAI: Grok 4 supports a context window of 256,000 tokens.
Use the comparison links on this page to open direct model-vs-model pricing and benchmark pages, then evaluate monthly spend projections for your workload.