Try Bifrost Enterprise free for 14 days.
Request access

xai.grok-4.7 Cost Calculator - Bedrock Mantle

Calculate the cost of using xai.grok-4.7 from Bedrock Mantle for your AI applications

Pricing data last updated:

xai.grok-4.7 Cost Calculator

Mode: Chat

Max: 524,288 tokens

Max: 524,288,000,000 tokens

Cost Breakdown

Input Cost$0.002200
Output Cost$0.006600
Total Cost$0.008800

Pricing Details

Input: $0.00000220 per token
Output: $0.00000660 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 Tokens524,288
Max Output Tokens524,288,000,000
Max Tokens524,288,000,000

About xai.grok-4.7

xai.grok-4.7 is a chat model from Bedrock Mantle, one of 99 chat models they offer. It is priced at $2.20 per 1M input tokens and $6.60 per 1M output tokens, ranking 3062 out of 3781 chat models by cost and cheaper than 19% of models in this category. xai.grok-4.7 supports vision, function calling, reasoning, prompt caching, structured output. Its 524K-token context window is in the top 30% among chat models.

Pricing Information

Input Cost$2.20 per 1M tokens
Output Cost$6.60 per 1M tokens

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

Technical Specifications

Maximum Input Tokens524,288
Maximum Output Tokens524,288,000,000
Maximum Total Tokens524,288,000,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 524,288 input tokens. The maximum output length is 524,288,000,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 xai.grok-4.7 Pricing Compares

At $2.20 per 1M input tokens and $6.60 per 1M output tokens, xai.grok-4.7 ranks 3062 out of 3781 chat models by input cost. It is more expensive compared to the median of $0.60 for chat models, and is cheaper than 19% of models in this category.

xai.grok-4.7 is one of 99 Bedrock Mantle chat models, with support for vision, function calling, reasoning, prompt caching, structured output. its 524K-token context window places it in the top 30% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs xai.grok-4.7
anthropic.claude-sonnet-5AWS Bedrock$2.00$10.00-9%
global.anthropic.claude-sonnet-5AWS Bedrock$2.00$10.00-9%
us.anthropic.claude-sonnet-5AWS Bedrock$2.20$11.000%

Alternatives to xai.grok-4.7

Similar chat models from other providers

AWS Bedrock
anthropic.claude-sonnet-5
$2.00/1M input
-9% vs xai.grok-4.7
AWS Bedrock
global.anthropic.claude-sonnet-5
$2.00/1M input
-9% vs xai.grok-4.7
AWS Bedrock
us.anthropic.claude-sonnet-5
$2.20/1M input
0% vs xai.grok-4.7
AWS Bedrock
eu.anthropic.claude-sonnet-5
$2.20/1M input
0% vs xai.grok-4.7
AWS Bedrock
au.anthropic.claude-sonnet-5
$2.20/1M input
0% vs xai.grok-4.7

Frequently Asked Questions

Is xai.grok-4.7 cheaper than anthropic.claude-sonnet-5?

No. xai.grok-4.7 costs $2.20 per 1M input tokens while anthropic.claude-sonnet-5 costs $2.00 per 1M input tokens, making anthropic.claude-sonnet-5 9% more affordable for input. However, xai.grok-4.7 may offer different capabilities or performance characteristics that justify the price difference.

How does xai.grok-4.7 pricing compare to the average chat model?

xai.grok-4.7 input pricing is $2.20 per 1M tokens, which is 267% above the median of $0.60 for chat models. It ranks 3062 out of 3781 chat models by input cost, making it cheaper than 19% of models in this category. For output, it costs $6.60 per 1M tokens compared to the median of $1.75.

What makes xai.grok-4.7 different from other Bedrock Mantle models?

Among Bedrock Mantle's 99 chat models, xai.grok-4.7 ranks 78 by input cost.

What are the best alternatives to xai.grok-4.7?

The most comparable chat models to xai.grok-4.7 are: anthropic.claude-sonnet-5 from AWS Bedrock ($2.00/1M input tokens); global.anthropic.claude-sonnet-5 from AWS Bedrock ($2.00/1M input tokens); us.anthropic.claude-sonnet-5 from AWS Bedrock ($2.20/1M input tokens); eu.anthropic.claude-sonnet-5 from AWS Bedrock ($2.20/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 large is xai.grok-4.7's context window?

xai.grok-4.7 supports up to 524,288 input tokens, placing it in the top 30% of chat models by context window size (rank 1043 of 3502). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate xai.grok-4.7 costs?

xai.grok-4.7 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 $2.20 and generating 1M output tokens costs $6.60.