Try Bifrost Enterprise free for 14 days.
Request access

grok-4-0709 Cost Calculator - xAI

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

Pricing data last updated:

grok-4-0709 Cost Calculator

Mode: Chat

Max: 256,000 tokens

Max: 256,000 tokens

Cost Breakdown

Input Cost$0.003000
Output Cost$0.015000
Total Cost$0.018000

Pricing Details

Input: $0.00000300 per token
Output: $0.00001500 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
Web Search

Limits

Max Input Tokens256,000
Max Output Tokens256,000
Max Tokens256,000

About grok-4-0709

grok-4-0709 is a chat model from xAI, one of 38 chat models they offer. It is priced at $3.00 per 1M input tokens and $15.00 per 1M output tokens, ranking 1935 out of 2292 chat models by cost and cheaper than 16% of models in this category. grok-4-0709 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 29% among chat models.

Pricing Information

Input Cost$3.00 per 1M tokens
Output Cost$15.00 per 1M tokens

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

Technical Specifications

Maximum Input Tokens256,000
Maximum Output Tokens256,000
Maximum Total Tokens256,000

Pro Tip

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.

Model Capabilities

Function Calling - Execute custom functions and tools
Web Search - Access real-time web information
Prompt Caching - Optimize repeated prompts

How grok-4-0709 Pricing Compares

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

grok-4-0709 is one of 38 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 29% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs grok-4-0709
anthropic.claude-sonnet-4-6AWS Bedrock$3.00$15.000%
global.anthropic.claude-sonnet-4-6AWS Bedrock$3.00$15.000%
us.anthropic.claude-sonnet-4-6AWS Bedrock$3.30$16.50+10%

Alternatives to grok-4-0709

Similar chat models from other providers

AWS Bedrock
anthropic.claude-sonnet-4-6
$3.00/1M input
0% vs grok-4-0709
AWS Bedrock
global.anthropic.claude-sonnet-4-6
$3.00/1M input
0% vs grok-4-0709
AWS Bedrock
us.anthropic.claude-sonnet-4-6
$3.30/1M input
+10% vs grok-4-0709
AWS Bedrock
eu.anthropic.claude-sonnet-4-6
$3.30/1M input
+10% vs grok-4-0709
AWS Bedrock
au.anthropic.claude-sonnet-4-6
$3.30/1M input
+10% vs grok-4-0709

Frequently Asked Questions

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

Yes. grok-4-0709 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-0709 pricing compare to the average chat model?

grok-4-0709 input pricing is $3.00 per 1M tokens, which is 445% above the median of $0.55 for chat models. It ranks 1935 out of 2292 chat models by input cost, making it cheaper than 16% 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-0709 different from other xAI models?

Among xAI's 38 chat models, grok-4-0709 ranks 35 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-0709?

The most comparable chat models to grok-4-0709 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 large is grok-4-0709's context window?

grok-4-0709 supports up to 256,000 input tokens, placing it in the top 29% of chat models by context window size (rank 599 of 2159). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate grok-4-0709 costs?

grok-4-0709 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.