AICredits logo
x-aivision

SpaceXAI: Grok 4.7

x-ai/grok-4.7

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...

Supported APIs

Chat APIVision
Context
500K
Max output
Input / 1M
₹161.07
Cached / 1M
₹40.27
Output / 1M
₹483.20

Pricing

Token typeUSD / 1MINR / 1M
Input$1.60₹161.07
Cached inputprompt cache read$0.40040.27
Output$4.80₹483.20

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call SpaceXAI: Grok 4.7 through the supported APIs shown above — just set the base URL and your AICredits key.

cURL — /v1/chat/completions
curl https://api.aicredits.in/v1/chat/completions \
  -H "Authorization: Bearer $AICREDITS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4.7",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

New here? Follow the quickstart guide or browse all models.