Grok

xAI: Grok 4.20

Chat
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 precise and truthful responses.

2M kontextfenster
128K max. ausgabe-tokens
Veröffentlicht: 2026-03-31
Unterstützte Protokolle:OpenAIopenai
Verfügbare Anbieter:AzureAzure
Fähigkeiten:VisionFunction CallingWebsuche

Preise

TypPreis
Eingabe-Tokens$4/M
Ausgabe-Tokens$12/M
Cache-Lesen$0.4/M

Code-Beispiele

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

Häufig gestellte Fragen

xAI: Grok 4.20 auf Ofox.ai kostet $4/M pro Million Eingabe-Tokens und $12/M pro Million Ausgabe-Tokens. Pay-as-you-go, keine monatlichen Gebühren.