xAI

Grok 4.20 Reasoning

grok-4.20-reasoning
  • Vision
  • File input
  • Reasoning
  • Reasoning change without cache break
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
Input
$1.25
Per 1M tokens
Output
$2.50
Per 1M tokens
Speed
441
tokens / s
Context
1M
tokens
Released
Mar 2026
Where grok-4.20-reasoning runs
DeploymentRegionCostFlexPriorityUltrafastCache readCache writeThroughputCapabilitiesZero data retentionNo training
Vertex AIGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A441 tok/s
  • Vision
  • Reasoning
  • Reasoning change without cache break
  • Structured output
  • Tool use
  • Implicit caching
? Unknown? Unknown
xAIGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A171 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching

Build with Grok 4.20 Reasoning

Visit https://docs.weflayr.com/agents/integration-playbook, then set up Weflayr in this project and use it to call the model "grok-4.20-reasoning".

Compare with other models

Price and speed is only half the answer. Benchmark models on your calls to find out the other half.

Benchmark on your calls
Filters
  • Grok 4.20 Reasoning
The gateway's models next to grok-4.20-reasoning
ModelRegionProvidersCostFlexPriorityUltrafastCache readCache writeThroughputContextZero data retentionNo trainingReleased
grok-4.3Global$1.25 / $2.50N/AN/AN/A$0.20N/A130 tok/s1M Apr 2026
gpt-5.4-miniGlobalUSEU$0.75 / $4.50$0.375 / $2.25$1.50 / $9.00N/A$0.075N/A276 tok/s272KVariesVariesMar 2026
grok-4.20-non-reasoningGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A452 tok/s1MVariesVariesMar 2026
kimi-k2.7-codeGlobal$0.95 / $4.00N/AN/AN/A$0.095$1.188232 tok/s256K Jun 2026
glm-5USEUGlobal$1.00 / $3.20$0.50 / $1.60$1.75 / $5.60N/AN/AN/A251 tok/s200KVaries Feb 2026

Alternatives to Grok 4.20 Reasoning

15 other models with the same capabilities and at least the same context window as Grok 4.20 Reasoning are available on the Weflayr gateway. Review the most notable ones.

Benchmark Grok 4.20 Reasoning on your own agent calls

A lower list price says nothing about answer quality. Your evals grade each answer against the one you ship today.

Evaluate models on your own callsExample

Miracle LabsYesterday, 11:34pm_agent

Review all standup recordings from the past week, check if an issue exists for every work item, and create a status report for me.

  • Your agent's answersBaselineBaseline
  • grok-4.20-reasoning−68% cost Same quality
  • gemini-4-neon+15% cost Better quality
  • gemini-3.1-flash-lite−89% cost Same quality
  • claude-haiku-5.5−96% costWorse quality

Questions

How much does grok-4.20-reasoning cost?
grok-4.20-reasoning costs $1.25 per 1M input tokens and $2.50 per 1M output tokens on its cheapest host, Vertex AI, Global. Input read from the cache costs $0.20 per 1M tokens. These are list prices, as the gateway's model list gives them.
Does grok-4.20-reasoning cost more for long prompts?
Yes, on Vertex AI, Global. Its list price per 1M tokens steps up with the length of the prompt: up to 200K input tokens, $1.25 / $2.50; over 200K input tokens, $2.50 / $5.00.
What is the context window of grok-4.20-reasoning?
grok-4.20-reasoning takes up to 1,000,000 tokens of input and writes up to 2,000,000 tokens in one answer.
Which hosts run grok-4.20-reasoning?
2 hosts: Vertex AI (Global) and xAI (Global). To keep a call on one, send its provider and region, for example "provider": "vertex", "region": "GLOBAL".
Can I run grok-4.20-reasoning in the EU?
Not yet. grok-4.20-reasoning runs in Global regions only. 18 models that can do the same job run in the EU.
Do the hosts of grok-4.20-reasoning keep my data or train on it?
Zero data retention: 0 of its 2 deployments. No training on your data: 1 of 2. Where a host does not say, this page shows it as unknown.
How fast is grok-4.20-reasoning?
Over the last 24 hours, grok-4.20-reasoning wrote a median of 441 output tokens per second on its fastest host, Vertex AI, Global.
What can grok-4.20-reasoning do?
grok-4.20-reasoning reads text, images and PDFs and writes text. It supports reasoning, tool use, structured output, web search and implicit caching.
Is there a cheaper model that does the same job as grok-4.20-reasoning?
On list price, 5 models can do the same job for less, for a call of 2,000 input and 500 output tokens. The closest in price is gemini-3.8-flash, at 10% less. A price list cannot tell if the answers are as good. A Weflayr benchmark replays your own calls on each model to find out.
How do I call grok-4.20-reasoning?
Point any OpenAI client at https://gateway.weflayr.com/v1 with a Weflayr API key and send "grok-4.20-reasoning" as the model. Send a list of models to have the next one answer when the first fails. Calls take up to 1M tokens of context.

Put your model teams to work.

Connect Weflayr, benchmark your agents, and gain control over your AI performance.