TokenRoute
Get started
Back to models

SpaceXAI: Grok 4.5

x-ai/grok-4.5

Grok 4.5 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.

Pricing

Input$1.40 /M
Output$4.20 /M
Cache read$0.2100 /M
Web search$0.0035 /req

Specs

Context length500K tokens
Max output450K tokens
Inputtext, image, file
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

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

Supported parameters

include_reasoning
logprobs
max_tokens
reasoning
reasoning_effort
response_format
seed
structured_outputs
temperature
tool_choice
tools
top_logprobs
top_p