Grok
Grok 4.5
x-ai/grok-4.5
Grok 4.5 is SpaceXAI's smartest model with frontier performance on coding, knowledge work, and STEM. Note: prompts longer than 200K tokens are billed by the provider at double the listed rate.
Pricing
| Input | $0.4per 1M tokens |
|---|---|
| Output | $1.20per 1M tokens |
| Cached input | $0.06per 1M tokens read from cache |
Specifications
| Context window | 500Ktokens |
|---|---|
| Max output | 66Ktokens |
| Provider | Grok |
| Capabilities | Vision · Reasoning · Function calling |
| Input types | text, image |
Use Grok 4.5
Point your existing OpenAI SDK at xKiro and pass x-ai/grok-4.5 as the model. Nothing else in your code changes.
from openai import OpenAI
client = OpenAI(
base_url="https://api.xkiro.com/v1",
api_key="YOUR_XKIRO_KEY",
)
response = client.chat.completions.create(
model="x-ai/grok-4.5",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Supported parameters
max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · reasoning · include_reasoning
Related models
Call Grok 4.5 through the same endpoints you already use.
Get an API key