gpt-5.2
NixAPI price, from
USD per 1M tokens · via group Codex-Gpt-1 · Official list price $1.75 / $14Save 94%
About gpt-5.2
GPT-5.2, the best model for coding and intelligent tasks across industries.
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.1087 | $0.87 | $0.0109 | — | |
Azure-Gpt-1 | … | ×0.0744 | $0.1301 | $1.041 | $0.013 | — | |
Codex-Gpt-2 | … | ×0.0994 | $0.174 | $1.392 | $0.0174 | — | |
Azure-Gpt-2 | … | ×0.169 | $0.2958 | $2.366 | $0.0296 | — | |
Azure-Gpt-3 | … | ×0.3718 | $0.6506 | $5.205 | $0.0651 | — | |
Azure-Gpt-4 | … | ×0.7436 | $1.301 | $10.41 | $0.1301 | — | |
Openai-Gpt-1 | … | ×0.9941 | $1.74 | $13.918 | $0.174 | — | |
Azure-Gpt-5 | … | ×1.014 | $1.774 | $14.196 | $0.1774 | — | |
Openai-Gpt-2 | … | ×1.2427 | $2.175 | $17.397 | $0.2175 | — | |
Azure-Gpt-6 | … | ×1.521 | $2.662 | $21.294 | $0.2662 | — |
USD per 1M tokens
Supported endpoints
Call gpt-5.2 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.2",
"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.2",
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.2",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about gpt-5.2
How much does gpt-5.2 cost on NixAPI?
From $0.1087 per 1M input tokens and $0.87 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.2?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "gpt-5.2".
Which routing groups serve gpt-5.2?
gpt-5.2 is available in 10 routing groups: Codex-Gpt-1, Azure-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.