Skip to content

Model detail

Grok 4.20 Reasoning 0309

Provided by xAI
Pay-as-you-go

A Grok 4.20 reasoning model for text and image understanding, instruction following, tool use, and structured responses.

Model specs

Model ID
grok-4.20-0309-reasoning
Context length
1M
Max output
30K
I/O modalities
Released
2026-03

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST
  • OpenAI-compatible /v1/responses POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$1.2500 /1M Tokens

Completion

$2.5000 /1M Tokens

Cache read

$0.2000 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

A Grok 4.20 reasoning model for text and image understanding, instruction following

A Grok 4.20 reasoning model for text and image understanding, instruction following, tool use, and structured responses.

What should you check before using it?

1,000,000 context, 30,000 output tokens

xAI model that supports reasoning, tool calling and structured output. Knowledge cutoff: 2025-09. Released 2026-03-09.

Why use it through MixRoute?

Swap the base URL, keep the Grok 4.20 client

MixRoute serves Grok 4.20 on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID grok-4.20-0309-reasoning and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Tool calling

Grok 4.20 supports function and tool calls.

EX Send a tools definition; the response returns tool_calls to execute and feed results back.
Available:

Structured output

Grok 4.20 can produce JSON-formatted output on demand.

EX response_format: { type: "json_schema" } forces valid JSON output.
Available:

Streaming

Grok 4.20 supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Prompt caching

Grok 4.20 supports prompt caching under supported routing conditions.

EX Keep the system prompt and tool definitions at the start of the request; repeated prefixes are automatically billed at the cache-read rate.
Available:

Vision input

Grok 4.20 can process image inputs alongside text.

EX Pass a base64-encoded image in a image_url content part alongside text messages.
Available:

OpenAI SDK

Call Grok 4.20 through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

Share of the same prefix read repeatedly, up to 100%

09

FAQ

Before switching production traffic to Grok 4.20, run a pilot on a representative slice of your traffic and check output quality, latency at peak concurrency, and cost per request. Verify the error and retry behaviour, and confirm the request limits you depend on match your plan.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.