Models / Grok

Grok 4.6 API

XAI's retrained 1.5T model for agents and knowledge work

Heavier post-training on the same base lifts Grok 4.6 five points on the Intelligence Index, level with GPT-5.6 Sol, and puts it at the top of xAI's comparison on knowledge work.

  • Kind: chat
  • Made by: xAI (SpaceXAI)
  • Price: 160 credits / M input tokens, 480 / M output (from $1.60; 1 credit = $0.01 on monthly plans, $0.015 as a top-up)
  • Released: 2026-08-12
  • Open weights: no (Proprietary, closed weights; available through xAI's API, Grok Build, Cursor and API resellers under xAI's terms)
  • Context window: 500,000 tokens
  • Inputs: Text and images
  • Output: Text only
  • Reasoning effort: low, medium, high (default), xhigh
  • Knowledge cutoff: February 1, 2026
  • Parameters: About 1.5 trillion per Elon Musk; not in xAI's docs
  • Licence: Proprietary, API only
  • Inputs: model, messages, tools, tool_choice, stream, max_tokens, temperature, top_p, stop, response_format, reasoning_effort

Call it with POST https://api.unicornapi.net/v1/chat/completions and model grok-4-6, or try it in the Playground.

Where it shines

  • Artificial Analysis Intelligence Index 61, up from 56 and level with GPT-5.6 Sol
  • Tops xAI's comparison on GDPval-AA knowledge work with an Elo of 1753
  • APEX-Agents up 10.4 points and DeepSWE up 11.9 over Grok 4.5
  • About half the turns and a quarter of the input tokens of Claude Opus 5 on AA-Briefcase
  • New xhigh effort level on the same 500,000-token window as Grok 4.5

Watch out for

  • Trails GPT-5.6 Sol and Fable 5 on DeepSWE and Terminal-Bench
  • Time to first token roughly doubled from Grok 4.5
  • Avoids inventing an answer only about two times in three when it does not know
  • Early users report slow simple tasks and heavy tool use

Grok 4.6 is the new flagship language model from xAI, the Elon Musk-founded lab that now works inside SpaceX under the SpaceXAI name. It arrives on August 12, 2026, barely five weeks after Grok 4.5, and xAI pitches it at "long-running agents and more ambitious interactive and visual work": coding agents that keep going for hours, office deliverables, and first versions of apps built from a loose idea.

The headline is the score. On the Artificial Analysis Intelligence Index, Grok 4.6 reaches 61, five points above Grok 4.5, level with OpenAI's GPT-5.6 Sol and one point behind Anthropic's Claude Fable 5. On knowledge-work tests it goes further, topping xAI's comparison on GDPval-AA and edging Fable 5 on multi-hour office deliverables.

The gains come without a bigger model. Grok 4.6 sits on the same base as Grok 4.5, retrained with more supervised fine-tuning and a heavier dose of reinforcement learning on agent tasks. That makes it a clean test of how far post-training alone can move a frontier model, and the answer is: a long way on knowledge work, less far on autonomous software engineering.

Same 1.5T base, retrained: where Grok 4.6 comes from

xAI has been updating the Grok 4 family in quick succession through 2026. Grok 4.5 shipped in early July as a coding and agent model; Grok 4.6 follows with the same 500,000-token context window and, according to Musk, the same base. On July 28 he wrote that Grok 4.6 "will be the 1.5T model with significantly improved SFT & RL", meaning about 1.5 trillion parameters, with supervised fine-tuning and reinforcement learning doing the work. xAI's own launch post and documentation do not state a parameter count or describe the architecture.

The lab around it has changed more than the model. SpaceX merged with xAI in February 2026, and in June it agreed to buy Cursor, the AI code editor. Cursor is one of Grok 4.6's launch partners, and xAI's model card says the model received supplemental training on anonymized Cursor workflow data. The day before launch, xAI also opened an early beta of Grok Bot, its agent product for workplace tasks.

