xAI: Grok 4.7
Chatx-ai/grok-4.7Grok 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.
Kontextfenster
500K
Max. Ausgabe-Tokens
66K
Veröffentlicht
2026-09-21
Fähigkeiten
Function CallingReasoningPrompt Caching
Verfügbare Anbieter
xAI
Unterstützte Protokolle
openai
Providers
xAI
provider.type: "grok"Eingabe-Tokens
$2/M
Ausgabe-Tokens
$6/M
Cache-Lesen
$0.5/M
Protocols
openai
/v1/chat/completionsCode-Beispiele
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.7",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Verfügbarkeit & Status
Verwandte Modelle
Häufig gestellte Fragen
xAI: Grok 4.7 auf Ofox.ai kostet $2/M pro Million Eingabe-Tokens und $6/M pro Million Ausgabe-Tokens. Pay-as-you-go, keine monatlichen Gebühren.
xAI: Grok 4.7 unterstützt ein Kontextfenster von 500K Tokens mit max. Ausgabe von 66K Tokens, was die Verarbeitung großer Dokumente und lange Konversationen ermöglicht.
Einfach Ihre Base-URL auf https://api.ofox.ai/v1 setzen und Ihren Ofox API Key verwenden. Die API ist OpenAI-kompatibel — einfach Base-URL und API Key in Ihrem bestehenden Code ändern.
xAI: Grok 4.7 unterstützt folgende Fähigkeiten: Function Calling, Reasoning, Prompt Caching. Zugriff auf alle Features über die einheitliche Ofox.ai API.