Grok 4.6 pricing

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
Grok 4.6
grok-4.6
standard$0.071749$0.01793725$0.215247Not publishedpreview

Prices are USD per million tokens. Cached input uses the cache-read rate when a cache hit is reported.

Compare variants

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
Grok 4.6
grok-4.6
standard$0.071749$0.01793725$0.215247Not publishedpreview

API compatibility and context

Exact model ID
grok-4.6
Variant
standard
Supported API
OpenAI-compatible Chat Completions
Availability
preview
Context window
Not published
Maximum input
Not published
Maximum output
Not published

Use Grok 4.6 through the API

Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID below.

cURL

curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-4.6","messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}],"max_tokens":256}'

Python

Install openai with pip. The examples request 256 output tokens and disable automatic retries. Check Usage after completion or a timeout before resending a paid request.

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["ROUTERHUB_API_KEY"],
    base_url="https://routerhub.si/v1",
    timeout=600.0,
    max_retries=0,
)
response = client.chat.completions.create(
    model="grok-4.6",
    messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
    max_tokens=256,
)
print(response.choices[0].message.content)

Grok 4.6 FAQ

What is Grok 4.6?

Grok 4.6 is a xAI language model served through RouterHub using the OpenAI-compatible Chat Completions API.

How much does Grok 4.6 cost?

RouterHub charges $0.071749 input / $0.01793725 cached / $0.215247 output per million tokens. Usage is billed against your prepaid balance.

What is the Grok 4.6 context window?

Context window: Not published. Maximum input: Not published. Maximum output: Not published.

Which API does Grok 4.6 support?

Use OpenAI-compatible Chat Completions with the exact model ID grok-4.6 and your RouterHub API key.

Which variants can I compare with Grok 4.6?

Compare Grok 4.6 with the models in the RouterHub directory using token prices, API support and context window.

Explore models and setup