Grok-4: API Pricing, Context Window & Benchmarks
Grok-4 is a language model from xAI, released in July 2025, with multimodal input.
Grok 4, announced by xAI in summer 2025, represents a major leap in AI capabilities, described as 'the smartest AI in the world.' Built on version 6 of xAI's foundation model, it uses 100x more training compute than Grok 2 and 10x more
Grok-4 benchmarks
Rankings
Quality Tracker
Grok-4 Performance Across Datasets
Scores sourced from the model's scorecard, paper, or official blog posts
Grok-4 pricing
Providers
Grok-4 starts at $3.00 per million input tokens and $15.00 per million output tokens via xAI.
| Provider | Input $/M | Output $/M | Context in / out | TTFT p50 / p95 s | Output avg / p5 c/s | Success 7d | Modalities in / out |
|---|---|---|---|---|---|---|---|
| $3.00 | $15.00 | 256.0K/8.0K | —/0.70 | 100/— | — | / |
Cached input is the discounted price for prompt tokens served from a provider cache. TTFT is time to first token. Output is characters per second; p5 is the sustained floor exceeded by 95% of observed requests. Success is calculated from completed versus failed requests over the trailing seven days.
Grok-4 context window
Input and output token limits for Grok-4, plus how it ranks on long-context understanding.
Grok-4 API
Available from the model provider
Grok-4 has an official provider API. It is not currently routed through the LLM Stats gateway.
Read the official API documentationGrok-4 latency
Grok-4 time to first token, sustained output throughput, and failed-request rate from live API traffic over the trailing 7 days.
Grok-4 examples
Recent arena outputs from Grok-4, picked from the highest-ranked matchups.
Grok-4 license
Grok-4 is a proprietary model available under its provider's product and API terms, has a knowledge cutoff of December 2024.
- License
- Proprietary
- Hosted access
- Knowledge cutoff
- December 2024
Proprietary license - usage restrictions apply
Grok-4 resources
Official sources for Grok-4: api documentation.
Grok-4 vs other models
The most-compared alternatives to Grok-4 are GPT-5 High, Grok-3, LongCat-Flash-Thinking. Open any pair side-by-side for benchmarks, pricing, context, and latency.
Models like Grok-4
Models ranked just above and below Grok-4 by LLM Stats score.
FAQ
Common questions about Grok-4.