Back to model shop
Xai
Rendered from D1 model snapshot · D1 read 122msCache check: checking

xai/grok-4.20-0309-reasoning

Grok 4.20 (Reasoning)

Reasoning Grok for document-heavy analysis and long-horizon tool use

This model's cache

This model page returns the exact headers below. The page and /api/models/xai--grok-4.20-0309-reasoning share the model:xai--grok-4.20-0309-reasoning tag, so invalidation stays scoped to this model.

Cache key/models/xai--grok-4.20-0309-reasoning
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:xai--grok-4.20-0309-reasoning

Workers Cache derives the key from this path/query, plus the Worker entrypoint and current Worker version.

export const Route = createFileRoute('/models/$modelSlug')({
  headers: () => ({
    'Cache-Control': 'public, max-age=300, stale-while-revalidate=3600',
    'Cache-Tag': 'catalog,model:xai--grok-4.20-0309-reasoning',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:xai--grok-4.20-0309-reasoning'] })

Use this when one model changes and you do not want to evict the whole catalog.

GrokReasoningTool callingStructured outputAttachmentsTemperature control
Released
Mar 9, 2026
Last updated
Mar 9, 2026
Context window
1M tokens
Max output
30K tokens
Open weights
No
Family
Grok

Starts at

$1.25

per 1M input tokens

Output

$2.5

Sellers

2

No cart or checkout in this MVP — pick a provider below and open their docs when you're ready to use it.

Capabilities & modalities
Reasoning
Tool calling
Structured output
Attachments
InputText, Image, Pdf
OutputText
Provider shelf
Where to get Grok 4.20 (Reasoning)

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

xAI

grok-4.20-0309-reasoning

$1.25$2.51MDocs

Merge Gateway

xai/grok-4.20-0309-reasoning

$1.25$2.51MDocs
More from Xai