ذكاء نماذج الذكاء الاصطناعي

Grok 4.20 (Reasoning)

xai/grok-4-20-0309-reasoning

من xAI · العائلة: grok · أُصدِر 2026-03-09

$2.00
الإدخال / 1M رمز
$6.00
الإخراج / 1M رمز
2M
نافذة السياق
30K
أقصى إخراج

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

القدرات

استدعاء الأدواتتفكير? إخراج منظمالمرفقاتأوزان مفتوحةالتحكم بالحرارة
الوسائط المدعومة: إدخال text, image · إخراج text

Model fit scores

0–100 · higher is better

These scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.

Coding71
  • Tool calling40/40
  • Structured output0/20
  • Reasoning10/10
  • Context window (100K → 1M)20/20
  • Provider availability1/10
Agents66
  • Tool calling35/35
  • Structured output0/25
  • Reasoning15/15
  • Output token limit15/15
  • Provider availability1/10
JSON / structured output34
  • Structured output / JSON mode0/50
  • Tool calling20/20
  • Temperature control10/10
  • Price-friendly for high-volume4/20
Cost efficiency45
  • Headline price (log-scaled)40/95
  • Has prompt-cache pricing5/5
Long context100
  • Context window (100K → 2M)90/90
  • Has published price for full window10/10
Vision91
  • Accepts image input50/50
  • Context window (10K → 1M)30/30
  • Has published price10/10
  • Provider availability1/10
Production-readiness65
  • Number of independent providers5/40
  • Has published per-token price20/20
  • Context window ≥ 8K15/15
  • No data inconsistencies across providers10/10
  • Official model (not derivative)15/15

Cost Efficiency Index

Open full calculator →

Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.

ScenarioCostAssumption
RAG answer
per 1,000 RAG answers
$13.00
$0.01 per request
5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot.
Support ticket triage
per 10,000 tickets
$26.00
< $0.01 per request
1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support.
Data extraction
per 1,000 documents
$7.00
< $0.01 per request
2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines.
Code review
per 1,000 PRs
$22.00
$0.02 per request
8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads.
Agent step
per 1,000 steps
$27.60
$0.03 per request
12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step.

تفاصيل التسعير

السعر المُوصى به من xai · grok-4.20-0309-reasoning

$2.00
إدخال
$6.00
إخراج
$0.200
قراءة من الكاش
ما بعد 200K من السياق
input $4 · output $12 · cache_read $0.4

متاح لدى 1 مزود

المزودمعرف نموذج المزودإدخال / 1Mإخراج / 1Mالسياقتاريخ الإصدار
xAI
xai
grok-4.20-0309-reasoning$2.00$6.002M2026-03-09

Frequently asked questions

How much does Grok 4.20 (Reasoning) cost?

Grok 4.20 (Reasoning) costs $2.00 per 1M input tokens and $6.00 per 1M output tokens, sourced from xai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.

What is the context window of Grok 4.20 (Reasoning)?

Grok 4.20 (Reasoning) has a context window of 2M tokens, with a max output of 30K tokens per reply. This is the total combined size of prompt + completion.

Does Grok 4.20 (Reasoning) support tool calling?

Yes. Grok 4.20 (Reasoning) supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.

Does Grok 4.20 (Reasoning) support structured output / JSON mode?

Support for structured output / JSON-schema-constrained decoding is not reported for Grok 4.20 (Reasoning) in our data source. Verify with xAI's official documentation before relying on it in production.

Can Grok 4.20 (Reasoning) accept image input?

Yes. Grok 4.20 (Reasoning) accepts both text and image input. Vision pricing per image is usually billed on top of the regular token rate — check xAI's docs for the exact rule.

Is Grok 4.20 (Reasoning) open-weight?

No. Grok 4.20 (Reasoning) is a proprietary model — only xAI (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.

What are the best alternatives to Grok 4.20 (Reasoning)?

If Grok 4.20 (Reasoning) doesn't fit, consider Grok Code Fast 1, Grok 4.1 Fast (Non-Reasoning), Grok 4. Each one targets the same use case — see the Related links below for direct head-to-head pages.

Where does this data come from?

All numbers come from the public models.dev API and are normalised into a single canonical model record. We re-pull daily and write any changes (price, context, capability) to the /changelog page.

More xAI models

آخر تحديث:

Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.