Back to Models

Grok 4.6

xaixai/grok-4.6

xAI's successor to Grok 4.5. 500K context, text + image input, function calling, structured outputs, and configurable reasoning (low/medium/high/xhigh).

Grok 4.6 is xAI's successor to Grok 4.5, featuring a 500 K-token context window, multimodal input (text and image), function calling, structured outputs, and configurable reasoning (low / medium / high / xhigh). It continues the incremental release cadence xAI has maintained across the Grok 4 generation.

In a production routing context Grok 4.6 is the natural upgrade path for stacks already using Grok 4.5 for agentic tool use or vision-enabled workflows. Its pricing ($2.16 / M input, $6.48 / M output) and capability surface are directly comparable to the 4.5 generation.

Best for
  • β€’ Agentic tool-calling pipelines already standardized on the Grok 4.x family
  • β€’ Vision-augmented workflows requiring a large 500 K context window
  • β€’ Tasks that benefit from tunable reasoning depth (low to xhigh) without switching models
Reach for something else if
  • β€’ Ultra-low-cost bulk classification β€” route to xai/grok-build-0.1 instead ($1.08 / M input)
  • β€’ Pure text tasks where image input is never needed β€” a cheaper text-only model may suffice

How TheRouter serves this differently from the vendor

As the vendor operates it

xAI operates Grok 4.6 on its own API at api.x.ai with proprietary endpoints, native reasoning-effort control (low / medium / high / xhigh), and first-party billing.

On TheRouter

TheRouter exposes xai/grok-4.6 through a unified OpenAI-compatible /v1/chat/completions endpoint. The reasoning parameter passes through verbatim. Pricing, regions, and supported parameters reflect the live TheRouter model catalog, not the vendor's published card.

Context Length
500K
Max Output
66K
Input Priceper 1M tokens
$2.16/ 1M tokens
Output Priceper 1M tokens
$6.48/ 1M tokens

Modalities

textimage→text

Capabilities

Vision

Pricing Breakdown

TypeRate
Prompts under 200K tokens
Input$2.16 / 1M tokens
Output$6.48 / 1M tokens
Cached input$0.540 / 1M tokens
Prompts of 200K tokens or more
Input$4.32 / 1M tokens
Output$12.96 / 1M tokens
Cached input$1.08 / 1M tokens

Tiered pricing: when a request's prompt (input, cached tokens included) is 200K tokens or more, every token in that request is billed at the long-context rates.

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatreasoningstop

Specifications

Release dateNot publicly disclosedunknown
Context window500,000 tokensdocs.x.ai β†—verified
Max output tokens65,536 tokensdocs.x.ai β†—verified
Input modalitiesText, imagedocs.x.ai β†—verified
Training cutoffNot publicly disclosedunknown
LicenseCommercial via xAI APIverified

Benchmarks

BenchmarkDistributionScoreSource
MMLU
β€”Not publicly disclosedβ€”
MATH-500
β€”Not publicly disclosedβ€”
SWE-bench Verified
β€”Not publicly disclosedβ€”

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "xai/grok-4.6",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"xai/grok-4.6","messages":[{"role":"user","content":"Hello"}]}'

More from xai

Similar models

Cross-provider sibling models

Frequently asked

What is new in Grok 4.6 compared to Grok 4.5?

xAI has not published a detailed changelog for Grok 4.6. The model retains the same 500 K context window, vision capability, function calling, and configurable reasoning as 4.5. Specific improvements are not publicly disclosed.

Does Grok 4.6 support vision / image input?

Yes. Grok 4.6 accepts text and image input and can analyze images passed as image_url objects in the messages array, following the OpenAI vision message format.

How does Grok 4.6 reasoning mode work?

Pass a reasoning parameter set to low, medium, high, or xhigh to control the depth of chain-of-thought reasoning the model applies before returning a response. Higher settings increase latency and token usage.

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateβ€”β€”unknown
Context windowdocs.x.ai β†—2026-08-18verified
Max output tokensdocs.x.ai β†—2026-08-18verified
Input modalitiesdocs.x.ai β†—2026-08-18verified
Training cutoffβ€”β€”unknown
Licenseβ€”β€”verified
MMLUx.ai β†—2026-08-18unknown
MATH-500x.ai β†—2026-08-18unknown
SWE-bench Verifiedx.ai β†—2026-08-18unknown
Help & contact