Calculate the cost of using grok-code-fast-1-0825 from xAI for your AI applications
Pricing data last updated:
Mode: Chat
Max: 256,000 tokens
Max: 256,000 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
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.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
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.
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.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs grok-code-fast-1-0825 |
|---|---|---|---|---|
| anthropic.claude-haiku-4-5-20251001-v1:0 | AWS Bedrock | $1.00 | $5.00 | 0% |
| anthropic.claude-haiku-4-5@20251001 | AWS Bedrock | $1.00 | $5.00 | 0% |
| apac.anthropic.claude-haiku-4-5-20251001-v1:0 | AWS Bedrock | $1.10 | $5.50 | +10% |
Similar chat models from other providers
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.
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.
Among xAI's 41 chat models, grok-code-fast-1-0825 ranks 16 by input cost.
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.
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.