@aiMarket
#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

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.

Refunds policy · Buyer Guarantee

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

OpenAI APIClaude APIOpenRouterGrok API
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 outPay 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 modelGPT-6 Astra (gpt-6-astra)Claude Opus 5.5 (claude-opus-5-5)Not publishedGrok 4.7 (grok-4.7)
Input price$10 per 1M tokens (2x for prompts over 272K tokens)$4 per 1M tokensNot 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 tokensNot published$6.00 per 1M tokens ($12.00 if the prompt is 200K+ tokens)
Context window1.05M tokens1M tokensNot published500K tokens
Free tierA Free usage tier exists in allowed regions, but GPT-6 Astra isn't available on itNew users get a small amount of free credits to test the APIFree plan: 25+ free models, 50 requests/dayNot published
BillingPay-as-you-go; usage tiers by amount paid (Tier 1 at $5 paid); spend limitsUsage-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 minimumPrepaid credits (auto top-up min $5); monthly invoicing on request
Your dataNot used for training unless you opt in; abuse-monitoring logs kept up to 30 daysNot used for training without permission; inputs/outputs deleted within 30 daysDoes not train on your data; zero-data-retention routing on every planNever trained on without permission; requests kept 30 days for abuse audits
Best forBuilders who want GPT models plus image, voice and realtime APIsDevelopers building coding tools and long-running agentsBuilders who want every major model behind one API keyBuilders who want Grok models with live web and X search
Skill levelBuilt for prosBuilt for prosBuilt for prosBuilt for pros
Get it on openai.comGet it on claude.comGet it on openrouter.aiGet it on x.ai

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 review

    Do you make Grok API? Claim this listing or sell it here.

    Grok APIPay as you goGet it