Grok 4
The Grok 4 generation model that preceded the 4.3 flagship, with a 256K-token context window. Grok 4.3 supersedes it on both capability and price, so this entry is mainly relevant to workloads already pinned to Grok 4 behaviour.
Grok 4 is a frontier AI model from xAI. It costs $3.000 per million input tokens and $15.000 per million output tokens (blended $6.600/M), with a 256,000-token context window.
- 256K-token context
- Established behaviour for existing pipelines
- Pipelines pinned to Grok 4
- Migration baselines
Benchmarks
More from xAI
See all 8 →Frequently asked questions
How much does Grok 4 cost?
Grok 4 costs $3.000 per million input tokens and $15.000 per million output tokens, for a blended reference rate of $6.600 per million tokens.
What is Grok 4's context window?
Grok 4 supports up to 256,000 tokens of context in a single request.
What is Grok 4 best for?
Grok 4 is well suited to 256K-token context, Established behaviour for existing pipelines and Pipelines pinned to Grok 4.
Who makes Grok 4?
Grok 4 is developed and served by xAI.