Try Bifrost Enterprise free for 14 days.
Request access

grok-code-fast-1-0825 Cost Calculator - xAI

Calculate the cost of using grok-code-fast-1-0825 from xAI for your AI applications

Pricing data last updated:

grok-code-fast-1-0825 Cost Calculator

Mode: Chat

Max: 256,000 tokens

Max: 256,000 tokens

Cost Breakdown

Input Cost$0.001000
Output Cost$0.002000
Total Cost$0.003000

Pricing Details

Input: $0.00000100 per token
Output: $0.00000200 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
Vision
Reasoning

Limits

Max Input Tokens256,000
Max Output Tokens256,000
Max Tokens256,000

About grok-code-fast-1-0825

grok-code-fast-1-0825 is a chat model from xAI, one of 41 chat models they offer. It is priced at $1.00 per 1M input tokens and $2.00 per 1M output tokens, ranking 1761 out of 2661 chat models by cost and cheaper than 33% of models in this category. grok-code-fast-1-0825 supports vision, function calling, reasoning, prompt caching, structured output. Its 256K-token context window is in the top 32% among chat models.

Pricing Information

Input Cost$1.00 per 1M tokens
Output Cost$2.00 per 1M tokens

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

Technical Specifications

Maximum Input Tokens256,000
Maximum Output Tokens256,000
Maximum Total Tokens256,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 256,000 input tokens. The maximum output length is 256,000 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Vision - Process and understand images
Advanced Reasoning - Complex problem-solving capabilities
Prompt Caching - Optimize repeated prompts
Response Schema - Structured output formatting

How grok-code-fast-1-0825 Pricing Compares

At $1.00 per 1M input tokens and $2.00 per 1M output tokens, grok-code-fast-1-0825 ranks 1761 out of 2661 chat models by input cost. It is more expensive compared to the median of $0.50 for chat models, and is cheaper than 33% of models in this category.

grok-code-fast-1-0825 is one of 41 xAI chat models, with support for vision, function calling, reasoning, prompt caching, structured output. its 256K-token context window places it in the top 32% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs grok-code-fast-1-0825
anthropic.claude-haiku-4-5-20251001-v1:0AWS Bedrock$1.00$5.000%
anthropic.claude-haiku-4-5@20251001AWS Bedrock$1.00$5.000%
apac.anthropic.claude-haiku-4-5-20251001-v1:0AWS Bedrock$1.10$5.50+10%

Alternatives to grok-code-fast-1-0825

Similar chat models from other providers

AWS Bedrock
anthropic.claude-haiku-4-5-20251001-v1:0
$1.00/1M input
0% vs grok-code-fast-1-0825
AWS Bedrock
anthropic.claude-haiku-4-5@20251001
$1.00/1M input
0% vs grok-code-fast-1-0825
AWS Bedrock
apac.anthropic.claude-haiku-4-5-20251001-v1:0
$1.10/1M input
+10% vs grok-code-fast-1-0825
Azure
claude-haiku-4-5
$1.00/1M input
0% vs grok-code-fast-1-0825
Azure
gpt-5.6-luna
$1.00/1M input
0% vs grok-code-fast-1-0825

Frequently Asked Questions

Is grok-code-fast-1-0825 cheaper than anthropic.claude-haiku-4-5-20251001-v1:0?

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

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

grok-code-fast-1-0825 input pricing is $1.00 per 1M tokens, which is 100% above the median of $0.50 for chat models. It ranks 1761 out of 2661 chat models by input cost, making it cheaper than 33% of models in this category. For output, it costs $2.00 per 1M tokens compared to the median of $1.44.

What makes grok-code-fast-1-0825 different from other xAI models?

Among xAI's 41 chat models, grok-code-fast-1-0825 ranks 16 by input cost.

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

The most comparable chat models to grok-code-fast-1-0825 are: anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.00/1M input tokens); anthropic.claude-haiku-4-5@20251001 from AWS Bedrock ($1.00/1M input tokens); apac.anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.10/1M input tokens); claude-haiku-4-5 from Azure ($1.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-code-fast-1-0825 costs?

grok-code-fast-1-0825 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 $1.00 and generating 1M output tokens costs $2.00.