Calculate the cost of using grok-4-1-fast from xAI for your AI applications
Pricing data last updated:
Mode: Chat
Max: 2,000,000 tokens
Max: 2,000,000 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
grok-4-1-fast is a chat model from xAI, one of 38 chat models they offer. It is priced at $0.20 per 1M input tokens and $0.50 per 1M output tokens, ranking 724 out of 2292 chat models by cost and cheaper than 68% of models in this category. grok-4-1-fast supports vision, function calling, reasoning, audio input, web search, prompt caching, structured output. Its 2,000K-token context window is in the top 1% 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 2,000,000 input tokens. The maximum output length is 2,000,000 tokens.
At $0.20 per 1M input tokens and $0.50 per 1M output tokens, grok-4-1-fast ranks 724 out of 2292 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 68% of models in this category.
grok-4-1-fast is one of 38 xAI chat models, with support for vision, function calling, reasoning, audio input, web search, prompt caching, structured output. its 2,000K-token context window places it in the top 1% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs grok-4-1-fast |
|---|---|---|---|---|
| gemini-3.1-flash-lite-preview | Google Gemini | $0.25 | $1.50 | +25% |
| gemini-3.1-flash-lite | Google Gemini | $0.25 | $1.50 | +25% |
| gemini-3.1-flash-lite-preview | OpenRouter | $0.25 | $1.50 | +25% |
Similar chat models from other providers
Yes. grok-4-1-fast costs $0.20 per 1M input tokens compared to gemini-3.1-flash-lite-preview's $0.25 per 1M input tokens, making it 25% more affordable. Both are chat models and share support for vision, function calling, reasoning, audio input, web search, prompt caching, structured output.
grok-4-1-fast input pricing is $0.20 per 1M tokens, which is 64% below the median of $0.55 for chat models. It ranks 724 out of 2292 chat models by input cost, making it cheaper than 68% of models in this category. For output, it costs $0.50 per 1M tokens compared to the median of $1.50.
Among xAI's 38 chat models, grok-4-1-fast ranks 3 by input cost.
The most comparable chat models to grok-4-1-fast are: gemini-3.1-flash-lite-preview from Google Gemini ($0.25/1M input tokens); gemini-3.1-flash-lite from Google Gemini ($0.25/1M input tokens); gemini-3.1-flash-lite-preview from OpenRouter ($0.25/1M input tokens); gemini-3.1-flash-lite from OpenRouter ($0.25/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-4-1-fast supports up to 2,000,000 input tokens, placing it in the top 1% of chat models by context window size (rank 11 of 2159). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.
grok-4-1-fast 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 $0.20 and generating 1M output tokens costs $0.50.