← All models
xAI logo

Grok 4.6

x-ai/grok-4.6

xAI's frontier model, with strong coding, knowledge-work and STEM performance and a 500k-token context. Accepts text and images. Served through a third party; weights are not published.

Get an API key

Endpoints

Each row is one provider serving these weights at one precision. Prices are per million tokens.

QuantisationContextMax outInputOutputCached in
Undisclosed488K488K$2.00$6.00$0.50

Agent config

Paste this into your coding agent and it can configure itself. The timeout is derived from this variant's measured throughput, not a guess — a long generation that outlives a client's default ceiling is the most common way a working request looks broken.

# Infersia — x-ai/grok-4.6
# Paste this to your agent. Values are measured, not aspirational.

provider:
  type: openai-compatible
  base_url: https://api.infersia.com/v1
  api_key: ${INFERSIA_API_KEY}   # from https://infersia.com/dashboard/keys
  model: x-ai/grok-4.6

limits:
  max_input_tokens: 500000      # hard limit — over this returns HTTP 413
  max_output_tokens: 500000
  timeout_seconds: 600                  # no throughput measured yet; 600 is a safe default

features:
  streaming: true
  tools: false
  vision: false
  reasoning: false
  prompt_caching: false

pricing_usd_per_million_tokens:
  input: 2
  output: 6
  cached_input: 0.5

What Undisclosed means

This model is served on capacity we buy rather than hardware we operate, so we cannot verify the precision it is served at. We would rather say that than print a figure we are guessing at.

Call it

curlbash
curl https://api.infersia.com/v1/chat/completions \
  -H "Authorization: Bearer $INFERSIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4.6",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'

Pin a provider with x-ai/grok-4.6@infersia, or take the cheapest with the bare id. Add :free for the rate-limited free tier where one exists.