xAI: Grok 4x-ai
Bottom Line
xAI: Grok 4: $3.00/1M input, $15.00/1M output, 256K context, CPS grade B. Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not...
API Pricing (per 1M tokens)
| Input | $3.00 |
| Output | $15.00 |
| Cache Read | — |
| Cache Write | — |
| Blended (3:1) | $6.00 |
Specs & Performance
| Context Length | 256K |
| Max Output | — |
| Intelligence | 23 |
| Coding | 41 |
| Math | 93 |
| Speed | — |
| TTFT | — |
| CPS Grade | B |
| Input / Output Modalities | image, text, file → text |
More from x-ai
Looking for cheaper alternatives?
Find the cheapest model by task, or compare two models head-to-head.
FAQ
How much does the xAI: Grok 4 API cost?
xAI: Grok 4 costs $3.00/1M input tokens and $15.00/1M output tokens. Blended cost at a 3:1 ratio is about $6.00/1M tokens.
What is the context window of xAI: Grok 4?
xAI: Grok 4 supports a 256K token context window.
Is xAI: Grok 4 worth it?
xAI: Grok 4 has a CPS grade of B (score 62), intelligence index 23, coding index 41. Use the compare page to benchmark against rivals.