Try Bifrost Enterprise free for 14 days.
Request access

grok-4 Cost Calculator - Replicate

Calculate the cost of using grok-4 from Replicate for your AI applications

Pricing data last updated:

grok-4 Cost Calculator

Mode: Chat

Cost Breakdown

Input Cost$0.007200
Output Cost$0.036000
Total Cost$0.043200

Pricing Details

Input: $0.00000720 per token
Output: $0.00003600 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

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

About grok-4

grok-4 is a chat model from Replicate, one of 40 chat models they offer. It is priced at $7.20 per 1M input tokens and $36.00 per 1M output tokens, ranking 2174 out of 2292 chat models by cost and cheaper than 5% of models in this category. grok-4 supports function calling.

Pricing Information

Input Cost$7.20 per 1M tokens
Output Cost$36.00 per 1M tokens

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

Model Capabilities

Function Calling - Execute custom functions and tools
System Messages - Configure model behavior

How grok-4 Pricing Compares

At $7.20 per 1M input tokens and $36.00 per 1M output tokens, grok-4 ranks 2174 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 5% of models in this category.

grok-4 is one of 40 Replicate chat models, with support for function calling.

ModelProviderInput / 1M tokensOutput / 1M tokensvs grok-4
mistral-large-2402Azure$8.00$24.00+11%
mistral.mistral-large-2402-v1:0AWS Bedrock$8.00$24.00+11%
claude-3.5-sonnetOpenRouter$6.00$30.00-17%

Alternatives to grok-4

Similar chat models from other providers

AWS Bedrock
mistral.mistral-large-2402-v1:0
$8.00/1M input
+11% vs grok-4
OpenRouter
claude-3.5-sonnet
$6.00/1M input
-17% vs grok-4
AWS Bedrock
anthropic.claude-v1
$8.00/1M input
+11% vs grok-4
AWS Bedrock
anthropic.claude-v2:1
$8.00/1M input
+11% vs grok-4

Frequently Asked Questions

Is grok-4 cheaper than mistral-large-2402?

Yes. grok-4 costs $7.20 per 1M input tokens compared to mistral-large-2402's $8.00 per 1M input tokens, making it 11% more affordable. Both are chat models and share support for function calling.

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

grok-4 input pricing is $7.20 per 1M tokens, which is 1209% above the median of $0.55 for chat models. It ranks 2174 out of 2292 chat models by input cost, making it cheaper than 5% of models in this category. For output, it costs $36.00 per 1M tokens compared to the median of $1.50.

What makes grok-4 different from other Replicate models?

Among Replicate's 40 chat models, grok-4 ranks 39 by input cost.

What are the best alternatives to grok-4?

The most comparable chat models to grok-4 are: mistral-large-2402 from Azure ($8.00/1M input tokens); mistral.mistral-large-2402-v1:0 from AWS Bedrock ($8.00/1M input tokens); claude-3.5-sonnet from OpenRouter ($6.00/1M input tokens); anthropic.claude-v1 from AWS Bedrock ($8.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 check if Replicate is down?

You can monitor Replicate service health in real time on the Bifrost Replicate Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

How do I calculate grok-4 costs?

grok-4 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 $7.20 and generating 1M output tokens costs $36.00.