Seedance 2.0 20% OFF | Video Generator で作成 →
xai
x-ai/grok-4.20

x-ai/grok-4.20

2,000,000 context · $2.00/M input tokens · $6.00/M output tokens

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...

料金

従量課金

初期費用なし、使った分だけお支払い

入力$2.00 / M Tokens
出力$6.00 / M Tokens
Cache Read$0.20 / M Tokens

モデルを試す

x-ai/grok-4.20
オンライン
xai
こんにちは!お手伝いできるAIアシスタントです。何かお手伝いできることはありますか?

API 利用

以下のコード例を使用して API と連携してください:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="x-ai/grok-4.20",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

情報

プロバイダーxai
タイプllm

対応機能

入力
テキスト画像
出力
テキスト
コンテキスト2,000,000
最大出力-
Vision✓ 対応
Function Calling✓ 対応

API アクセスガイド

Base URLhttps://llm.wavespeed.ai/v1
API エンドポイントchat/completions
モデル IDx-ai/grok-4.20

Grok 4.20 API

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...

入力

$2 /M

出力

$6 /M

コンテキスト

2000K

Vision

対応

ツール利用

対応

WaveSpeedAIでGrok 4.20を試す

統合APIを通じてGrok 4.20にアクセス — OpenAI互換、コールドスタートなし、透明な料金。

Grok 4.20に関するよくある質問

Grok 4.20 API の料金はいくらですか?+

WaveSpeedAI の料金: 入力 100 万トークンあたり $2.00、出力 100 万トークンあたり $6.00。プロンプトキャッシュとバッチ処理は別途料金で、長く反復的なワークロードでは実効コストを下げられます。

Grok 4.20 のコンテキストウィンドウはどのくらいですか?+

Grok 4.20 はリクエストあたり最大 2000K のコンテキストトークンと最大 — の出力トークンをサポートします。

Grok 4.20 は OpenAI 互換ですか?+

はい。WaveSpeedAI は OpenAI 互換エンドポイント https://llm.wavespeed.ai/v1 で Grok 4.20 を提供します。公式 OpenAI SDK のベース URL をこちらに変更し WaveSpeedAI の API キーを設定するだけで利用可能です。

Grok 4.20 を使い始めるには?+

WaveSpeedAI にサインインし、Access Keys で API キーを作成して、上に表示されているモデル ID を指定して https://llm.wavespeed.ai/v1/chat/completions にリクエストを送信してください。新規アカウントには Grok 4.20 を試用できる無料クレジットが付与されます。

関連 LLM API