Grok 4
xAI's latest flagship with strong coding benchmark performance, a 2M token context window, and aggressive pricing at $2/$6 per million tokens.
Grok — built to understand the universe, trained on X.
xAI is Elon Musk's AI lab. Grok 4 is their most capable model, with deep X/Twitter integration for real-time information and strong reasoning performance.
Every xAI model in the directory, ranked by overall capability score.
xAI's latest flagship with strong coding benchmark performance, a 2M token context window, and aggressive pricing at $2/$6 per million tokens.
Per 1 million tokens. Updated when providers change prices.
| Model | Input / 1M | Output / 1M | Context | Speed |
|---|---|---|---|---|
| Grok 4 Balanced | $0.20/1M | $0.50/1M | 2M | Fast |
| xAI: Grok 3 Beta Balanced | $3.00/1M | $15.00/1M | 131K | Balanced |
| xAI: Grok 3 Mini Beta Budget | $0.30/1M | $0.50/1M | 131K | Fast |
| xAI: Grok 3 Mini Budget | $0.30/1M | $0.50/1M | 131K | Fast |
| xAI: Grok 3 Balanced |
Consumer plans for access without the API.
Head-to-head comparisons for the most-searched questions.
Newsletter
Pricing changes, new releases, and ranking shifts — straight to your inbox.
No spam. Useful updates only. Affiliate disclosures always clearly labeled.
Grok 4 is xAI's most capable model in 2026. It has strong reasoning performance and unique real-time access to X/Twitter data. For most coding and writing tasks, Claude Sonnet 4.6 and GPT-5.4 remain stronger — Grok 4 is best when real-time information or X integration matters.
Grok 4 is competitive on reasoning but trails Claude Opus 4.7 on coding benchmarks and GPT-5.5 on agentic workflows. Grok's unique advantage is real-time X/Twitter access — useful for current events, social sentiment, and news-aware tasks.
Grok is available via the xAI API and through X Premium subscriptions. The API supports streaming and tool use. Consumer access is via x.com/grok.
Grok 3 Beta is xAI's flagship large language model, trained on a massive dataset with claimed real-time access to X (Twitter) data and strong reasoning capabilities. It competes directly with frontier models like Claude Sonnet 4 and GPT-4o across coding, analysis, and general tasks.
Grok 3 Mini Beta is xAI's lightweight reasoning-capable model designed for cost-efficient tasks that benefit from structured thinking without the full compute of Grok 3. It offers a 128K context window at sub-dollar pricing per million tokens.
Grok 3 Mini is xAI's lightweight, budget-tier reasoning model built on the Grok 3 architecture, designed to deliver strong logical and analytical performance at a fraction of the cost of flagship models. It targets cost-sensitive workloads where reasoning quality still matters.
Grok 3 is xAI's flagship large language model, trained on a massive dataset including real-time X (Twitter) data and designed for advanced reasoning, coding, and research tasks. It competes directly with GPT-4o and Claude Sonnet 4 at a similar price point.
Grok Code Fast 1 is xAI's budget-tier coding-focused model optimized for speed and cost efficiency, built on xAI's infrastructure with a 256K context window. It targets developers who need rapid code generation and completion at near-commodity pricing.
| $3.00/1M |
| $15.00/1M |
| 131K |
| Balanced |
| xAI: Grok Code Fast 1 Budget | $0.20/1M | $1.50/1M | 256K | Very fast |