gpt-5.4
NixAPI price, from
USD per 1M tokens · via group Codex-Gpt-1 · Official list price $2.5 / $15Save 94%
About gpt-5.4
GPT-5.4 is our frontier model for complex, professional work. Appending the suffix high/low/medium/xhigh to the model name indicates the thinking effort level.
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 |
|---|---|---|---|---|---|---|---|
Codex-Gpt-1 | … | ×0.0621 | $0.1554 | $0.9321 | $0.0155 | — | |
Codex-Gpt-2 | … | ×0.0994 | $0.2486 | $1.491 | $0.0249 | — | |
Azure-Gpt-2 | … | ×0.169 | $0.4225 | $2.535 | $0.0423 | — | |
Azure-Gpt-3 | … | ×0.3718 | $0.9295 | $5.577 | $0.0929 | — | |
Azure-Gpt-4 | … | ×0.7436 | $1.859 | $11.154 | $0.1859 | — | |
Openai-Gpt-1 | … | ×0.9941 | $2.485 | $14.912 | $0.2485 | — | |
Azure-Gpt-5 | … | ×1.014 | $2.535 | $15.21 | $0.2535 | — | |
Openai-Gpt-2 | … | ×1.2427 | $3.107 | $18.64 | $0.3107 | — | |
Azure-Gpt-6 | … | ×1.521 | $3.802 | $22.815 | $0.3802 | — |
USD per 1M tokens
Long-context pricing
- Prompts over 272,000 tokens: input ×2, output ×1.5
Supported endpoints
Call gpt-5.4 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": "gpt-5.4",
"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="gpt-5.4",
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: "gpt-5.4",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about gpt-5.4
How much does gpt-5.4 cost on NixAPI?
From $0.1554 per 1M input tokens and $0.9321 per 1M output tokens in the Codex-Gpt-1 group, about 94% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call gpt-5.4?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "gpt-5.4".
Which routing groups serve gpt-5.4?
gpt-5.4 is available in 9 routing groups: Codex-Gpt-1, Codex-Gpt-2, Azure-Gpt-2, Azure-Gpt-3, Azure-Gpt-4, Openai-Gpt-1, Azure-Gpt-5, Openai-Gpt-2, Azure-Gpt-6. The lowest price is in Codex-Gpt-1.