Grok 4.5 API pricing

Call grok-4.5 through RouterPlex's OpenAI-compatible API — vendor list price, 0% markup, billed per token from a prepaid balance. No subscription required.

Input / 1M tokens
$2.00
Output / 1M tokens
$6.00
Context window
500K
Provider
xAI

Base rate applies below 200K prompt tokens. Prompts at or above 200K are billed at $4 input / $12 output per 1M tokens.

Use it in one request.

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

Works with any OpenAI SDK or tool — just change the base URL. See the quickstart.

Common questions.

How much does the Grok 4.5 API cost?

Through RouterPlex, Grok 4.5 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens — the vendor list price with 0% markup, billed per token from a prepaid balance you top up from $5. Base rate applies below 200K prompt tokens. Prompts at or above 200K are billed at $4 input / $12 output per 1M tokens.

What is the context window of Grok 4.5?

Grok 4.5 supports a 500K token context window on RouterPlex.

Can I use Grok 4.5 with the OpenAI SDK?

Yes. RouterPlex serves Grok 4.5 through an OpenAI-compatible endpoint at https://api.routerplex.com/v1 — point any OpenAI SDK or tool at that base URL with your RouterPlex key and set model to "grok-4.5".

Try Grok 4.5 in minutes.

Top up from $5, or see all model pricing and plans.

Get my API key
Grok 4.5 API Pricing · RouterPlex