x-aiVision
SpaceXAI: Grok 4.6
Try in chat →Grok 4.6 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM. It is succeeded by [Grok 4.7](/x-ai/grok-4.7).
Context
500k tokens
Input / 1M tokens
$2
Output / 1M tokens
$6
Benchmark
—
Uptime & performance
Loading…
Pricing
Input tokens$2 per 1M tokens
Output tokens$6 per 1M tokens
Cache read$0.50 per 1M tokens
Apps and activity
Loading…
Technical details
Model IDx-ai/grok-4.6
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://themegabrain.ru/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'x-ai/grok-4.6',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use SpaceXAI: Grok 4.6?
Try it in the browser first, then get an API key and start making requests in minutes.