Loading model…正在加载模型详情…
Loading model…正在加载模型详情…
Use Grok 4.6 for coding and complex reasoning, with xAI positioning it for agents that carry tasks through extended workflows.
Use it inOpenCode setup
Grok 4.6 is an xAI language model for reasoning, coding and knowledge work. xAI emphasizes continuity across extended agent tasks, including planning, checking results and refining an implementation.
On UniRoute, chat with Grok 4.6 on this page or use the model ID grok-4-6 through the Responses and Chat Completions APIs. The API section includes request examples, and the OpenCode guide covers client setup.
Grok 4.6 follows Grok 4.5. According to xAI, it strengthens task continuity, self-verification and coding intelligence for multi-stage work, alongside improvements in reasoning and knowledge analysis.
What Grok 4.6 is built for.
Break a complex objective into stages, track decisions and ask for checks before moving to the next step.
Work through a technical question, compare possible approaches and turn source material into a structured explanation.
Use function calling and structured output through the API to connect the model to application tools; the chat workspace accepts text messages.
The chat workspace accepts text only; attachments, search, function calling, reasoning controls and structured output require the API.
The variants you can call, with their options and prices.
| Variant | Model ID | Modes | Inputs | Output | Price |
|---|---|---|---|---|---|
| Grok 4.6 | grok-4-6 | Chat and text generation | OpenAI Responses and OpenAI Chat Completions API | Streaming; Context window: Not stated on this page | $0.84 input / $2.52 output per 1M tokens |
Priced per token. Input and output are billed separately.
| Usage | Official API | UniRoute | Save |
|---|---|---|---|
| Input | $2.00 | $0.84 | Save 58% |
| Output | $6.00 | $2.52 | Save 58% |
| Cache read | $0.50 | $0.21 | Save 58% |
Official price: docs.x.ai · 2026-11-07
Prices updated 2026-11-08.
Pay as you go from a single USD wallet balance. You see the quote before each request.
Call Grok 4.6 through OpenAI Responses and OpenAI Chat Completions API.
curl 'https://api.uniroute.app/v1/responses' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "model": "grok-4-6", "input": "Hello", "stream": false}'from openai import OpenAIclient = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.uniroute.app/v1",)response = client.responses.create( model="grok-4-6", input="Hello",)print(response.output_text)curl 'https://api.uniroute.app/v1/chat/completions' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "model": "grok-4-6", "messages": [ { "role": "user", "content": "Hello" } ], "stream": false}'| Name | In | Description |
|---|---|---|
model | Body | Model ID to run. |
messages | Body | The conversation as a list of role and content messages. |
stream | Body | Set to true to receive the response as a stream. |
input | Body | Text or input items (OpenAI Responses). |
max_output_tokens | Body | Upper limit on generated tokens (OpenAI Responses). |
Published scores next to the models they were compared with.
| Benchmark | Grok 4.6 High | Grok 4.5 High | GPT-5.6 Sol Max | Fable 5 Max |
|---|---|---|---|---|
| Artificial Analysis Intelligence Index | 61 | 56 | 61 | 62 |
| GDPVal-AA v2 | 1753 | 1526 | 1728 | 1741 |
| CursorBench v3.2 | 69.9% | 66.7% | 67.2% | 70.5% |
| DeepSWE v1.1 | 65.9% | 54% | 73% | 70% |
| FrontierCode v1.1 (Extended) | 61.3% | 56.6% | 60.6% | 64.9% |
| APEX-Agents | 57.5% | 47.1% | 56.7% | 59.2% |
| Terminal-Bench v3.0 | 26% | 15.7% | 34.6% | 34.1% |
| APEX-SWE | 56.4% | 53.6% | — | 58.8% |
| AA-Briefcase | 1577 | 1313 | 1502 | 1574 |
| Harvey LAB (Vals) | 15.8% | 12.9% | 2.5% | 11.3% |
Figures published by xAI from its own evaluations. Results depend on each benchmark’s configuration.
Typical ways to put Grok 4.6 to work.
Provide a code excerpt and the behavior you expect, then ask for likely defects, a proposed fix and checks to run.
Turn supplied material into a brief, identify unanswered questions and ask the model to explain its conclusions.
Add a conversational assistant to your product through the API, keeping instructions and follow-up requests in the same workflow.
Connect function calls to your own tools, inspect their results and let the model propose the next action.
Common questions about Grok 4.6.
Grok 4.6 is an xAI language model for reasoning, coding and knowledge work. xAI emphasizes continuity across extended agent tasks, including planning, checking results and refining an implementation.
Create a UniRoute API key and send the model ID grok-4-6 to the Responses or Chat Completions endpoint. The API section shows the request formats.
From $0.84 input / $2.52 output per 1M tokens. Input and output are metered separately. The Pricing section lists the available rates and worked examples, with prices updated 2026-11-08.
No. The chat box accepts text messages. Attachments, search, function calling, reasoning controls and structured output are API features.
Use the linked OpenCode guide to configure UniRoute and choose grok-4-6 from the model catalog available to your account.
No. Requests are paid from your wallet balance. You can read this page and review the prices without paying, and you need an account with funds to send a message.