xAI
Grok 4.6
Previous version of Grok 4.7.
x-ai/grok-4.6- Input → Output
- Text, images → Text/Text
- Maximum input
- 200K tokens
- Provider
- 1
- Tool invocation
- Yes
Price per million tokens
- Input
- 3,240 credits
- Output
- 9,720 credits
- Cached input reads
- 810 credits
Provider
Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.
| Provider | Input / 1M | Output / 1M | Cache read | First token | Throughput | Uptime |
|---|---|---|---|---|---|---|
| Amazon Bedrock | 3,240 credits | 9,720 credits | 810 credits | - | - | - |
Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.
Use the API
from openai import OpenAI
client = OpenAI(
base_url="https://alprouter.com/api/v1",
api_key="alp-your-key",
)
answer = client.chat.completions.create(
model="x-ai/grok-4.6",
messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)Details
- Maximum input
- 200K tokens
- Maximum output
- 128K tokens
- Tool invocation
- Supported
- Supported input
- Text, images
- Output
- Text/Text
- Provider
- Amazon Bedrock
- Supported parameters
- max_completion_tokens, max_tokens, reasoning_effort, response_format, stream, tool_choice, tools
Frequently asked questions
What kind of model is Grok 4.6?
A model from xAI. Previous version of Grok 4.7. Model ID on AlpRouter: x-ai/grok-4.6
How much does Grok 4.6 cost?
Per million tokens: 3,240 credits input, 9,720 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.
How much input does Grok 4.6 accept?
Each request accepts up to 200K tokens. The maximum output is 128K tokens.
What input and output does Grok 4.6 support?
Send Text, images to receive Text/Text.
Does Grok 4.6 support tool calling and structured JSON?
Tool calling: Supported. Structured output (response_format): Supports the json_schema format..
Which providers handle Grok 4.6 requests?
Amazon Bedrock handles these requests.
How do I call Grok 4.6 from code?
Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (x-ai/grok-4.6). There’s an example of how to do this in the “Using the API” section above.
Other models from xAI
- Grok 4.7x-ai/grok-4.7Input 3,240 credits
- Grok 4.3x-ai/grok-4.3Input 2,025 credits
- Grok 4.20x-ai/grok-4.20Input 2,025 credits
- Grok 4.20 (non-reasoning)x-ai/grok-4.20-non-reasoningInput 2,025 credits
- Grok 4.1 Fastx-ai/grok-4.1-fastInput 324 credits
- Grok 4.1 Fast (non-reasoning)x-ai/grok-4.1-fast-non-reasoningInput 324 credits