Grok 4.6 API Pricing
As of October 10, 2026, Grok 4.6 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on xAI, with cache reads at $0.50 per 1M tokens. Across 7 providers on LiteLLM, the input price ranges from $2.00 to $2.20. It has a 500,000-token context window and returns up to 500,000 tokens per response.
- Input
- $2.00 / 1M tokens
- Output
- $6.00 / 1M tokens
- Cache read
- $0.50 / 1M tokens
- Context window
- 500,000 tokens
- Max output
- 500,000 tokens
- Providers
- 7
- Added to LiteLLM
- August 13, 2026
Grok 4.6 pricing by provider
11 listings across 7 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| xAI | xai/grok-4.6 | $2.00 | $6.00 | $0.50 | 500K |
| AIHubMix | aihubmix/grok-4.6 | $2.00 | $6.00 | $0.50 | 500K |
| Amazon Bedrock Mantle | bedrock_mantle/xai.grok-4.6 | $2.20 | $6.60 | $0.55 | 500K |
| Azure AI Foundry | azure_ai/grok-4.6 | $2.00 | $6.00 | $0.50 | 200K |
| Google Vertex AI | vertex_ai/xai/grok-4.6 | $2.00 | $6.00 | $0.50 | 512K |
| Perplexity | perplexity/xai/grok-4.6 | $2.00 | $6.00 | $0.50 | – |
| Amazon BedrockGlobal cross-region | global.xai.grok-4.6 | $2.00 | $6.00 | $0.50 | 500K |
| Amazon BedrockUS GovCloud cross-region | us-gov.xai.grok-4.6 | $2.64 | $7.92 | $0.66 | 500K |
| Amazon BedrockUS cross-region | us.xai.grok-4.6 | $2.20 | $6.60 | $0.55 | 500K |
| Amazon Bedrock Mantleus-gov-east-1 | bedrock_mantle/us-gov-east-1/xai.grok-4.6 | $2.64 | $7.92 | $0.66 | 500K |
| Amazon Bedrock Mantleus-gov-west-1 | bedrock_mantle/us-gov-west-1/xai.grok-4.6 | $2.64 | $7.92 | $0.66 | 500K |
Other Grok 4.6 prices on xAI
| Input above 200K tokens | $4.00 per 1M tokens |
| Output above 200K tokens | $12.00 per 1M tokens |
| Cache read above 200K tokens | $1.00 per 1M tokens |
What Grok 4.6 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| xAI | $7.00 |
| AIHubMix | $7.00 |
| Azure AI Foundry | $7.00 |
| Google Vertex AI | $7.00 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| xAI | $21.20 |
| AIHubMix | $21.20 |
| Azure AI Foundry | $21.20 |
| Google Vertex AI | $21.20 |
Grok 4.6 features
- Function calling
- Structured output
- Image input
- Reasoning
- Prompt caching
- Web search
Use Grok 4.6 with LiteLLM
Call Grok 4.6 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="xai/grok-4.6",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: grok-4.6
litellm_params:
model: xai/grok-4.6
api_key: os.environ/XAI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "grok-4.6",
"messages": [{"role": "user", "content": "Hello!"}]
}'Grok 4.6 FAQ
How much does Grok 4.6 cost?
Grok 4.6 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on xAI, with cache reads at $0.50 per 1M tokens. Above 200K input tokens, input costs $4.00 and output costs $12.00 per 1M tokens. Across 7 providers on LiteLLM, the input price ranges from $2.00 to $2.20.
What is the context window of Grok 4.6?
Grok 4.6 has a 500,000-token context window and returns up to 500,000 tokens per response.
Which providers offer Grok 4.6?
Grok 4.6 is available from 7 providers through LiteLLM: xAI, AIHubMix, Amazon Bedrock Mantle, Azure AI Foundry, Google Vertex AI, Perplexity and Amazon Bedrock. The lowest price is on xAI.
How do I call Grok 4.6 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="xai/grok-4.6", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Grok 4.6 support?
Grok 4.6 supports function calling, structured output, image input, reasoning, prompt caching and web search.
When did LiteLLM add Grok 4.6?
Grok 4.6 was added to LiteLLM's model price file on August 13, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
- api.x.ai/v1/language-models
- aihubmix.com/api/v1/models
- docs.aws.amazon.com/bedrock/latest/userguide/model-card-xai-grok-4-6.html
- azure.microsoft.com/en-us/pricing/details/ai-foundry-models/grok/
LiteLLM docs: xAI, AIHubMix, Amazon Bedrock Mantle, Azure AI Foundry, Google Vertex AI, Perplexity.
Provider pages: xAI, AIHubMix, Amazon Bedrock Mantle, Azure AI Foundry, Google Vertex AI, Perplexity, Amazon Bedrock.
