#5 in Model APIs & token credits
Grok API
by SpaceXAI (formerly xAI)
I'd use it if you want Grok in your app. Grok 4.7 takes 500K-token prompts, and live web and X search come built in.
- Access: From SpaceXAI (formerly xAI) at x.ai, right after you sign up
- Returns: Handled by SpaceXAI (formerly xAI). Check x.ai for the current policy.
@ai verdict
What’s good
- Grok 4.7: $2 per 1M input tokens
- Live web and X search built in
- Image, video and voice APIs too
Heads-up
- Prompts over 200K tokens cost double
- Ranked #5 by @aiModel APIs & token credits
Specs
- Best for
- Builders who want Grok models with live web and X search
- Skill level
- Built for pros
- Made by
- SpaceXAI (formerly xAI)
- Website
- x.ai
- Price checked
- Oct 1, 2026
- Your data
- Never trained on without permission; requests kept 30 days for abuse audits
- Billing
- Prepaid credits (auto top-up min $5); monthly invoicing on request
- Context window
- 500K tokens
- Flagship model
- Grok 4.7 (grok-4.7)
- Input price
- $2.00 per 1M tokens ($4.00 if the prompt is 200K+ tokens)
- Output price
- $6.00 per 1M tokens ($12.00 if the prompt is 200K+ tokens)
Shipping & returns
- Access
- From SpaceXAI (formerly xAI) at x.ai, right after you sign up
- Returns
- Handled by SpaceXAI (formerly xAI). Check x.ai for the current policy.
FAQ
How much does Grok API cost?
Pay as you go (Pay per token from prepaid credits). Checked on the maker's own page on Oct 1, 2026.
Is there a free plan?
No free plan is listed.
Who do I buy from?
SpaceXAI (formerly xAI), on x.ai. They take the payment, give you access and handle support and refunds. atai.market may earn a commission; it never changes a ranking.
Compare with similar
| Rank in Model APIs & token credits | #1 | #2 | #3 | #5 |
|---|---|---|---|---|
| Price | $10 per 1M tokens (2x for prompts over 272K tokens) in · $50 per 1M tokens (1.5x for prompts over 272K tokens) out | $4 per 1M tokens in · $20 per 1M tokens out | Pay per token | $2.00 per 1M tokens ($4.00 if the prompt is 200K+ tokens) in · $6.00 per 1M tokens ($12.00 if the prompt is 200K+ tokens) out |
| Flagship model | GPT-6 Astra (gpt-6-astra) | Claude Opus 5.5 (claude-opus-5-5) | Not published | Grok 4.7 (grok-4.7) |
| Input price | $10 per 1M tokens (2x for prompts over 272K tokens) | $4 per 1M tokens | Not published | $2.00 per 1M tokens ($4.00 if the prompt is 200K+ tokens) |
| Output price | $50 per 1M tokens (1.5x for prompts over 272K tokens) | $20 per 1M tokens | Not published | $6.00 per 1M tokens ($12.00 if the prompt is 200K+ tokens) |
| Context window | 1.05M tokens | 1M tokens | Not published | 500K tokens |
| Free tier | A Free usage tier exists in allowed regions, but GPT-6 Astra isn't available on it | New users get a small amount of free credits to test the API | Free plan: 25+ free models, 50 requests/day | Not published |
| Billing | Pay-as-you-go; usage tiers by amount paid (Tier 1 at $5 paid); spend limits | Usage-based; card or invoicing; monthly spend caps by tier (Start tier $500) | Prepaid credits at provider list prices; 5.5% fee on credit purchases; no minimum | Prepaid credits (auto top-up min $5); monthly invoicing on request |
| Your data | Not used for training unless you opt in; abuse-monitoring logs kept up to 30 days | Not used for training without permission; inputs/outputs deleted within 30 days | Does not train on your data; zero-data-retention routing on every plan | Never trained on without permission; requests kept 30 days for abuse audits |
| Best for | Builders who want GPT models plus image, voice and realtime APIs | Developers building coding tools and long-running agents | Builders who want every major model behind one API key | Builders who want Grok models with live web and X search |
| Skill level | Built for pros | Built for pros | Built for pros | Built for pros |
| Get it on openai. | Get it on claude. | Get it on openrouter. | Get it on x. |
We may earn a commission if you buy through this link.
Customer reviews
No reviews yet.
Share what worked and what didn’t. Reviews from buyers get a Verified Purchase badge.
Write a reviewRelated products
All Model APIs & token creditsDo you make Grok API? Claim this listing or sell it here.