XAI

grok-4.5

xAI's Grok 4.5, tuned for software engineering and agentic workflows. Takes text and image input with a 500,000-token context window and selectable reasoning effort.

Usage billing

Official price vs Nbility

Per 1M tokens, read live from the gateway. Nbility shows its lowest public group.

xAI list price

≤200KInput$2.00Output$6.00
>200KInput$4.00Output$12.00

Nbility · grok group

≤200KInput0.80Output2.40
>200KInput1.60Output4.80

Group prices

Every available group is listed with its effective input and output price.

Usage billing
GroupRatioInputOutputCache read price
Base pricex1
≤200K2.00/1M>200K4.00/1M
≤200K6.00/1M>200K12.00/1M
≤200K0.30/1M>200K0.60/1M
grokx0.4
≤200K0.80/1M>200K1.60/1M
≤200K2.40/1M>200K4.80/1M
≤200K0.12/1M>200K0.24/1M

Quick start

Replace YOUR_API_KEY with a key from your account.

curl https://api.nbility.ai/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-4.5","messages":[{"role":"user","content":"Hello"}]}'

Compatible endpoints

openaiPOST /v1/chat/completions
openai-responsePOST /v1/responses
anthropicPOST /v1/messages

Docs for this model