Models / Grok 4.6

Grok 4.6

Proprietary

xAI Grok 4.6 — frontier reasoning with 500K context.

xai/grok-4.6
Context Window
500K
Max Output
33K
Released
2026-08

Capabilities

ChatToolsFunction CallingStreamingReasoningVision

Price

Prices shown are the official rate published by the model provider, before any platform discounts. Your actual rate may be lower based on your account's discount tier.

PriceLatency p50Latency p95Status
$2.00 /M in · $6.00 /M out800ms3000ms

Quick Start

Python
import magicrouter

mr = magicrouter.Client(api_key="mr-your-key")

response = mr.chat(
    "xai/grok-4.6",
    "Your prompt here"
)
print(response.choices[0].message.content)
TypeScript
import { MagicRouter } from "magicrouter";

const mr = new MagicRouter({ apiKey: "mr-your-key" });

const response = await mr.chat({
  model: "xai/grok-4.6",
  messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);
cURL
curl https://api.magicrouter.ai/v1/chat/completions \
  -H "Authorization: Bearer mr-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "xai/grok-4.6",
    "messages": [{"role": "user", "content": "Your prompt here"}]
  }'

Use this model

Sign up for free and test Grok 4.6 in the playground

Get Started