Skip to main content

xAI model cost planner

Grok 4.20

Pinned Grok 4.20 reasoning model for difficult coding and tool-using workloads.

Pricing details

Grok 4.20 pricing

These values come from the central model pricing data used by the calculator.

Input price

$1.25 / 1M tokens

Output price

$2.50 / 1M tokens

Pricing unit

Per 1M tokens

Verified provider pricing

xAIgrok-4.20-0309-reasoning

Stable
Last verified Jul 13, 2026Official source

Estimates vary by tier, modality, caching, batch usage, token thresholds, and other provider conditions.

Pricing notes
Pinned Grok 4.20 reasoning model for difficult coding and tool-using workloads.

Deterministic cost examples

These shared examples apply the listed token prices directly. They illustrate arithmetic only and are not claims about a typical user workload.

1M input tokens

$1.25

Input-only example at the listed standard token price.

1M output tokens

$2.50

Output-only example at the listed standard token price.

Example 1M-token mix

$1.5625

Defined as 750K input tokens plus 250K output tokens.

Calculator

Calculate Grok 4.20 API cost

xAI and Grok 4.20 are preselected so the estimate starts on this exact model.

Model selection

Choose the provider and model you want to estimate.
xAIgrok-4.20-0309-reasoning

Input price

$1.25 / 1M tokens

Output price

$2.50 / 1M tokens

xAIgrok-4.20-0309-reasoningStable
Official source

Verified Jul 13, 2026. Estimates vary by usage and provider pricing conditions.

Usage assumptions

Estimate traffic and token usage for an average request.
Active seats, customers, or internal users.
Average AI calls per user each day.
Prompt, history, and retrieved context per request.
Generated answer length; SaaS founders should test long replies.
Use 30 for always-on products or fewer for batch jobs.

Estimated results

Run the calculator to see projected cost and usage volume.

Enter your usage details, then select Calculate estimate to see your projected cost.

Estimated cost = input usage cost + output usage cost + supported optional charges.

Verified model facts

Grok 4.20 model details

Only fields present in canonical pricing, identity, or reviewed catalog data are shown.
Provider
xAI
Model family
Grok 4
Lifecycle
Stable
API availability
Available
Catalog category
Reasoning
Context window
1,000,000 tokens
Input modalities
Text, Image
Output modalities
Text
Capabilities
Advanced reasoning, Coding, Vision, Function calling, Structured outputs, Web search, X search, Code execution
Service tier
Standard
Context tier
Default
Pricing region
global

Use-case calculators

Plan workflows with Grok 4.20

These calculator pages are selected from canonical model capabilities and provider context.

Related models

Other xAI models

Run the same assumptions against another model from this provider.

Alternatives

Capability-linked lower-price alternatives

Every candidate shares at least one listed capability, uses the same pricing unit, and has a lower canonical input or output price. Price does not establish equivalent quality.

Gemini

Gemini 2.5 Flash Image (Nano Banana)

Lower input and output prices. Input $0.30 / 1M tokens, output $0.039 / 1M tokens.

Shared listed capabilities: Text, Vision.

Compare cost

Gemini

Gemini 2.5 Flash-Lite Preview

Lower input and output prices. Input $0.10 / 1M tokens, output $0.40 / 1M tokens.

Shared listed capabilities: Text, Vision.

Compare cost

Gemini

Gemini 2.5 Flash-Lite

Lower input and output prices. Input $0.10 / 1M tokens, output $0.40 / 1M tokens.

Shared listed capabilities: Text, Vision.

Compare cost

Entity relationships

Provider, calculator, and exact comparisons

Continue to this model's canonical provider, provider calculator, or an exact related comparison.