---
title: "grok-4-latest Cost Calculator - xAI"
description: "Calculate the cost of using grok-4-latest from xAI. Input costs $3.00 and output $15.00 per 1M tokens."
url: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-4-latest"
markdown: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-4-latest.md"
---

# grok-4-latest Cost Calculator - xAI

> Calculate the cost of using grok-4-latest from xAI. Input costs $3.00 and output $15.00 per 1M tokens.

## Important Links

- [View MCP Gateway](https://www.getmaxim.ai/bifrost/resources/mcp-gateway.md)
- [Features](https://www.getmaxim.ai/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/bifrost/enterprise)
- [Pricing](https://www.getmaxim.ai/bifrost/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/bifrost/book-a-demo)

## About grok-4-latest

grok-4-latest is a chat model from xAI, one of 44 chat models they offer. It is priced at $3.00 per 1M input tokens and $15.00 per 1M output tokens, ranking 2484 out of 2912 chat models by cost and cheaper than 15% of models in this category. grok-4-latest supports function calling, web search, prompt caching — one of only 11 chat models with this combination. Its 256K-token context window is in the top 37% among chat models.

## Pricing

Published xAI pricing for grok-4-latest.

- **$3.00 / 1M tokens Input.**
- **$15.00 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **256,000 Max Input Tokens.**
- **256,000 Max Output Tokens.**
- **256,000 Max Tokens.**

## Model Capabilities

grok-4-latest supports: Function Calling, Web Search, Prompt Caching, Tool Choice.

## How Pricing Compares

At $3.00 per 1M input tokens and $15.00 per 1M output tokens, grok-4-latest ranks 2484 out of 2912 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 15% of models in this category.

grok-4-latest is one of 44 xAI chat models, one of only 11 chat models combining function calling, prompt caching, web search. its 256K-token context window places it in the top 37% of chat models.

| Model | Provider | Input $/1M | Output $/1M | vs grok-4-latest |
| --- | --- | --- | --- | --- |
| anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.00 | $15.00 | 0% |
| global.anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.00 | $15.00 | 0% |
| us.anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.30 | $16.50 | +10% |
| eu.anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.30 | $16.50 | +10% |
| au.anthropic.claude-sonnet-4-6 | AWS Bedrock | $3.30 | $16.50 | +10% |

## More from xAI

- [grok-3 ($3.00/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-3.md)
- [grok-3-beta ($3.00/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-3-beta.md)
- [grok-3-fast-beta ($3.00/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-3-fast-beta.md)
- [grok-3-fast-latest ($3.00/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-3-fast-latest.md)

## Related Resources

- [All xAI pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai.md)

## FAQ

### Is grok-4-latest cheaper than anthropic.claude-sonnet-4-6?

Yes. grok-4-latest costs $3.00 per 1M input tokens compared to anthropic.claude-sonnet-4-6's $3.00 per 1M input tokens, making it 0% more affordable. Both are chat models and share support for vision, function calling, reasoning, web search, prompt caching, structured output.

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

grok-4-latest input pricing is $3.00 per 1M tokens, which is 445% above the median of $0.55 for chat models. It ranks 2484 out of 2912 chat models by input cost, making it cheaper than 15% of models in this category. For output, it costs $15.00 per 1M tokens compared to the median of $1.50.

### What makes grok-4-latest different from other xAI models?

Among xAI's 44 chat models, grok-4-latest ranks 42 by input cost. Its combination of function calling, prompt caching, web search is shared by only 10 other chat models.

### What are the best alternatives to grok-4-latest?

The most comparable chat models to grok-4-latest are: anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.00/1M input tokens); global.anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.00/1M input tokens); us.anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.30/1M input tokens); eu.anthropic.claude-sonnet-4-6 from AWS Bedrock ($3.30/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-4-latest costs?

grok-4-latest 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 $3.00 and generating 1M output tokens costs $15.00.

## Related Resources

- [All xAI pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.md)
- [Model library](https://www.getmaxim.ai/bifrost/model-library.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/bifrost/pricing.md)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/bifrost/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/bifrost/book-a-demo)
- [Resources: Bifrost resources](https://www.getmaxim.ai/bifrost/resources.md)

---

*This is a markdown version of [https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-4-latest](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/xai/model/grok-4-latest) for AI/LLM consumption.*
