言語モデル/xAI/Grok 4.20 Multi-Agent
xAItext1つのルート

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キーを取得

料金 100万トークンあたりのUSD

トークン100万トークンあたり
入力$1.25
キャッシュされた入力$1.25
キャッシュの書き込み(5分)$1.25
キャッシュの書き込み(1時間)$1.25
出力$2.50

推論トークンは出力として課金されます。各回答の usage には、残高から引かれた金額である cost_usd が含まれ、回答のないリクエストは$0.00です。

リクエスト

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)

どのOpenAI SDKでも動作します。ベースURLを https://api.revana.si/v1 に設定してください。ストリーミング、ツールなどの詳細は、Chat Completionsのドキュメントをご覧ください。

詳細

モデルID
grok-4.20-multi-agent-0309
開発元
xAI
エンドポイント
POST /v1/chat/completions
ストリーミング
対応(サーバー送信イベント)
ルート
1

1つのルート

現在、ルートは1つです。回答が得られなかったリクエストは課金されません。

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.

リクエストが失敗するとどうなりますか?

回答が得られなかったリクエストは、課金されません。

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

はい。RevanaはリクエストをxAIのモデルにそのまま渡し、その回答を、報告された利用量とリクエストの費用とともに、OpenAI形式で返します。

xAIのその他のモデル

エージェント向けのMarkdown版もあります。すべての言語モデルと料金はllms.jsonにあります。