Grok 4.5

xAI's flagship. 500k context. Real-time X (Twitter) access. Price doubles above 200k tokens.

ChatxAI500k tokens$2.1801 / $6.5404 · 1M

xai/grok-4.5

Context
500k tokens
Completion cap
Tools
Yes
JSON
Yes

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "xai/grok-4.5",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Grok 4.5?
xAI's flagship. 500k context. Real-time X (Twitter) access. Price doubles above 200k tokens. Grok 4.5 runs on the Geek Hub API (OpenAI-compatible). Model id: xai/grok-4.5.
Is Grok 4.5 free?
No. Input is $2.1801 per 1M tokens and output is $6.5404 per 1M tokens on Geek Hub (markup included).
What is the context length of Grok 4.5?
Grok 4.5 has a 500k tokens context window.
Does Grok 4.5 support tool calling and structured outputs?
Grok 4.5 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

More models from xAI