Calculate the cost of using grok-4-0709 from xAI for your AI applications
Pricing data last updated:
Mode: Chat
Max: 256,000 tokens
Max: 256,000 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
grok-4-0709 is a chat model from xAI, one of 38 chat models they offer. It is priced at $3.00 per 1M input tokens and $15.00 per 1M output tokens, ranking 1935 out of 2292 chat models by cost and cheaper than 16% of models in this category. grok-4-0709 supports function calling, web search, prompt caching — one of only 11 chat models with this combination. Its 256K-token context window is in the top 29% among chat models.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 256,000 input tokens. The maximum output length is 256,000 tokens.
At $3.00 per 1M input tokens and $15.00 per 1M output tokens, grok-4-0709 ranks 1935 out of 2292 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 16% of models in this category.
grok-4-0709 is one of 38 xAI chat models, one of only 11 chat models combining function calling, prompt caching, web search. its 256K-token context window places it in the top 29% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs grok-4-0709 |
|---|---|---|---|---|
| anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.00 | $15.00 | 0% |
| global.anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.00 | $15.00 | 0% |
| us.anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.30 | $16.50 | +10% |
Similar chat models from other providers
Yes. grok-4-0709 costs $3.00 per 1M input tokens compared to anthropic.claude-sonnet-4-6's $3.00 per 1M input tokens, making it 0% more affordable. Both are chat models and share support for vision, function calling, reasoning, web search, prompt caching, structured output.
grok-4-0709 input pricing is $3.00 per 1M tokens, which is 445% above the median of $0.55 for chat models. It ranks 1935 out of 2292 chat models by input cost, making it cheaper than 16% of models in this category. For output, it costs $15.00 per 1M tokens compared to the median of $1.50.
Among xAI's 38 chat models, grok-4-0709 ranks 35 by input cost. Its combination of function calling, prompt caching, web search is shared by only 10 other chat models.
The most comparable chat models to grok-4-0709 are: anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.00/1M input tokens); global.anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.00/1M input tokens); us.anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.30/1M input tokens); eu.anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.30/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.
grok-4-0709 supports up to 256,000 input tokens, placing it in the top 29% of chat models by context window size (rank 599 of 2159). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.
grok-4-0709 is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $3.00 and generating 1M output tokens costs $15.00.