Grok 4.6 is closed. xAI has released weights for older models, Grok-1 under Apache 2.0 and Grok 2.5 under its own community licence, but nothing from Grok 3 onward, and Grok 4.6 cannot be self-hosted. On launch day it is available on xAI's API as grok-4.6, in Cursor, in Grok Build (xAI's coding tool) and through routers including OpenRouter, Vercel and Cloudflare. The consumer Grok apps are due to get it later.

What changed from Grok 4.5

xAI's launch table compares Grok 4.6 at high effort with its predecessor and two rivals at their top settings:

BenchmarkGrok 4.6Grok 4.5GPT-5.6 SolFable 5
AA Intelligence Index61566162
GDPval-AA v2 (knowledge work, Elo)1753152617281741
CursorBench v3.2 (coding)69.9%66.7%67.2%70.5%
DeepSWE v1.1 (coding)65.9%54.0%73.0%70.0%
FrontierCode v1.1 (coding)61.3%56.6%60.6%63.6%
APEX-Agents (agent tasks)57.5%47.1%56.7%59.2%
Terminal-Bench v3.0 (terminal work)26.0%15.7%34.6%34.1%

The full evaluation adds three more rows. On AA-Briefcase, which grades multi-hour office deliverables, Grok 4.6 scores an Elo of 1577, a hair above Fable 5's 1574 and well ahead of GPT-5.6 Sol's 1502. On Harvey's legal-agent benchmark it scores 15.8% against 2.5% for GPT-5.6 Sol. On APEX-SWE it reaches 56.4%, behind Fable 5's 58.8%.

Knowledge work. The biggest move is on GDPval-AA, up 227 Elo points to the top of xAI's comparison. Artificial Analysis places it second only to Claude Opus 5 on that test.

Agents. APEX-Agents rises more than ten points and DeepSWE almost twelve. Terminal-Bench improves by ten points, but from a low base: it remains the row where Grok 4.6 trails most clearly.

Checking its own work. xAI says the model does "more self-testing and verification, with the model checking its own work before moving on", and that it is better at "turning a broad product idea into a working first version", with stronger first attempts on interactive and visual projects.

A new effort level. Alongside low, medium and high, Grok 4.6 adds xhigh for the hardest problems. Early Cursor users singled it out for praise.

Same window, same base. The context window stays at 500,000 tokens, text and images still go in, and output is still text. Everything new comes from training rather than from a larger or differently shaped model.

Safety. xAI describes a new safeguard stack. On HackerBench v0.2, its internal test that mixes benign security tasks with dual-use and harmful ones, Grok 4.6 refuses none of the benign tasks and complies with 6.9% of the dual-use ones. The model card also shows small regressions against Grok 4.5 on some behaviour tests: dishonesty under pressure on MASK rises from 0.67% to 1.90%, a self-harm measure from 0.50% to 0.84%, and sycophancy from 0.01% to 0.04%.

How xAI trained Grok 4.6

xAI lists three ingredients: extended supplemental training "with curated data for reasoning and technical concepts", improved optimization, and agentic reinforcement learning across a wide range of environments, naming kernel optimization, web development and CAD among them. The Cursor workflow data in the model card fits the same picture: training on the way developers actually work with an agent in an editor.

The efficiency of the result is notable. Artificial Analysis found that Grok 4.6 completes AA-Briefcase tasks in about 53 turns and roughly half a billion input tokens, where Claude Opus 5 takes about 103 turns and some two billion input tokens. Fewer turns mean fewer round trips and less context to resend.

Grok 4.6 specs

Grok 4.6
MakerxAI (SpaceXAI)
ReleasedAugust 12, 2026
WeightsClosed, hosted only
Context window500,000 tokens (256,000 in Cursor)
InputText and images
OutputText
Reasoning effortlow, medium, high (xAI default), xhigh
Knowledge cutoffFebruary 1, 2026
ParametersAbout 1.5 trillion according to Musk; not in xAI's documentation

