Try Bifrost Enterprise free for 14 days.
Request access

xai.grok-code-fast-1 Cost Calculator - Oci

Calculate the cost of using xai.grok-code-fast-1 from Oci for your AI applications

Pricing data last updated:

xai.grok-code-fast-1 Cost Calculator

Mode: Chat

Max: 131,072 tokens

Max: 131,072 tokens

Cost Breakdown

Input Cost$0.005000
Output Cost$0.025000
Total Cost$0.030000

Pricing Details

Input: $0.00000500 per token
Output: $0.00002500 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 xai.grok-code-fast-1

xai.grok-code-fast-1 is a chat model from Oci, one of 35 chat models they offer. It is priced at $5.00 per 1M input tokens and $25.00 per 1M output tokens, ranking 2113 out of 2292 chat models by cost and cheaper than 6% of models in this category. xai.grok-code-fast-1 supports function calling. It accepts up to 131K input tokens.

Pricing Information

Input Cost$5.00 per 1M tokens
Output Cost$25.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 xai.grok-code-fast-1 Pricing Compares

At $5.00 per 1M input tokens and $25.00 per 1M output tokens, xai.grok-code-fast-1 ranks 2113 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 6% of models in this category.

xai.grok-code-fast-1 is one of 35 Oci chat models, with support for function calling.

ModelProviderInput / 1M tokensOutput / 1M tokensvs xai.grok-code-fast-1
anthropic.claude-opus-4-5-20251101-v1:0AWS Bedrock$5.00$25.000%
anthropic.claude-opus-4-6-v1AWS Bedrock$5.00$25.000%
global.anthropic.claude-opus-4-6-v1AWS Bedrock$5.00$25.000%

Alternatives to xai.grok-code-fast-1

Similar chat models from other providers

AWS Bedrock
anthropic.claude-opus-4-5-20251101-v1:0
$5.00/1M input
0% vs xai.grok-code-fast-1
AWS Bedrock
anthropic.claude-opus-4-6-v1
$5.00/1M input
0% vs xai.grok-code-fast-1
AWS Bedrock
global.anthropic.claude-opus-4-6-v1
$5.00/1M input
0% vs xai.grok-code-fast-1
AWS Bedrock
us.anthropic.claude-opus-4-6-v1
$5.50/1M input
+10% vs xai.grok-code-fast-1
AWS Bedrock
eu.anthropic.claude-opus-4-6-v1
$5.50/1M input
+10% vs xai.grok-code-fast-1

Frequently Asked Questions

Is xai.grok-code-fast-1 cheaper than anthropic.claude-opus-4-5-20251101-v1:0?

No. xai.grok-code-fast-1 costs $5.00 per 1M input tokens while anthropic.claude-opus-4-5-20251101-v1:0 costs $5.00 per 1M input tokens, making anthropic.claude-opus-4-5-20251101-v1:0 0% more affordable for input. However, xai.grok-code-fast-1 may offer different capabilities or performance characteristics that justify the price difference.

How does xai.grok-code-fast-1 pricing compare to the average chat model?

xai.grok-code-fast-1 input pricing is $5.00 per 1M tokens, which is 809% above the median of $0.55 for chat models. It ranks 2113 out of 2292 chat models by input cost, making it cheaper than 6% of models in this category. For output, it costs $25.00 per 1M tokens compared to the median of $1.50.

What makes xai.grok-code-fast-1 different from other Oci models?

Among Oci's 35 chat models, xai.grok-code-fast-1 ranks 34 by input cost.

What are the best alternatives to xai.grok-code-fast-1?

The most comparable chat models to xai.grok-code-fast-1 are: anthropic.claude-opus-4-5-20251101-v1:0 from AWS Bedrock ($5.00/1M input tokens); anthropic.claude-opus-4-6-v1 from AWS Bedrock ($5.00/1M input tokens); global.anthropic.claude-opus-4-6-v1 from AWS Bedrock ($5.00/1M input tokens); us.anthropic.claude-opus-4-6-v1 from AWS Bedrock ($5.50/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 xai.grok-code-fast-1 costs?

xai.grok-code-fast-1 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 $5.00 and generating 1M output tokens costs $25.00.