Grok 4.5 is SpaceXAI's frontier model built for coding, agentic tasks, and knowledge work. It was trained in SpaceXAI's data centers in Memphis with new datasets spanning science, engineering, and math.
This model is available from multiple providers. Select one to see its pricing and sample code.
Official channels of xAI
Reverse Grouping of Grok
Transparent pay-as-you-go pricing by token usage — no subscriptions or hidden fees.
Your charge is determined by actual usage and the parameters selected for the request. The prices below stay in sync with this model's current configuration.
The token tier is selected from this request's input token count. Its input, output, and cache rates then apply to the whole request.
Copy an example below to start calling this model in minutes.
from openai import OpenAI
client = OpenAI(
base_url="https://api.apipod.ai/v1",
api_key="<YOUR_API_KEY>",
)
# Chat Completions
completion = client.chat.completions.create(
model="grok-4.5",
messages=[
{
"role": "user",
"content": "What is the meaning of life?",
}
],
)
print(completion.choices[0].message.content)