Calculate the cost of using grok-3 from xAI for your AI applications
Pricing data last updated:
Mode: Chat
Max: 131,072 tokens
Max: 131,072 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
grok-3 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 1913 out of 2168 chat models by cost and cheaper than 11% of models in this category. grok-3 supports function calling, web search, prompt caching — one of only 11 chat models with this combination. It accepts up to 131K input tokens.
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 131,072 input tokens. The maximum output length is 131,072 tokens.
At $3.00 per 1M input tokens and $15.00 per 1M output tokens, grok-3 ranks 1913 out of 2168 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 11% of models in this category.
grok-3 is one of 38 xAI chat models, one of only 11 chat models combining function calling, prompt caching, web search.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs grok-3 |
|---|---|---|---|---|
| claude-4-sonnet-20250514 | Anthropic | $3.00 | $15.00 | 0% |
| claude-sonnet-4-5-20250929 | Anthropic | $3.00 | $15.00 | 0% |
| gpt-4o-search-preview | OpenAI | $2.50 | $10.00 | -17% |
Similar chat models from other providers
No. grok-3 costs $3.00 per 1M input tokens while claude-4-sonnet-20250514 costs $3.00 per 1M input tokens, making claude-4-sonnet-20250514 0% more affordable for input. However, grok-3 may offer different capabilities or performance characteristics that justify the price difference.
grok-3 input pricing is $3.00 per 1M tokens, which is 445% above the median of $0.55 for chat models. It ranks 1913 out of 2168 chat models by input cost, making it cheaper than 11% of models in this category. For output, it costs $15.00 per 1M tokens compared to the median of $1.44.
Among xAI's 38 chat models, grok-3 ranks 29 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-3 are: claude-4-sonnet-20250514 from Anthropic ($3.00/1M input tokens); claude-sonnet-4-5-20250929 from Anthropic ($3.00/1M input tokens); gpt-4o-search-preview from OpenAI ($2.50/1M input tokens); anthropic.claude-3-5-sonnet-20241022-v2:0 from AWS Bedrock ($3.00/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-3 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.