← All models
SpaceXAI · Language model
Grok 4.6
x-ai/grok-4.6- Language
Grok 4.6 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM. It is succeeded by [Grok 4.7](/x-ai/grok-4.7).
Specifications
- Context window
- 500,000 tokens
- Max output
- 450,000 tokens
- Input
- text, image, file
- Output
- text
- Reasoning effort
- xhigh, high, medium, low (always on)
- Tokenizer
- Grok
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- logprobs
- max_tokens
- reasoning
- reasoning_effort
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_logprobs
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"x-ai/grok-4.6","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'