Try Bifrost Enterprise free for 14 days.
Request access

grok-3-mini Cost Calculator - xAI

Calculate the cost of using grok-3-mini from xAI for your AI applications

Pricing data last updated:

grok-3-mini Cost Calculator

Mode: Chat

Max: 131,072 tokens

Max: 131,072 tokens

Cost Breakdown

Input Cost$0.00030000
Output Cost$0.00050000
Total Cost$0.00080000

Pricing Details

Input: $0.0000003000 per token
Output: $0.0000005000 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

Function Calling
Reasoning
Web Search

Limits

Max Input Tokens131,072
Max Output Tokens131,072
Max Tokens131,072

About grok-3-mini

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.

Pricing Information

Input Cost$0.30 per 1M tokens
Output Cost$0.50 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens131,072
Maximum Output Tokens131,072
Maximum Total Tokens131,072

Pro Tip

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.

Model Capabilities

Function Calling - Execute custom functions and tools
Advanced Reasoning - Complex problem-solving capabilities
Web Search - Access real-time web information
Prompt Caching - Optimize repeated prompts

How grok-3-mini Pricing Compares

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.

ModelProviderInput / 1M tokensOutput / 1M tokensvs grok-3-mini
gemini-2.5-flashVertex AI$0.30$2.500%
gemini-2.5-flash-preview-09-2025Vertex AI$0.30$2.500%
gemini-2.5-flashGoogle Gemini$0.30$2.500%

Alternatives to grok-3-mini

Similar chat models from other providers

Vertex AI
gemini-2.5-flash
$0.30/1M input
0% vs grok-3-mini
Google Gemini
gemini-2.5-flash
$0.30/1M input
0% vs grok-3-mini
Google Gemini
gemini-flash-latest
$0.30/1M input
0% vs grok-3-mini

Frequently Asked Questions

Is grok-3-mini cheaper than gemini-2.5-flash?

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.

How does grok-3-mini pricing compare to the average chat model?

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.

What makes grok-3-mini different from other xAI models?

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.

What are the best alternatives to grok-3-mini?

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.

How do I calculate grok-3-mini costs?

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.