Skip to navigation

Grok 4.6

Grok 4.6 is a balanced model by xAI, available through the OpenAI-compatible API under the model id grok-4.6. Input costs $2 and output $6 per 1M tokens. It has a 500k-token context window.

xAI · Grok · Balanced

Unavailable

An earlier xAI Grok with fast responses. Grok 4.7 is newer and costs less.

Requests to this model fail right now: it has no working upstream. The rates below are what it will cost when it returns.

Grok 4.6 key facts
VendorxAI
Model IDgrok-4.6
Input price per 1M tokens$2.00
Output price per 1M tokens$6.00
Context window500k tokens
Max outputNot published
API formatsOpenAI
Prices checked

Model id

grok-4.6

Price per 1M tokens

Input
$2.00
Output
$6.00
Cached input
$0.5075% below input

Output is 3× the input rate. $1 covers about 200 prompts of 1,000 input + 500 output tokens. 1 credit = $1 of usage. All rates

Start using Grok 4.6

Set ONEAIAPIKEY_API_KEY to a key from your console, then run any example. Streaming is on so long answers are not cut off by idle-connection timeouts.

curl https://api.oneaiapikey.com/v1/chat/completions \
  -H "Authorization: Bearer $ONEAIAPIKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.6",
    "stream": true,
    "messages": [{"role": "user", "content": "What does HTTP status 409 mean, in one sentence?"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oneaiapikey.com/v1",
    api_key=os.environ["ONEAIAPIKEY_API_KEY"],
)

stream = client.chat.completions.create(
    model="grok-4.6",
    messages=[{"role": "user", "content": "What does HTTP status 409 mean, in one sentence?"}],
    stream=True,  # recommended for long outputs
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.oneaiapikey.com/v1",
  apiKey: process.env.ONEAIAPIKEY_API_KEY,
});

const stream = await client.chat.completions.create({
  model: "grok-4.6",
  messages: [{ role: "user", content: "What does HTTP status 409 mean, in one sentence?" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}

More: quickstart · API reference · try it in Chat first

Benchmarks reported by the vendor

Scores for Grok 4.6 as its maker published them, with the setting they state. We have not re-run them. Versions and settings differ between vendors, so compare only identical benchmark names; compare models side by side.

Tokens per day, by model

Last 7 days, UTC days

Hover, tap or drag across any day, or focus the chart and use the arrow keys, to see how every model did that day.

Real tokens served through this gateway, updated every 30 minutes. Ranked by usage, not quality.

Full ranking insights

Grok line-up

Grok 4.6 or Grok 4.7 or Grok 4.7 Fast?

Of the 3 Grok models on this site, Grok 4.7 is the step up from Grok 4.6 and Grok 4.7 Fast the step down. Each comparison lists the published rates and limits, then what favours each side.

Grok 4.6vsGrok 4.7

Per 1M tokensGrok 4.6Grok 4.7
Input$243% more$1.40
Output$643% more$4.20
Cached input$0.50the same$0.50
Context500kthe same500k

Pick Grok 4.6 when

  • the work is fast answers and chat, which this catalogue lists for Grok 4.6 and not for Grok 4.7.

Pick Grok 4.7 instead when

  • the job runs well enough on the lower rates: input at 30% less and output at 30% less.
  • Grok 4.6 falls short and you want the flagship model of the pair.
  • your workload looks like tool calling and long context, labels the catalogue gives Grok 4.7 only.

Grok 4.6vsGrok 4.7 Fast

Pick Grok 4.6 when

  • the task needs a higher tier: this catalogue places Grok 4.6 in the balanced tier and Grok 4.7 Fast in the fast tier.
  • the work is fast answers and research, which this catalogue lists for Grok 4.6 and not for Grok 4.7 Fast.

Pick Grok 4.7 Fast instead when

  • a free model covers the work until the promotion ends.
  • Grok 4.6 bills long prompts at a higher rate (2× above 200k tokens).
  • your workload looks like quick answers and agent tasks, labels the catalogue gives Grok 4.7 Fast only.

Use cases

What Grok 4.6 is listed for, and what it costs

The catalogue lists Grok 4.6 for fast answers, research and chat. Each row prices one typical request at the published rates, with the arithmetic shown. Token counts are examples; your prompts will differ.

Model your own traffic

  1. Fast answers

    A short question and a short answer: 300 tokens in, 250 tokens out.

    Use streaming so the first tokens appear almost immediately.

    “What does HTTP status 409 mean, in one sentence?”

    Same request on Grok 4.7 $0.00147 and Grok 4.7 Fast $0.

    $0.0021

    per answer, about 4,761 per $10

    0.0003 × $2 + 0.00025 × $6

  2. Research

    A research question with search results attached: 25,000 tokens in, a 1,500-token summary out.

    Break broad questions into focused sub-questions for better answers.

    “Compare these five articles on SQLite in production and summarise where they disagree.”

    Same request on Grok 4.7 $0.0413 and Grok 4.7 Fast $0.

    $0.059

    per summary, about 169 per $10

    0.025 × $2 + 0.0015 × $6

  3. Chat

    One chat reply: 1,500 tokens of conversation history in, 400 tokens out.

    Low per-message cost keeps conversational products affordable at scale.

    “Explain the difference between a mutex and a semaphore in plain words.”

    Same request on Grok 4.7 $0.00378 and Grok 4.7 Fast $0.

    $0.0054

    per reply, about 1,851 per $10

    0.0015 × $2 + 0.0004 × $6

Overview

When Grok 4.6 fits

Grok 4.6 is a balanced model from xAI, available here under the exact model id “grok-4.6”. In the Grok line-up here it sits between Grok 4.7 and Grok 4.7 Fast.

xAI documents tools, vision, reasoning, structured output and prompt caching for it, and it reads images as well as text.

It costs $2 per million input tokens and $6 per million output tokens, so output is 3× the input rate. On the use cases below, output makes up 71% of the bill for fast answers, 15% for research and 44% for chat, so trimming the context you send saves more than capping the answer.

Cached input bills at $0.50 per million tokens, 75% below the standard input rate, which pays off when the same system prompt or documents go out on every request.

Above 200k prompt tokens, every token of the request bills at 2× these rates: one 300k-token prompt with a 2k-token answer costs $1.224, while 200k tokens with the same answer cost $0.412. Splitting large inputs below the threshold keeps the base rates.

It is served through the OpenAI-compatible format at https://api.oneaiapikey.com/v1, so any SDK or tool that lets you set a custom base URL, for example Codex CLI, Cursor and Cline, can use it. It is not offered on the Anthropic Messages endpoint; pick an Anthropic-format model for Claude Code.

Use Grok 4.6 with any balance.

Grok 4.6 is a paid model: any balance above $0 pays for it, the $10.00 sign-up credit included. When it runs out, add credit to your wallet. Every request is billed at the rates above, with a receipt in your usage log.

Grok 4.6 is developed by xAI. Model names and trademarks belong to their owners. One AI API Key is an independent API gateway and is not affiliated with, endorsed by or sponsored by xAI.

New accounts$10 credit on sign-up
Claim $10 credit →