X Ai μοντέλο

Grok 4.20 Reasoning

Grok 4.20 Reasoning. Συγκρίνετε τιμές API, πάροχο, μήκος context, δυνατότητες, use cases, latency και εναλλακτικές. General chat via X Ai, API workloads. $0.181 / 1M tokens / $0.362 / 1M tokens. — tokens.

X AiPlatform curatedCatalog
Streaming
Τιμή input$0.181 / 1M tokens
Τιμή output$0.362 / 1M tokens
Μήκος context— tokens
Μέγιστο output8.2k tokens

Τι ειναι το Grok 4.20 Reasoning στο NextModel;

Grok 4.20 Reasoning. Συγκρίνετε τιμές API, πάροχο, μήκος context, δυνατότητες, use cases, latency και εναλλακτικές. General chat via X Ai, API workloads. $0.181 / 1M tokens / $0.362 / 1M tokens. — tokens.

Καλύτερα use cases

  • General chat via X Ai
  • API workloads

Παράδειγμα OpenAI-compatible

Κρατήστε το στυλ OpenAI SDK, στείλτε το base_url στο NextModel και χρησιμοποιήστε το 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)

Παρόμοιες εναλλακτικές

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