Skip to content
Google Vertex AI

Xai/Grok 4.20 Reasoning

Xai/Grok 4.20 Reasoning is available via Google Vertex AI with a 2M context window and up to 2,000,000 output tokens. Pricing: $2.00/1M input tokens, $6.00/1M output tokens.

Xai/Grok 4.20 Reasoning Pricing & Specifications

Input Price$2.00 per 1M tokens
Output Price$6.00 per 1M tokens
Context Window2,000,000 tokens (2M)
Max Output2,000,000 tokens
ProviderGoogle Vertex AI

What is Xai/Grok 4.20 Reasoning?

Xai/Grok 4.20 Reasoning is a large language model by Google Vertex AI with a 2M context window and up to 2,000,000 output tokens. It costs $2.00 per 1M input tokens and $6.00 per 1M output tokens. Xai/Grok 4.20 Reasoning is available via Google Vertex AI with a 2M context window and up to 2,000,000 output tokens. Pricing: $2.00/1M input tokens, $6.00/1M output tokens.

Capabilities

text vision function calling reasoning web search json mode

Xai/Grok 4.20 Reasoning Cost Examples

Short prompt (500 tokens)

$0.001000

Medium prompt (2K tokens)

$0.00400

Long output (4K tokens)

$0.02400

Count tokens for Xai/Grok 4.20 Reasoning

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Xai/Grok 4.20 Reasoning

Google Vertex AI

Gemini 3 Pro Preview

$2.00/1M in 1.0M ctx

Google Vertex AI

Gemini 3.1 Pro Preview

$2.00/1M in 1.0M ctx

Google Vertex AI

Gemini 3.1 Pro Preview Customtools

$2.00/1M in 1.0M ctx

Google Vertex AI

Gemini 3 Pro Preview

$2.00/1M in 1.0M ctx

Frequently Asked Questions

How much does Xai/Grok 4.20 Reasoning cost per token? +
Xai/Grok 4.20 Reasoning costs $2.00 per 1M input tokens and $6.00 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.005000.
What is the context window for Xai/Grok 4.20 Reasoning? +
Xai/Grok 4.20 Reasoning supports a context window of 2,000,000 tokens (2M). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Xai/Grok 4.20 Reasoning? +
Xai/Grok 4.20 Reasoning can generate up to 2,000,000 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Xai/Grok 4.20 Reasoning good for coding tasks? +
Yes, Xai/Grok 4.20 Reasoning supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All Google Vertex AI Models