Provider pricing
xAI AI API pricing
xAI offers a lean two-model lineup: Grok 4.1 as a competitive flagship and Grok 3 as a budget option at just $0.20/M input. Grok models have real-time data access through X (Twitter) integration and no content restrictions.
Founded2023
HeadquartersAustin, TX
Tracked models17
Best for
Teams that need real-time data access, unrestricted content generation, or X platform integration.
Strengths
- Real-time data access via X platform integration
- Grok 3 at $0.20/M input — competitive budget pricing
- No content moderation restrictions
- 131K context window on all models
Tracked xAI models
| Model | Input $/M | Output $/M | Context | Tier | Best for |
|---|---|---|---|---|---|
| Grok 4 | $3.00 | $15.00 | 256,000 | Flagship | Frontier reasoning and coding |
| Grok 4 Heavy | $6.00 | $30.00 | 256,000 | Premium | Multi-agent parallel reasoning — top scores on ARC-AGI and HLE |
| Grok 4 Mini | $0.300 | $0.900 | 256,000 | Budget | Cheaper Grok 4 distilled for high-throughput chat and tools |
| Grok 4.1 | $2.00 | $10.00 | 2,000,000 | Flagship | Long-context flagship with native tool use and search |
| Grok 4.1 Fast | $0.200 | $0.500 | 2,000,000 | Budget | Ultra-cheap with massive 2M context |
| Grok 4.1 Mini | $0.100 | $0.300 | 1,000,000 | Budget | Smallest 4.1 variant — RAG and high-volume classification |
| Grok 3 | $3.00 | $15.00 | 131,072 | Flagship | Previous-gen flagship — strong general reasoning |
| Grok 3 Mini | $0.300 | $0.500 | 131,072 | Budget | Budget Grok 3 for chat and lightweight agents |
| Grok 3 Reasoning | $5.00 | $25.00 | 131,072 | Premium | Extended chain-of-thought reasoning variant of Grok 3 |
| Grok 2 Vision | $2.00 | $10.00 | 32,768 | Mid-tier | Multimodal Grok 2 — charts, documents, and screenshots |
| Grok Code Fast 1 | $0.200 | $1.50 | 256,000 | Mid-tier | Coding-specialized Grok for IDEs and agentic dev |
| Grok Voice | $1.00 | $4.00 | 32,000 | Mid-tier | Realtime voice-mode model for spoken interactions |
| Grok Image | $0.070 | $0.070 | 0 | Open Source | Aurora image generation — photorealistic text-to-image |
| Grok 2 | $2.00 | $10.00 | 128,000 | Flagship | Previous-gen Grok with strong reasoning and search |
| Grok 1.5 | $1.00 | $5.00 | 128,000 | Mid-tier | Original Grok 1.5 — extended-context chat and reasoning |
| Grok 5 | $4.00 | $20.00 | 2,000,000 | Premium | Next-gen Grok flagship — agentic reasoning and native search |
| Grok 5 Mini | $0.400 | $1.50 | 1,000,000 | Mid-tier | Cheaper distilled Grok 5 for high-throughput chat and tools |