
xAI route
grok-4.5
Grok 4.5 API pricing.
One OpenAI-compatible route at the vendor list price with 0% markup, billed per token from one prepaid balance. No subscription required.
Input / 1M tokens
$2.00
Output / 1M tokens
$6.00
Context window
500K
Provider
xAI
Workload calculator
Put the token rate into context.
These examples apply the published input and output rates directly. Actual cost follows the exact tokens your client sends and the model returns.
This route is the 23rd cheapest of 39 comparable text models and cheaper than 14 on the same key. Its context window ranks 24th of 39.
Short request
$0.026
10K input + 1K output
Agent turn
$0.26
100K input + 10K output
Exact token billing
No request minimum
One model ID change
OpenAI compatible
Long-context threshold
Rate changes after 200K.
Long input / 1M
$4.00
Long output / 1M
$12.00
2.0× more on input than the base rate. The threshold applies per request, not per conversation.
Cost neighbourhood
Nearby routes, same workload.
Every comparison uses the same 100K-input / 10K-output turn. Changing route is a one-line model ID edit.
Price does not measure task quality. Check Grok 4.5 benchmark evidence before optimizing on cost alone. For generation routes, see GPT Image 2.
First request
Route it in one call.
Use any OpenAI SDK or tool. Keep the request shape, point the base URL at RouterPlex, and set the model ID shown here.
Read the quickstartcurl https://api.routerplex.com/v1/chat/completions \-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "grok-4.5","messages": [{"role": "user", "content": "Hello!"}]}'
Route notes
Questions before production traffic.
01How 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.
02What does one Grok 4.5 agent turn cost?+
A 100K-token input with a 10K-token reply costs about $0.26 on Grok 4.5. That makes it the 23rd cheapest of 39 comparable text models on RouterPlex, roughly 24.1× the cost of the cheapest option (DeepSeek V4 Flash).
03What is a cheaper alternative to Grok 4.5?+
Gemini 3.5 Flash from Google is the closest cheaper model on RouterPlex — $0.24 per agent turn against $0.26 for Grok 4.5, at $1.50/1M input and $9.00/1M output. Both run on the same key and the same endpoint, so switching is a one-line model ID change.
04Is Grok 4.5 cheaper than Claude Sonnet 5?+
Yes. Per agent turn, Grok 4.5 costs about $0.26 against $0.30 for Claude Sonnet 5 — 13% less.
05What is the context window of Grok 4.5?+
Grok 4.5 supports a 500K token context window on RouterPlex, the 24th largest of the 39 models that publish one.
06Can 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".
Provider family
More from xAI.
Deploy this route
Put Grok 4.5 behind one key.
Top up from $5 with no subscription required.