Skip to main content

Grok 4.6 is xAI's multimodal chat model behind an OpenAI-compatible call, with text and image parts in one turn. A request holds up to 500,000 tokens and a reply can run to 450,000, with four reasoning-effort levels.

Input $2Output $6per 1 million tokensCached input $0.50Prompts of 200K tokens or moreInput $4Output $12

Workbench

Grok 4.6

What can Grok 4.6 help with?

Related models and next tasks

Missing the model you need?

Tell us what to add and where you would use it. Requests go to the people who decide what gets onboarded next.

Build stable message flows for coding, agentic tasks, and knowledge work

Grok 4.6 is the frontier xAI model in this catalog: a 500,000-token context, up to 450,000 tokens in a single reply, and reasoning effort from low to xhigh with high as the default. It reads text and images — this route accepts no file or PDF parts.

Open the chat playground
Build stable message flows for coding, agentic tasks, and knowledge work
Model
Grok 4.6
Good for
coding, agentic tasks, and knowledge work
Message shape
System rules → evidence and state → current task → output contract
Fact boundary
Capabilities, controls, and price come from the live schema

Integration principle

Validate with the smallest message set, then add necessary context. Separate facts, assumptions, and constraints, and design interruption, retry, settlement, and review paths.

Build repeatable workflows for coding, agentic tasks, and knowledge work

Grok 4.6 is the frontier xAI model in this catalog: a 500,000-token context, up to 450,000 tokens in a single reply, and reasoning effort from low to xhigh with high as the default. It reads text and images — this route accepts no file or PDF parts.

  • Window budget

    500,000 in, 450,000 out

    Almost the whole window can come back as one reply, so this model suits work where the answer itself is long, not only work that reads long inputs.

  • Reasoning effort

    Four levels, high by default

    low, medium, high and xhigh are exposed. Reasoning tokens are counted as output, so raise the max_tokens ceiling whenever you raise the effort.

  • Input parts

    Text and images, never files

    A message may mix text parts with image_url parts at detail auto, low or high. File and PDF parts are rejected on this route; convert documents to text or page images first.

Where Grok 4.6 wins on task cost and interaction shape

Test one real task for quality, verifiability, latency, and sale-price fit instead of relying on a general leaderboard.

  1. Choose 4.6

    The answer itself is long and hard

    Large refactors, agent runs that write a lot of code, and knowledge work that has to hold a whole evidence pack in one turn.

  2. Consider 4.5

    One long prompt runs all day

    Loops that resend the same leading block pay a lower cached-input rate on the sibling model; compare both price cards before committing.

  3. Consider 4.3

    Throughput beats depth

    Classification, extraction and routing belong on the sibling with the wider window and a reasoning level that can be switched off entirely.

Turn Grok 4.6 into concrete work, not generic labels

Every scenario needs input boundaries, verification, and recovery; official capabilities, benchmarks, and tool support are never invented.

  • Repository-scale changes in one turn

    Coding

    Repository-scale changes in one turn

    Supply interfaces, invariants and tests, then ask for the plan, the diff and the migration hazards the change creates.

  • Tool-calling runs with a wide plan

    Agents

    Tool-calling runs with a wide plan

    Up to 128 tool definitions with tool_choice are exposed; keep irreversible steps behind an approval gate your own product owns.

  • Long evidence packs that end in a decision

    Knowledge work

    Long evidence packs that end in a decision

    Label every source, require a source-to-conclusion trail, and ask which assumption would overturn the recommendation.

  • Images as evidence, not decoration

    Screens and diagrams

    Images as evidence, not decoration

    Send screenshots or architecture diagrams at detail high when small text matters, and say exactly what has to be read out of them.

Organize context into an inspectable Grok 4.6 input

Objective, evidence, state, constraints, and output contract need distinct jobs so requests can be compressed, debugged, and reproduced.

  1. System

    Keep durable rules in a stable block

    Persona, output contract and conventions should not move between runs; a stable leading block is also what makes caching possible at all.

  2. Evidence

    Delimit and name every source

    Text parts and image parts both need labels, so a conclusion can point back at the thing it came from.

  3. Effort

    Match the effort level to the task

    Raise it when constraints interact; leave it lower for drafting and rewriting, where latency is what the reader actually feels.

  4. Output

    State the shape you will parse

    response_format can require a JSON object. Name the mandatory fields and say what an empty result looks like.

Prove a repeatable Grok 4.6 case before product integration

Confirm live schema, quote, streaming, and error behavior before reusing the normalized request.

  1. 01 · Baseline

    Validate the smallest request in Playground

    Check message layers, output shape, streaming, and current controls.

  2. 02 · Boundaries

    Exercise failure, cancellation, and retry

    Verify timeouts, interrupted streams, oversized input, regeneration, and duplicate submission.

  3. 03 · Integrate

    Copy the normalized API request

    Use the public model id and messages contract; read model controls from the live schema.

  4. 04 · Operate

    Meter usage and keep evaluating

    Store state, final usage, failure reasons, and quality feedback; quote expensive calls first.

Bring Grok 4.6 into a clear API contract

Playground, API examples, request states, and usage records stay aligned from evaluation through production integration.

  • Unified contract

    One shape for messages, streams, and errors

    Keep request structure, state handling, and error recovery consistent when changing models.

  • Live schema

    Use the current endpoint controls

    Playground and API examples expose available fields, limits, and default behavior together.

  • Observable lifecycle

    Every request has a clear state

    Submission, streaming, failure, cancellation, and usage use inspectable public semantics.

  • Portable integration

    Reduce work when models evolve

    A clear contract keeps product code focused on inputs, results, and user experience.

Grok 4.6 API boundaries to confirm before integration