docs
models / xAI / Grok 4.5

Grok 4.5

textxai/grok-4.5ZDR supported

xAI's Grok 4.5, a frontier model built for coding, agentic tasks, and knowledge work. Accepts text and image inputs, and supports function calling, structured outputs, and configurable reasoning effort (low, medium, high).

$6.00list priceper 1M output tokens (prompts up to 200K tokens)
pricing
unitlist → Elite price
per 1M cached input tokens (prompts over 200K tokens)$0.60
per 1M cached input tokens (prompts up to 200K tokens)$0.30
per 1M input tokens (prompts over 200K tokens)$4.00
per 1M input tokens (prompts up to 200K tokens)$2.00
per 1M output tokens (prompts over 200K tokens)$12.00
per 1M output tokens (prompts up to 200K tokens)$6.00

No Elite discount on this model right now: everyone pays the list price.

Everyone pays the list price. Reaching Elite (hold or stake 1,337 $XAVA, or hold 1,337,000 $XINF) unlocks the Elite price and a bigger buyback of your token. How it works

openai sdk (python)
from openai import OpenAI

client = OpenAI(
    base_url="https://zinf.ai/v1",
    api_key="xk_live_...",  # your Xava Inference key
)

r = client.chat.completions.create(
    model="xai/grok-4.5",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
curl
curl https://zinf.ai/v1/chat/completions \
  -H "Authorization: Bearer $XINF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"xai/grok-4.5","messages":[{"role":"user","content":"Hello!"}]}'
limits
providerxAI
typetext
context window500,000 tokens
max output—
prompt storagenone
provider retentionnone ZDR supported
livesoon
requests 24h—
p50 latency—
uptime 7d—