Try Bifrost Enterprise free for 14 days.
Request access

grok-4.20 Cost Calculator - xAI

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

Pricing data last updated:

grok-4.20 Cost Calculator

Mode: Chat

Max: 1,000,000 tokens

Max: 1,000,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 Tokens1,000,000
Max Output Tokens1,000,000
Max Tokens1,000,000

About grok-4.20

grok-4.20 is a chat model from xAI, one of 39 chat models they offer. It is priced at $2.00 per 1M input tokens and $6.00 per 1M output tokens, ranking 2626 out of 3254 chat models by cost and cheaper than 19% of models in this category. grok-4.20 supports vision, function calling, reasoning, web search, prompt caching, structured output. Its 1,000K-token context window is in the top 20% 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 Tokens1,000,000
Maximum Output Tokens1,000,000
Maximum Total Tokens1,000,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,000,000 input tokens. The maximum output length is 1,000,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
Response Schema - Structured output formatting

How grok-4.20 Pricing Compares

At $2.00 per 1M input tokens and $6.00 per 1M output tokens, grok-4.20 ranks 2626 out of 3254 chat models by input cost. It is more expensive compared to the median of $0.52 for chat models, and is cheaper than 19% of models in this category.

grok-4.20 is one of 39 xAI chat models, with support for vision, function calling, reasoning, web search, prompt caching, structured output. its 1,000K-token context window places it in the top 20% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs grok-4.20
gpt-5.6-terraAzure$2.00$12.000%
claude-sonnet-5Anthropic$2.00$10.000%
gemini-3-pro-previewVertex AI$2.00$12.000%

Alternatives to grok-4.20

Similar chat models from other providers

Frequently Asked Questions

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

No. grok-4.20 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.20 may offer different capabilities or performance characteristics that justify the price difference.

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

grok-4.20 input pricing is $2.00 per 1M tokens, which is 288% above the median of $0.52 for chat models. It ranks 2626 out of 3254 chat models by input cost, making it cheaper than 19% of models in this category. For output, it costs $6.00 per 1M tokens compared to the median of $1.50.

What makes grok-4.20 different from other xAI models?

Among xAI's 39 chat models, grok-4.20 ranks 27 by input cost.

What are the best alternatives to grok-4.20?

The most comparable chat models to grok-4.20 are: gpt-5.6-terra from Azure ($2.00/1M input tokens); claude-sonnet-5 from Anthropic ($2.00/1M input tokens); gemini-3-pro-preview from Vertex AI ($2.00/1M input tokens); gemini-3.1-pro-preview from Vertex AI ($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.20's context window?

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

How do I calculate grok-4.20 costs?

grok-4.20 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.