grok-4.5
NixAPI price, from
USD per 1M tokens · via group Cli-Grok-1 · Official list price $2 / $6Save 88%
About grok-4.5
Grok 4.5 is a cutting-edge model built by SpaceXAI for coding, agent tasks, and knowledge work. It is trained at SpaceXAI's data center in Memphis using new datasets covering the fields of science, engineering, and mathematics.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Cli-Grok-1 | … | ×0.1243 | $0.2485 | $0.7456 | $0.0621 | — | |
Cli-Grok-2 | … | ×0.174 | $0.348 | $1.044 | $0.087 | — | |
Xai-Grok-1 | … | ×0.7456 | $1.491 | $4.474 | $0.3728 | — |
USD per 1M tokens
Long-context pricing
- Prompts over 200,000 tokens: input ×2, output ×2
Supported endpoints
Call grok-4.5 in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.5",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="grok-4.5",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "grok-4.5",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about grok-4.5
How much does grok-4.5 cost on NixAPI?
From $0.2485 per 1M input tokens and $0.7456 per 1M output tokens in the Cli-Grok-1 group, about 88% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call grok-4.5?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "grok-4.5".
Which routing groups serve grok-4.5?
grok-4.5 is available in 3 routing groups: Cli-Grok-1, Cli-Grok-2, Xai-Grok-1. The lowest price is in Cli-Grok-1.