xAI API Pricing — April 2026
xAI targets developers needing real-time information access. Grok 3 is priced competitively against GPT-4o and Claude Sonnet.
Model Pricing
| Model | Input ($/M tokens) | Output ($/M tokens) | Context | Use Cases |
|---|---|---|---|---|
| Grok 3 | $3.00 | $15.00 | 131K | General-purpose production workloads |
| Grok 3 Mini | $0.30 | $0.50 | 131K | Classification, summarization, routing |
| Grok 2 unverified | $2.00 | $10.00 | 131K | General-purpose production workloads |
How xAI compares to other providers
OpenAI PricingAnthropic PricingGoogle PricingMistral PricingMeta (via Together.ai) PricingCohere PricingDeepSeek PricingTogether.ai PricingFireworks.ai PricingGroq PricingAmazon Bedrock PricingCerebras PricingNVIDIA NIM Pricing
Running xAI in production? Clawback audits your spend and shows you exactly where you can cut costs without sacrificing quality.
Audit your xAI spend →