X Ai modelo

Grok 4.20 Reasoning

Grok 4.20 Reasoning Compara precios API, proveedor, longitud de contexto, capacidades, casos de uso, latencia y alternativas. General chat via X Ai, API workloads. $0.181 / 1M tokens / $0.362 / 1M tokens. — tokens.

X AiPlatform curatedCatalog
Streaming
Precio entrada$0.181 / 1M tokens
Precio salida$0.362 / 1M tokens
Longitud de contexto— tokens
Salida maxima8.2k tokens

Que es Grok 4.20 Reasoning en NextModel?

Grok 4.20 Reasoning Compara precios API, proveedor, longitud de contexto, capacidades, casos de uso, latencia y alternativas. General chat via X Ai, API workloads. $0.181 / 1M tokens / $0.362 / 1M tokens. — tokens.

Mejores casos de uso

  • General chat via X Ai
  • API workloads

Ejemplo compatible con OpenAI

Mantén el estilo del SDK de OpenAI, apunta base_url a NextModel y usa el ID de catalogo 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)

Alternativas similares

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 FAQ