xAI's own API sets no output limit and offers built-in web search, X search and code execution, plus a faster tier. On Unicorn API the model runs through the chat completions endpoint with function tools and replies of up to 128,000 tokens.

Where Grok 4.6 is strong

Reports, analysis and legal work. GDPval-AA, AA-Briefcase and the Harvey legal test are the three rows where Grok 4.6 leads or ties the best models in xAI's comparison. Briefs, memos, spreadsheet-style analysis and contract review are its home ground. It also scores 50.7% on τ³-Banking, Artificial Analysis' customer-service agent test.

Lean long agent runs. Fewer turns and fewer input tokens per task make it an efficient engine for agents that run all day: less context to resend, fewer round trips and fewer chances for a long run to drift. Developers report cache hit rates around 90% in agent loops, so most of each request's prefix is reused rather than processed fresh.

First versions of apps. xAI singles out interactive and visual work: give Grok 4.6 a short product description and it is more likely than Grok 4.5 to return a working page with the interactions wired up. Some engineers moving over from Claude report finishing tasks about three times faster without an obvious drop in quality.

Big inputs. Half a million tokens of context holds a sizeable codebase or a stack of documents, and images can go in alongside the text.

Weak spots and limits

Not the software-engineering leader. On DeepSWE and Terminal-Bench, the two tests closest to autonomous engineering, GPT-5.6 Sol and Fable 5 are clearly ahead: up to 73.0% against 65.9% on DeepSWE, and about 34% against 26% on Terminal-Bench. One reviewer calls it "mislabeled as a coding release"; VentureBeat notes that it "does not establish an uncontested performance lead".

Slow to start. Independent measurements show the time to the first token roughly doubling from Grok 4.5 at high effort, to tens of seconds. Early Cursor users complained that simple tasks took minutes and that the model sometimes called many tools and kept thinking when a direct answer would do. Others reported it deflecting work back to them.

More tokens per task. The heavier reasoning that lifts its scores also means each task uses more tokens than it did with Grok 4.5, which adds to the wait. In Cursor, where the window is 256,000 tokens, users noticed the context filling quickly on long sessions.

Hallucinations. On Artificial Analysis' AA-Omniscience test its non-hallucination rate is 65.7%: when it does not know an answer, it avoids inventing one about two times in three. Customer-facing uses still need checks.

Brand and compliance history. Grok's past controversies, from offensive outputs in 2025 to investigations by UK and EU regulators, are a procurement question some companies will weigh separately from the benchmarks.

Text only out. It reads images but does not create them, and xAI's API processes requests in the US only.

How to prompt Grok 4.6

Pick the effort to suit the job. high is xAI's default and the setting behind the launch numbers; xhigh is for the hardest reasoning and means more output tokens and more waiting; low or medium keeps chat and simple edits quick.

For knowledge work, name the reader, the format and the decision:

Compare these three supplier proposals for a finance director. Give the five-year totals, the main risks of each, a recommendation, and a table. Then re-check every figure against the quotes and flag anything you assumed.

For first versions of apps, describe the product, not the code:

Build a single-file web page for a habit tracker: a monthly grid, click a day to mark it, a streak counter, and local storage so it survives a reload. No external libraries.

For agent work, give a clear finish line so it does not keep exploring:

Add input validation to every endpoint in the attached API module. Run the tests after each file. Stop when all tests pass and list what you changed.

In long loops, keep a stable prefix (system prompt, tool definitions, reference files) at the front of every request so cached input carries most of the load.

Grok 4.6 against Grok 4.5, Claude and GPT

Against Grok 4.5. Grok 4.5 shares the base and the context window, but Grok 4.6 is ahead on every row of xAI's table, by ten points or more on agent tests. Grok 4.5 still answers faster and uses fewer tokens per task, so it remains a fair choice for latency-sensitive chat.

Against Claude. Claude Fable 5 and Claude Opus 5 score slightly higher on the Intelligence Index, at 62 and 63; Fable 5 also leads on DeepSWE and Terminal-Bench, and Opus 5 on GDPval-AA. Grok 4.6 edges Fable 5 on AA-Briefcase and finishes those tasks in about half the turns Opus 5 needs. Claude Sonnet 5 is the closer match by tier.

