Grok 4.5
Save 90%Officialxai/grok-4.5
xAI Grok 4.5 — flagship reasoning model, 256K context.
- Context window
- 256K
- Max output
- 64K
- Input modalities
- text
- Output modalities
- text
- Capabilities
- Reasoning · Tool Calling · Coding · Cache
- RouteMux name
- xai/grok-4.5
Try Grok 4.5 here
Tune the request, see the current price ceiling, and inspect the real response without leaving this model page.
Your result will appear here
Enter an input on the left. The same RouteMux Playground execution and billing path powers this embedded test.
Grok 4.5 API pricing
Source: xai_x0.10 · Verified 2026-07-23
Cache read $0.05/M · Cache write —/M
Estimate cost
Limited time20% extra Credits on your first top-up — up to 200 bonus Credits
Applies to your first top-up within 72 hours of signing up. Minimum $20, once per account.
Key capabilities
Interface and protocols
Use any of these IDs to call this model via the API.
xai/grok-4.5Replace the ROUTEMUX_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.routemux.com/v1",
api_key="<ROUTEMUX_KEY>",
)
completion = client.chat.completions.create(
model="xai/grok-4.5",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)Performance (last 30 days)
Grok 4.5 FAQ
›What is Grok 4.5?
xAI Grok 4.5 — flagship reasoning model, 256K context.
›How large is the context window of Grok 4.5?
Grok 4.5 supports a context window of up to 256K tokens, with up to 64K output tokens per request.
›How much does the Grok 4.5 API cost?
Through RouteMux, Grok 4.5 costs $0.2 for input and $0.6 for output (USD per 1M tokens), below the official list price.
›How do I call Grok 4.5 via API?
Grok 4.5 is OpenAI-compatible: point your base URL at RouteMux and set the model field to xai/grok-4.5 — no code changes needed.
›Which input and output modalities does Grok 4.5 support?
Grok 4.5 accepts text as input and produces text as output.