x-aiVision

SpaceXAI: Grok 4.7

Try in chat →

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...

Context
500k tokens
Input / 1M tokens
$1.60
Output / 1M tokens
$4.80
Benchmark

Uptime & performance

Loading…

Pricing

Input tokens$1.60 per 1M tokens
Output tokens$4.80 per 1M tokens
Cache read$0.40 per 1M tokens

Apps and activity

Loading…

Technical details

Model IDx-ai/grok-4.7
Context window500k tokens
Input modalitiestext, image, file, pdf
Output modalitiestext
TokenizerGrok
Max output tokens450,000

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'x-ai/grok-4.7',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use SpaceXAI: Grok 4.7?

Try it in the browser first, then get an API key and start making requests in minutes.