Try Bifrost Enterprise free for 14 days.
Request access

grok-4.7 Cost Calculator - xAI

Calculate the cost of using grok-4.7 from xAI for your AI applications

Pricing data last updated:

grok-4.7 Cost Calculator

Mode: Chat

Max: 500,000 tokens

Max: 500,000 tokens

Cost Breakdown

Input Cost$0.002000
Output Cost$0.006000
Total Cost$0.008000

Pricing Details

Input: $0.00000200 per token
Output: $0.00000600 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
✓Web Search

Limits

Max Input Tokens500,000
Max Output Tokens500,000
Max Tokens500,000

About grok-4.7

grok-4.7 is a chat model from xAI, one of 36 chat models they offer. It is priced at $2.00 per 1M input tokens and $6.00 per 1M output tokens, ranking 2725 out of 3501 chat models by cost and cheaper than 21% of models in this category. grok-4.7 supports vision, function calling, reasoning, web search, prompt caching, structured output. Its 500K-token context window is in the top 28% among chat models.

Pricing Information

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

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

Technical Specifications

Maximum Input Tokens500,000
Maximum Output Tokens500,000
Maximum Total Tokens500,000

Pro Tip

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

Model Capabilities

✓Function Calling - Execute custom functions and tools
✓Vision - Process and understand images
✓Advanced Reasoning - Complex problem-solving capabilities
✓Web Search - Access real-time web information
✓Prompt Caching - Optimize repeated prompts
✓System Messages - Configure model behavior
✓Response Schema - Structured output formatting

How grok-4.7 Pricing Compares

At $2.00 per 1M input tokens and $6.00 per 1M output tokens, grok-4.7 ranks 2725 out of 3501 chat models by input cost. It is more expensive compared to the median of $0.60 for chat models, and is cheaper than 21% of models in this category.

grok-4.7 is one of 36 xAI chat models, with support for vision, function calling, reasoning, web search, prompt caching, structured output. its 500K-token context window places it in the top 28% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs grok-4.7
gpt-5.6-terraAzure$2.00$12.000%
gpt-5.6-terra-2026-07-09Azure$2.00$12.000%
grok-4.6Azure$2.00$6.000%

Alternatives to grok-4.7

Similar chat models from other providers

Frequently Asked Questions

Is grok-4.7 cheaper than gpt-5.6-terra?

No. grok-4.7 costs $2.00 per 1M input tokens while gpt-5.6-terra costs $2.00 per 1M input tokens, making gpt-5.6-terra 0% more affordable for input. However, grok-4.7 may offer different capabilities or performance characteristics that justify the price difference.

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

grok-4.7 input pricing is $2.00 per 1M tokens, which is 233% above the median of $0.60 for chat models. It ranks 2725 out of 3501 chat models by input cost, making it cheaper than 21% of models in this category. For output, it costs $6.00 per 1M tokens compared to the median of $1.71.

What makes grok-4.7 different from other xAI models?

Among xAI's 36 chat models, grok-4.7 ranks 12 by input cost.

What are the best alternatives to grok-4.7?

The most comparable chat models to grok-4.7 are: gpt-5.6-terra from Azure ($2.00/1M input tokens); gpt-5.6-terra-2026-07-09 from Azure ($2.00/1M input tokens); grok-4.6 from Azure ($2.00/1M input tokens); grok-4-20-reasoning from Azure ($2.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 large is grok-4.7's context window?

grok-4.7 supports up to 500,000 input tokens, placing it in the top 28% of chat models by context window size (rank 886 of 3230). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate grok-4.7 costs?

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.00 and generating 1M output tokens costs $6.00.