Hormouz AIHormouzSign in

SpaceXAI: Grok 4.20: AI model

Grok 4.20 is xAI's fast reasoning model with agentic tool calling, a very low hallucination rate and a 2M-token context window. Reachable from inside Iran through Hormouz.

Context window:
2,000,000 tokens
Input:
$1.25/1M tokens
Output:
$2.5/1M tokens
Type:
text, image
  • Vision
  • Tools
  • Streaming
  • Long context

Thinking levels:

Grok 4.20 is a reasoning model from xAI built for speed and agentic tool use. It pairs strict prompt adherence with a very low hallucination rate, so it returns precise, well-grounded answers, and it can call tools to drive multi-step workflows. Reasoning can be turned on or off per request via the API.

It accepts text and image input and returns text, and it supports a large 2M-token context window. Enough for entire codebases, long document sets and extended agent sessions. Tool calling and structured output make it a strong backbone for autonomous assistants, coding agents and data pipelines.

Through Hormouz, Grok 4.20 is served behind an OpenAI-compatible API and reachable from inside Iran without a foreign credit card or circumvention tooling. Billing is usage-based at $1.25 per million input tokens and $2.50 per million output tokens.

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...

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4.20",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorxAI
TypeText, Image
Context window2,000,000 tokens
Pricing$1.25/M in · $2.50/M out
APIChat Completions
CapabilitiesStreaming · Vision · Tools

Benchmarks

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
91.1%
HLE
Humanity's Last Exam
34.5%
IFBench
Instruction-following
81.2%
AA-LCR
Long-context reasoning
69%
CritPt
Research-level physics reasoning
6.6%
AA Omniscience
Broad factual knowledge accuracy
27.5%
Non-Hallucination
Rate of avoiding fabricated answers
82.6%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
37.9%

Agentic

τ²-Bench
Tool-use agents in dual-control scenarios
93%

Source: Artificial Analysis

Ranking distribution

First
6,059
Second
6,801
Third
52
Fourth
26

6703 tournaments ?

Android Native
Top 95%
1,060Elo
Win rate: 35%
Full-Stack
Top 80%
1,052Elo
Win rate: 41.1%
Godot Game Dev
Top 86%
1,089Elo
Win rate: 38.5%
HTML Slides
Top 52%
1,180Elo
Win rate: 45.7%Avg time: 272s
Mobile Apps
Top 91%
1,086Elo
Win rate: 45.4%
Web Apps
Top 67%
1,137Elo
Win rate: 49.7%
3D
Top 47%
1,162Elo
Win rate: 46.9%Avg time: 51.7s
ASCII Art
Top 70%
1,137Elo
Win rate: 46.1%Avg time: 13.1s
Code
Top 36%
1,212Elo
Win rate: 49.6%Avg time: 76.1s
Data Viz
Top 39%
1,208Elo
Win rate: 49.6%Avg time: 71.1s
Game Dev
Top 44%
1,187Elo
Win rate: 47%Avg time: 67.5s
SVG
Top 80%
1,057Elo
Win rate: 40.4%Avg time: 17.8s
UI Component
Top 43%
1,195Elo
Win rate: 47.8%Avg time: 63.0s
Website
Top 34%
1,227Elo
Win rate: 50.5%Avg time: 87.5s

Metrics sourced from Design Arena

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4.20",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="x-ai/grok-4.20",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "x-ai/grok-4.20",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the SpaceXAI: Grok 4.20 API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches SpaceXAI: Grok 4.20 and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does Grok 4.20 cost?
Billing is usage-based: $1.25 per million input tokens and $2.5 per million output tokens. There is no monthly minimum. You pay only for the tokens you actually use.
How do I access Grok 4.20 from inside Iran?
Create a Hormouz account, generate an API key and point your client at Hormouz. Access to Grok 4.20 is served from inside Iran, so you do not need a foreign credit card, a VPN or any sanction-circumvention tooling.
Is Grok 4.20 compatible with the OpenAI SDK?
Yes. Hormouz exposes an OpenAI-compatible chat-completions API. Change the base URL to Hormouz and drop in your Hormouz key, and existing OpenAI SDK code runs unchanged.
What context window does Grok 4.20 support?
Grok 4.20 supports a context window of up to 2M tokens, which is enough for long documents and extended conversations in a single request.
Can I turn Grok 4.20's reasoning on and off?
Yes. Reasoning is controllable per request through the API. You can enable it for hard, multi-step problems or disable it for faster, cheaper responses on simple tasks.
Does Grok 4.20 support tools and images?
Yes. It supports agentic tool calling and structured output, and it accepts image input alongside text. That makes it suitable for coding agents, automation and multimodal assistants.

Updated 2026-10-13