Processing...Please wait while we secure this action
X Ai model

Grok 4.20 Reasoning

Grok 4.20 Reasoning is a X Ai model listed in the NextModel catalog for General chat via X Ai, API workloads workloads. Its listed price is $0.181 / 1M tokens input and $0.362 / 1M tokens output per 1M tokens, with a — token context window.

X AiPlatform curatedCatalog
Streaming
Input price$0.181 / 1M tokens
Output price$0.362 / 1M tokens
Context length— tokens
Max output8.2k tokens

What is Grok 4.20 Reasoning in NextModel?

Grok 4.20 Reasoning is a X Ai model listed in the NextModel catalog for General chat via X Ai, API workloads workloads. Its listed price is $0.181 / 1M tokens input and $0.362 / 1M tokens output per 1M tokens, with a — token context window.

Best use cases

  • General chat via X Ai
  • API workloads

OpenAI-compatible code example

Keep the OpenAI SDK style, set base_url to NextModel, and use the catalog model ID x-ai--grok-4.20-reasoning.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="x-ai/grok-4.20-reasoning",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

Similar alternatives

X AiCatalog

Available through the NextModel gateway via X Ai.

$0.029 / 1M tokensInput$0.072 / 1M tokensOutputContext
Best forGeneral chat via X Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
X AiCatalog

Available through the NextModel gateway via X Ai.

$0.029 / 1M tokensInput$0.072 / 1M tokensOutputContext
Best forGeneral chat via X Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
X AiCatalog

Available through the NextModel gateway via X Ai.

$0.181 / 1M tokensInput$0.362 / 1M tokensOutputContext
Best forGeneral chat via X Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

Grok 4.20 Reasoning API questions