Skip to content
Dashboard

Grok 4.6

Grok 4.6 is SpaceXAI's frontier reasoning model for long-running agents, coding, and knowledge work, with a 500K tokens context window and four reasoning levels including a new xhigh setting. Your use is subject to SpaceXAI's Terms & Privacy Policies.

ReasoningTool UseImplicit CachingVision (Image)
import { streamText } from 'ai'
const result = streamText({
model: 'spacexai/grok-4.6',
prompt: 'Why is the sky blue?'
})
Read docs

Copy link to headingFrequently Asked Questions

  • What is Grok 4.6 built for?

    Long-running agents, coding, and knowledge work. Grok 4.6 is tuned for trajectories that continue across many steps, where it verifies its own work before moving on.

  • How does Grok 4.6 differ from Grok 4.5?

    It refines Grok 4.5 rather than replacing the foundation underneath it. The visible changes are a fourth xhigh reasoning level, stronger results on knowledge work benchmarks, and more self-checking on long trajectories.

  • What reasoning levels does Grok 4.6 support?

    Four: low, medium, high, and xhigh. High is the default. Use low for latency-sensitive agent steps, high for most engineering work, and xhigh for problems that justify the extra thinking tokens.

  • What is the context window for Grok 4.6?

    The context window is 500K tokens, with up to 500K tokens per response.

  • Why does a long prompt cost more on Grok 4.6?

    Pricing is tiered by prompt length, and requests at or above 200K tokens bill at the higher tier. The tier applies to every token in the request, not only the tokens past the threshold. See the pricing panel on this page for current rates.

  • Is Grok 4.6 a good fit for a coding agent?

    It depends on the workload. Grok 4.6 leads on knowledge work benchmarks but trails the strongest models on DeepSWE v1.1 and Terminal-Bench v3.0. Benchmark it against your own repository before switching a coding agent over.

  • What is the knowledge cutoff for Grok 4.6?

    February 1, 2026. Pair Grok 4.6 with web search or retrieval for facts that changed after that date.

  • Can I move traffic to Grok 4.6 without changing my code?

    Yes. Add an AI Gateway routing rule that rewrites requests from another Grok model to spacexai/grok-4.6. Your application keeps sending the old model identifier.

  • Does Grok 4.6 support Zero Data Retention?

    Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.