grok-4-20-reasoning
NixAPI price, from
USD per 1M tokens · via group Cli-Grok-1 · Official list price $1.25 / $2.5Save 88%
About grok-4-20-reasoning
Grok 4.20 is xAI's latest flagship model, featuring industry-leading speed and agentic tool-calling capabilities. It combines the lowest hallucination rate on the market with strict prompt compliance, consistently delivering accurate and truthful responses.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Cli-Grok-1 | … | ×0.1243 | $0.1553 | $0.3107 | — | — | |
Cli-Grok-2 | … | ×0.174 | $0.2175 | $0.435 | — | — | |
Xai-Grok-1 | … | ×0.7456 | $0.932 | $1.864 | — | — |
USD per 1M tokens
Long-context pricing
- Prompts over 200,000 tokens: input ×2, output ×2
Supported endpoints
Call grok-4-20-reasoning in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4-20-reasoning",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="grok-4-20-reasoning",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "grok-4-20-reasoning",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about grok-4-20-reasoning
How much does grok-4-20-reasoning cost on NixAPI?
From $0.1553 per 1M input tokens and $0.3107 per 1M output tokens in the Cli-Grok-1 group, about 88% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call grok-4-20-reasoning?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "grok-4-20-reasoning".
Which routing groups serve grok-4-20-reasoning?
grok-4-20-reasoning is available in 3 routing groups: Cli-Grok-1, Cli-Grok-2, Xai-Grok-1. The lowest price is in Cli-Grok-1.