Grok 4.20

Grok 4.20 is a reasoning model from SpaceXAI with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses. Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. Learn more in our docs

ChatxAI2M tokens$1.3626 / $2.7251 · 1M

x-ai/grok-4.20

Context
2M tokens
Completion cap
Tools
Yes
JSON
Yes
Released
2026-03-31

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4.20",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Grok 4.20?
Grok 4.20 is a reasoning model from SpaceXAI with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses. Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. Learn more in our docs Grok 4.20 runs on the Geek Hub API (OpenAI-compatible). Model id: x-ai/grok-4.20.
Is Grok 4.20 free?
No. Input is $1.3626 per 1M tokens and output is $2.7251 per 1M tokens on Geek Hub (markup included).
What is the context length of Grok 4.20?
Grok 4.20 has a 2M tokens context window.
Does Grok 4.20 support tool calling and structured outputs?
Grok 4.20 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was Grok 4.20 released?
Grok 4.20 was released on 2026-03-31.

More models from xAI