Try Bifrost Enterprise free for 14 days.
Request access

grok-3 Cost Calculator - Vercel Ai Gateway

Calculate the cost of using grok-3 from Vercel Ai Gateway for your AI applications

Pricing data last updated:

grok-3 Cost Calculator

Mode: Chat

Max: 131,072 tokens

Max: 131,072 tokens

Cost Breakdown

Input Cost$0.003000
Output Cost$0.015000
Total Cost$0.018000

Pricing Details

Input: $0.00000300 per token
Output: $0.00001500 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

Limits

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

About grok-3

grok-3 is a chat model from Vercel Ai Gateway, one of 95 chat models they offer. It is priced at $3.00 per 1M input tokens and $15.00 per 1M output tokens, ranking 1900 out of 2161 chat models by cost and cheaper than 11% of models in this category. grok-3 supports function calling. It accepts up to 131K input tokens.

Pricing Information

Input Cost$3.00 per 1M tokens
Output Cost$15.00 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

How grok-3 Pricing Compares

At $3.00 per 1M input tokens and $15.00 per 1M output tokens, grok-3 ranks 1900 out of 2161 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 95 Vercel Ai Gateway chat models, with support for function calling.

ModelProviderInput / 1M tokensOutput / 1M tokensvs grok-3
us.writer.palmyra-x4-v1:0AWS Bedrock$2.50$10.00-17%
writer.palmyra-x4-v1:0AWS Bedrock$2.50$10.00-17%
anthropic.claude-3-5-sonnet-20240620-v1:0AWS Bedrock$3.00$15.000%

Alternatives to grok-3

Similar chat models from other providers

AWS Bedrock
us.writer.palmyra-x4-v1:0
$2.50/1M input
-17% vs grok-3
AWS Bedrock
writer.palmyra-x4-v1:0
$2.50/1M input
-17% vs grok-3

Frequently Asked Questions

Is grok-3 cheaper than us.writer.palmyra-x4-v1:0?

No. grok-3 costs $3.00 per 1M input tokens while us.writer.palmyra-x4-v1:0 costs $2.50 per 1M input tokens, making us.writer.palmyra-x4-v1:0 17% more affordable for input. However, grok-3 may offer different capabilities or performance characteristics that justify the price difference.

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

grok-3 input pricing is $3.00 per 1M tokens, which is 445% above the median of $0.55 for chat models. It ranks 1900 out of 2161 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.

What makes grok-3 different from other Vercel Ai Gateway models?

Among Vercel Ai Gateway's 95 chat models, grok-3 ranks 85 by input cost.

What are the best alternatives to grok-3?

The most comparable chat models to grok-3 are: us.writer.palmyra-x4-v1:0 from AWS Bedrock ($2.50/1M input tokens); writer.palmyra-x4-v1:0 from AWS Bedrock ($2.50/1M input tokens); anthropic.claude-3-5-sonnet-20240620-v1:0 from AWS Bedrock ($3.00/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.

How do I calculate grok-3 costs?

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.