全GPT 20%オフ 🎉 DeepSeek 30%オフ詳細はこちら

xAI: Grok 4.7

Chat
x-ai/grok-4.7

Grok 4.7 is xAI's latest reasoning model, succeeding Grok 4.6 for coding, agentic tool use, and general chat. It supports a 500K-token context window with always-on reasoning, function calling, structured outputs, and prompt caching; requests of 200K prompt tokens or more are billed at the long-context rate.

コンテキストウィンドウ
500K
最大出力トークン
66K
リリース日
2026-09-21
機能
Function Calling推論プロンプトキャッシュ
利用可能なプロバイダー
xAI
対応プロトコル
openai

Providers

xAIprovider.type: "grok"
入力トークン
$2/M
出力トークン
$6/M
キャッシュ読込
$0.5/M
Protocols
openai/v1/chat/completions

コード例

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

稼働状況

よくある質問

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