Models / xAI / Grok 4.6
xAI

Grok 4.6

BYOKClosedReleased 12 Aug 2026

Grok 4.6 is a closed-weights model from xAI, released August 2026, with a 500k context window and reasoning mode. It ranks 23rd of 194 on the intelligence index and sits above the registry median on most benchmarks.

Read the full description ↓

Spec sheet

Family
xAI
Released
12 Aug 20263 months ago
Weights
Closed
Context window
500k tokens
Largest response
500k tokens
Accepts
text, image, file
Supports
tools, reasoning, structured output
Knowledge cutoff
February 2026
Intelligence index
69#23
Input price
$2 / 1M
Output price
$6 / 1M
Blended price (3:1)
$3 / 1M
Index points per $
23#72
Speed
70 tokens/sec#87
Popularity
#82 of 194by usage
Providers
2

Benchmarks

Score · rank among models tested

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
xAIBYOKxai:grok-4.6 $2$0.5$6$3
OpenRouterBYOKopenrouter:x-ai/grok-4.6 $2$0.5$6$3

Every provider charges the same. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['XAI_API_KEY'] = '...'

agent = Agent('xai:grok-4.6', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask Grok 4.6 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

Grok 4.6vsGPT-5.6 Terra
Intelligence indexOur composite of the benchmarks below, 0-100
Grok 4.669
GPT-5.6 Terra69
GPQA DiamondGraduate-level science questions, multiple choice
Grok 4.694%
GPT-5.6 Terra93.3%
OTIS Mock AIMECompetition mathematics problems with exact answers
Grok 4.699.2%
GPT-5.6 Terra99.7%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
Grok 4.666%
GPT-5.6 Terra86%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
Grok 4.667.1%
GPT-5.6 Terra83.9%
SimpleQA VerifiedShort factual questions answered from memory, without search
Grok 4.649.3%
GPT-5.6 Terra43.2%
SciCodeScientific programming problems written by researchers
Grok 4.656.5%
GPT-5.6 Terra55%
WebDev ArenaRating from human votes on web apps the models built
Grok 4.61617.6
GPT-5.6 Terra1521.2
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
Grok 4.665.3%
GPT-5.6 Terra58.2%
LMArena textRating from blind human votes between pairs of chat responses
Grok 4.61430.1
GPT-5.6 Terra1448.9
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
Grok 4.6157.8
GPT-5.6 Terra160.8
Input pricePer 1M tokens, lower is better
Grok 4.6$2
GPT-5.6 Terra$2
Output pricePer 1M tokens, lower is better
Grok 4.6$6
GPT-5.6 Terra$12
EfficiencyIndex points per blended $
Grok 4.623
GPT-5.6 Terra15
SpeedOutput tokens per second
Grok 4.670 t/s
GPT-5.6 Terra69 t/s
Context windowTokens
Grok 4.6500k
GPT-5.6 Terra1.1M
Model stringFor Pydantic AI
Grok 4.6xai:grok-4.6
GPT-5.6 Terragateway/openai:gpt-5.6-terra

About Grok 4.6

Description written by an LLM from the data on this page

Grok 4.6 is a closed-weights model from xAI, released August 2026, with a 500k context window and reasoning mode. It ranks 23rd of 194 on the intelligence index and sits above the registry median on most benchmarks.

Grok 4.6 is a closed-weights model from xAI, released in August 2026. It accepts text, image and file inputs, supports tool calling, structured output and a reasoning mode, and offers a 500k context window with responses up to 500k tokens. Its knowledge cutoff is February 2026. It is available through xAI and OpenRouter, and is not built into the Pydantic AI Gateway.

On the registry's composite intelligence index it scores 69.0, placing 24th of 114 and well above the median of 59.5. Its strongest individual results are on maths and science: 99.2% on OTIS Mock AIME and 94.0% on GPQA Diamond, both above the median. It also scores 65.3% on APEX-Agents, which covers long professional tasks, ranking 17th of 60.

The main drawback is price. A blended cost of $3 per million tokens is well above the registry median of about $1, and it ranks 132nd of 194 on price. Its human-preference result on LMArena text is slightly below the median, and its FrontierMath score is roughly average.

Strengths

  • Intelligence index 69.0, 24th of 114, against a median of 59.5
  • 99.2% on OTIS Mock AIME, 20th of 95
  • 94.0% on GPQA Diamond, 17th of 94
  • APEX-Agents 65.3%, 17th of 60, against a median of 54.3%

Weaknesses

  • Blended price $3 per million tokens, 132nd of 194 on price
  • LMArena text rating 1430.1, 66th of 114, just below the median
  • FrontierMath 66.0%, 38th of 80, roughly at the median

Best for

Agents doing reasoning-heavy, tool-using or long professional tasks where a 500k context and strong benchmark results matter more than cost.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs