xAI: Grok 4.6
Chatx-ai/grok-4.6Grok 4.6 is xAI's most intelligent and fastest model, with frontier performance on coding, knowledge work, and STEM. 500K context, reasoning model, prompt caching supported. OpenAI-compatible protocol. Released August 12, 2026.
コンテキストウィンドウ
500K
最大出力トークン
66K
リリース日
2026-08-12
機能
Function Calling推論プロンプトキャッシュ
利用可能なプロバイダー
xAI
対応プロトコル
openai
Providers
xAI
入力トークン
$2/M
出力トークン
$6/M
キャッシュ読込
$0.5/M
Protocols
openai
/v1/chat/completionsコード例
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.io/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="x-ai/grok-4.6",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
関連モデル
よくある質問
Ofox.aiでのxAI: Grok 4.6の料金は、入力100万トークンあたり$2/M、出力100万トークンあたり$6/Mです。従量課金制、月額料金なし。
xAI: Grok 4.6は500Kトークンのコンテキストウィンドウと最大66Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.io/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
xAI: Grok 4.6は以下の機能に対応:Function Calling, 推論, プロンプトキャッシュ。Ofox.ai統合APIですべての機能にアクセスできます。