Calculate the cost of using grok-3-mini 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-mini is a chat model from xAI, one of 38 chat models they offer. It is priced at $0.30 per 1M input tokens and $0.50 per 1M output tokens, ranking 876 out of 2161 chat models by cost and cheaper than 58% of models in this category. grok-3-mini supports function calling, reasoning, web search, prompt caching — one of only 7 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 $0.30 per 1M input tokens and $0.50 per 1M output tokens, grok-3-mini ranks 876 out of 2161 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 58% of models in this category.
grok-3-mini is one of 38 xAI chat models, one of only 7 chat models combining function calling, prompt caching, reasoning, web search.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs grok-3-mini |
|---|---|---|---|---|
| gemini-2.5-flash | Vertex AI | $0.30 | $2.50 | 0% |
| gemini-2.5-flash-preview-09-2025 | Vertex AI | $0.30 | $2.50 | 0% |
| gemini-2.5-flash | Google Gemini | $0.30 | $2.50 | 0% |
Similar chat models from other providers
No. grok-3-mini costs $0.30 per 1M input tokens while gemini-2.5-flash costs $0.30 per 1M input tokens, making gemini-2.5-flash 0% more affordable for input. However, grok-3-mini may offer different capabilities or performance characteristics that justify the price difference.
grok-3-mini input pricing is $0.30 per 1M tokens, which is 45% below the median of $0.55 for chat models. It ranks 876 out of 2161 chat models by input cost, making it cheaper than 58% of models in this category. For output, it costs $0.50 per 1M tokens compared to the median of $1.44.
Among xAI's 38 chat models, grok-3-mini ranks 11 by input cost. Its combination of function calling, prompt caching, reasoning, web search is shared by only 6 other chat models.
The most comparable chat models to grok-3-mini are: gemini-2.5-flash from Vertex AI ($0.30/1M input tokens); gemini-2.5-flash-preview-09-2025 from Vertex AI ($0.30/1M input tokens); gemini-2.5-flash from Google Gemini ($0.30/1M input tokens); gemini-2.5-flash-preview-09-2025 from Google Gemini ($0.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-3-mini 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 $0.30 and generating 1M output tokens costs $0.50.