
grok-4.6Grok 4.6 is xAI's frontier model, built around long-running agents and multi-step work — sustaining a task across many turns of research, codebase edits, or building an artifact. It matches GPT-5.6 Sol on the Artificial Analysis Intelligence Index (61) and leads its predecessor on every published eval. 500K context, text and image input, and four reasoning-effort levels (low / medium / high — the default — / xhigh). Priced at $1.765 input / $5.294 output per 1M tokens, 12% under xAI official ($2.00 / $6.00), with cached input at $0.441. Called through the OpenAI-compatible /v1/chat/completions endpoint; /v1/responses also works and is the one that runs live web search. Failed requests are never billed.
$1.765 input / $5.294 output per 1M against official $2.00 / $6.00, with cached input at $0.441. Same model, same weights — the difference is what we pay for volume, not a lesser tier
The 4.6 release targets tasks that span many steps — researching a topic, working across a codebase, turning an idea into a finished artifact — with more self-checking along the way. 500K-token context
low / medium / high / xhigh via reasoning_effort. Measured on our channel: 464 / 1,720 / 2,663 / 3,341 reasoning tokens on the same prompt. Unlike GPT-5.6, xhigh really is the deepest tier here
12/12 correct across 12 concurrent calls using a nested schema with enums and arrays — arguments parsed cleanly with no cross-request mixing. Streaming, multi-turn and parallel tool calls all pass
Cached input bills at $0.441 instead of $1.765. We send a per-conversation routing key so repeat turns keep landing on a warm server — without it, cache hits drop back to cold on roughly every other repeat
The default reasoning_effort is high, which runs about 53 seconds — set a client timeout above 60s. And billed output includes reasoning tokens, so your bill can exceed the visible answer; lower the effort when you do not need the depth
View complete API reference with all parameters and examples.
View complete API reference with streaming, thinking, and more.
Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000
Grok 4.6 is a Large Language Model API provided by xAI. Grok 4.6 is xAI's frontier model, built around long-running agents and multi-step work — sustaining a task across many turns of research, codebase edits, or building an artifact. It matches GPT-5.6 Sol on the Artificial Analysis Intelligence Index (61) and leads its predecessor on every published eval. 500K context, text and image input, and four reasoning-effort levels (low / medium / high — the default — / xhigh). Priced at $1.765 input / $5.294 output per 1M tokens, 12% under xAI official ($2.00 / $6.00), with cached input at $0.441. Called through the OpenAI-compatible /v1/chat/completions endpoint; /v1/responses also works and is the one that runs live web search. Failed requests are never billed. Through APIMODELS platform, you can access this model via a unified API with transparent pay-as-you-go pricing. Current pricing: Input: $1.765, Output: $5.294 per 1M tokens.
Build intelligent conversational systems to automatically answer user queries and improve service efficiency.
Automatically write articles, emails, ad copy, and other text content to boost productivity.
Assist with code writing, debugging, and code review to accelerate software development.
Understand and analyze unstructured data, extract key insights, and generate summary reports.
Grok 4.6 is available through APIMODELS at: Input: $1.765, Output: $5.294 per 1M tokens. Billing is pay-as-you-go — you only pay for what you generate.
Sign up at APIMODELS, get your API key, and call our unified API endpoint. We provide detailed API documentation with code examples in cURL, Python, and Node.js.
APIMODELS offers the same Grok 4.6 model through our aggregation platform. We provide a unified API interface so you do not need separate accounts for each provider - one API key to access all models.
$1.765 per 1M input tokens and $5.294 per 1M output, with cached input at $0.441. xAI official is $2.00 / $6.00, so both sides are 12% cheaper here. Pay-as-you-go, no minimum top-up, no subscription, and failed requests are never billed. Its sibling Grok 4.5 is $1.5 / $5 — cheaper, one capability tier down.
POST https://apimodels.app/api/v1/chat/completions with Authorization: Bearer YOUR_API_KEY and body {"model":"grok-4.6","messages":[{"role":"user","content":"..."}]}. It is plain OpenAI shape, so pointing openai-python or openai-node at base_url=https://apimodels.app/api/v1 works as-is, and so do Cursor, Cline and Codex. Add stream:true for streaming. /v1/responses is supported too.
The 4.6 release is aimed at long-running agents: tasks that span many steps — working across a codebase, turning an idea into a finished artifact — hold together better, and the model does more self-checking along the way. It scores 61 on the Artificial Analysis Intelligence Index, level with GPT-5.6 Sol, and beats 4.5 (56) on every published eval. Take Grok 4.5 ($1.5 / $5) when budget matters and tasks are short; take 4.6 for sustained work. Same endpoint — switching is a one-field change.
Yes, and we stress-tested it rather than smoke-testing it: non-streaming, multi-turn with tool results fed back, streaming, and parallel tool calls in one turn all passed 5/5. Then 12 concurrent calls against a nested schema with enums and arrays came back 12/12 correct — arguments parsed cleanly, no cross-request mixing. Grok upstreams have historically had intermittent tool-call failures on mixed pools; this channel did not reproduce that.
low, medium, high and xhigh, with high as the default. On one fixed prompt we measured 464 / 1,720 / 2,663 / 3,341 reasoning tokens respectively — strictly increasing, and unlike GPT-5.6, xhigh genuinely is the deepest tier for this model. The default level takes about 53 seconds, so set your client timeout above 60 seconds rather than leaving it at 30.
Because billed output tokens include reasoning tokens. A measured example: the model replied with a single number — one visible token — after spending 1,052 tokens reasoning, and the call bills 1,053. This is not padding on our side; the upstream charges us on exactly that basis and we pass it through. Lower reasoning_effort when you do not need the depth and the cost drops immediately.
Image input works — in testing it read text out of a picture accurately. Live web search runs on the **/v1/responses** endpoint with tools:[{"type":"web_search"}]; there it genuinely executes, returning web_search_call entries and real citation URLs. Passing search_parameters to /v1/chat/completions currently does nothing — the model emits the tool call as plain text instead — so do not rely on it on that path.
500K tokens. It is directly reachable from mainland China with no xAI account and no VPN, and the same API key also reaches every other model on the platform. Long conversations hit prompt caching automatically, billing the cached portion at $0.441 instead of $1.765; we also keep per-conversation routing sticky so repeat turns keep landing on a cache-warm server.
On APIMODELS, Grok 4.6 runs alongside 60+ models on one API key and one balance, so choosing is about fit, not lock-in. It supports Frontier, Long-Running Agents, Tool Calling, 500K Context, Vision, and you can weigh it on price and capability against other Large Language Model models, then switch by changing a single model-name string — no new account or integration. Browse every Large Language Model option with live pricing at apimodels.app/models.
Grok 4.6 supports: Frontier, Long-Running Agents, Tool Calling, 500K Context, Vision. See the APIMODELS docs for full parameters and call examples.
Yes. APIMODELS exposes Grok 4.6 through a single unified API and one key — no separate provider accounts, and no need to handle each provider's regional network access yourself.
We support Stripe (Visa, Mastercard, and other international cards) and Alipay. Credits are available instantly after payment.