Against OpenAI. GPT-5.6 Sol ties Grok 4.6 on the index and is the stronger autonomous coder, with a 7-point lead on DeepSWE, but trails on knowledge-work and legal tests: 1502 against 1577 on AA-Briefcase and 2.5% against 15.8% on Harvey's legal benchmark.

Against lighter models. For high-volume, simpler jobs that do not need frontier reasoning, a smaller model such as Gemini 3.6 Flash is worth testing first.

Pick Grok 4.6 for reports, analysis, legal work and long agents; pick a Claude or GPT flagship when hard autonomous coding comes first.

Running Grok 4.6 in long agent loops

Reasoning tokens count as output and sit inside max_tokens, so leave generous room at high and more at xhigh; a long thinking pass can use much of a small cap before the visible answer begins. Unicorn allows replies of up to 128,000 tokens.

Because the first token can take tens of seconds at high effort, stream responses in user-facing apps so people see progress, and route quick lookups or formatting steps to low or medium. Keep the prompt prefix stable across steps, with system instructions, tool definitions and reference files first, so cached input carries most of each request.

The 500,000-token window holds a lot, but agents that append every tool result will still reach it on long runs, and tools such as Cursor serve a 256,000-token window. Trim stale tool output and summarise finished sub-tasks. Finally, give every agent task an explicit stopping rule: early users found Grok 4.6 prone to extra tool calls when the finish line was vague.

Getting started

Open Grok 4.6 in the Playground to try it without code. For your own apps, create an API key and call /v1/chat/completions with the model id grok-4-6. Images go in as image_url parts, tools as function definitions, and reasoning_effort takes low, medium, high or xhigh; leave it out for the model default. Remember that max_tokens includes reasoning. The docs cover streaming, tools and usage reporting.

Verdict

Grok 4.6 shows what better post-training can do on an unchanged base: a five-point jump on the Intelligence Index, a lead on knowledge-work and legal tests, and efficient long agent runs, all on Grok 4.5's base and context window. It is slower to start, not the best autonomous coder, and a few behaviour scores slip. For analysis, documents and long-running agents, it is one of the strongest models at the frontier.

Best for

  • Reports, memos and analysis
  • Legal research and contract review
  • Long-running agents that need few turns
  • First versions of web apps
  • Large documents and codebases

Frequently asked questions

Is Grok 4.6 open source?

No. Grok 4.6 is a proprietary xAI model with closed weights, available only as a hosted model. xAI has published weights for older models such as Grok-1 and Grok 2.5, but not for Grok 3 or any Grok 4 release.

Why is Grok 4.6 slow to start answering?

Its heavier reasoning roughly doubled the time to the first token compared with Grok 4.5 at high effort, to tens of seconds. Dropping simple requests to low or medium effort and streaming the reply helps.

How many parameters does Grok 4.6 have?

Elon Musk has said Grok 4.6 is a 1.5 trillion parameter model, the same base as Grok 4.5 with improved fine-tuning and reinforcement learning. xAI's launch post and documentation do not give a parameter count.

Grok 4.6 vs Grok 4.5: what changed?

Grok 4.6 keeps the base model and 500,000-token window but adds more supplemental training and agentic reinforcement learning plus an xhigh effort level. It scores higher on every row of xAI's table, most of all on agent and knowledge-work tests, but takes longer to start answering.

What is the Grok 4.6 context window?

500,000 tokens of text and images on xAI's API; Cursor serves it with 256,000. On Unicorn API a single reply can be up to 128,000 tokens, with reasoning counted inside that limit.

Is Grok 4.6 good at coding?

It is competitive on CursorBench and FrontierCode and improves on Grok 4.5 across the board, but GPT-5.6 Sol and Claude Fable 5 are clearly ahead on DeepSWE and Terminal-Bench, the tests closest to autonomous software engineering.