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