Grok

xAI: Grok 4.20

Chat
x-ai/grok-4.20

Grok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses.

2M コンテキストウィンドウ
128K 最大出力トークン
リリース日: 2026-03-31
対応プロトコル:OpenAIopenai
利用可能なプロバイダー:AzureAzure
機能:VisionFunction CallingWeb検索

料金

タイプ料金
入力トークン$4/M
出力トークン$12/M
キャッシュ読込$0.4/M

コード例

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="x-ai/grok-4.20",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

よくある質問

Ofox.aiでのxAI: Grok 4.20の料金は、入力100万トークンあたり$4/M、出力100万トークンあたり$12/Mです。従量課金制、月額料金なし。