Sprachmodelle/xAI/Grok 4.20 Multi-Agent
xAItext1 Route

Grok 4.20 Multi-Agent

Grok 4.20 Multi-Agent by xAI, through an OpenAI-compatible chat completions API.

grok-4.20-multi-agent-0309API-Schlüssel holen

Preise USD pro Million Token

TokenPro 1 Mio. Token
Eingabe$1.25
Zwischengespeicherte Eingabe$1.25
Cache-Schreibvorgang (5 Min.)$1.25
Cache-Schreibvorgang (1 Stunde)$1.25
Ausgabe$2.50

Reasoning-Token werden als Ausgabe abgerechnet. Die usage jeder Antwort enthält cost_usd, den von Ihrem Guthaben abgezogenen Betrag; eine Anfrage ohne Antwort kostet $0.00.

Anfrage

curl
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-4.20-multi-agent-0309","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
    model="grok-4.20-multi-agent-0309",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)

Jedes OpenAI-SDK funktioniert: Setzen Sie die Basis-URL auf https://api.revana.si/v1. Streaming, Tools und alles Weitere stehen in der Dokumentation zu Chat Completions.

Details

Modell-ID
grok-4.20-multi-agent-0309
Hersteller
xAI
Endpunkt
POST /v1/chat/completions
Streaming
Ja (Server-Sent Events)
Routen
1

1 Route

Heute eine Route. Eine Anfrage ohne Antwort wird nicht berechnet.

About the Grok 4.20 Multi-Agent API

How much does the Grok 4.20 Multi-Agent API cost?

Grok 4.20 Multi-Agent costs $1.25 per million input tokens, $1.25 per million cached input tokens and $2.50 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.

How do I call Grok 4.20 Multi-Agent from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "grok-4.20-multi-agent-0309". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

Was passiert, wenn eine Anfrage fehlschlägt?

Eine Anfrage ohne Antwort kostet nichts.

Is Grok 4.20 Multi-Agent on Revana the same model?

Ja. Revana gibt Ihre Anfrage unverändert an das Modell von xAI weiter und liefert dessen Antwort im OpenAI-Format zurück, mit der gemeldeten Nutzung und den Kosten der Anfrage.

Mehr von xAI

Auch als Markdown für Agenten. Jedes Sprachmodell und jeder Preis: llms.json.