gpt-5.2 vs gpt-5.4: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of gpt-5.2 and gpt-5.4, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
gpt-5.2: GPT-5.2, the best model for coding and intelligent tasks across industries.
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 overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | gpt-5.2 | gpt-5.4 |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Group | Azure-Gpt-3 | Azure-Gpt-3 |
| Input (USD / 1M tokens) | $0.385 | $0.55 |
| Output (USD / 1M tokens) | $3.08 | $3.30 |
| Cache read (USD / 1M tokens) | $0.0385 | $0.055 |
| Monthly cost example | $100.10 | $121.00 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
gpt-5.4 has long-context tiers; the example uses first-tier prices.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
gpt-5.2 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Azure-Gpt-3 | $0.385 | $3.08 | $0.0385 | $100.10 |
| Azure-Gpt-4 | $0.77 | $6.16 | $0.077 | $200.20 |
| Openai-Gpt-1 | $1.029 | $8.235 | $0.1029 | $267.65 |
| Azure-Gpt-5 | $1.05 | $8.40 | $0.105 | $273.00 |
| Openai-Gpt-2 | $1.287 | $10.294 | $0.1287 | $334.56 |
| Azure-Gpt-6 | $1.575 | $12.60 | $0.1575 | $409.50 |
gpt-5.4 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Azure-Gpt-3 | $0.55 | $3.30 | $0.055 | $121.00 |
| Azure-Gpt-4 | $1.10 | $6.60 | $0.11 | $242.00 |
| Openai-Gpt-1 | $1.471 | $8.824 | $0.1471 | $323.53 |
| Azure-Gpt-5 | $1.50 | $9.00 | $0.15 | $330.00 |
| Openai-Gpt-2 | $1.838 | $11.029 | $0.1838 | $404.41 |
| Azure-Gpt-6 | $2.25 | $13.50 | $0.225 | $495.00 |
Same-group comparison
Groups available to both models, with the monthly cost example in the same group:
| Group | gpt-5.2 | gpt-5.4 |
|---|---|---|
| Azure-Gpt-3 | $100.10 | $121.00 |
| Azure-Gpt-4 | $200.20 | $242.00 |
| Openai-Gpt-1 | $267.65 | $323.53 |
| Azure-Gpt-5 | $273.00 | $330.00 |
| Openai-Gpt-2 | $334.56 | $404.41 |
| Azure-Gpt-6 | $409.50 | $495.00 |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | gpt-5.2 | gpt-5.4 |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Context | — | — |
| Features | Conversation · Image Recognition · Tools | Conversation · Image Recognition · Tools |
| API formats | OpenAI Chat Completions · OpenAI Responses | OpenAI Responses |
| Long-context tiers | No | Yes |
Which one to choose
- Lower cost: gpt-5.2 is cheaper — about $100.10 vs $121.00 for gpt-5.4 in the monthly example above.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The two models use different API formats; an example for each:
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.2",
"messages": [{"role": "user", "content": "Hello"}]
}'curl https://api.openlux.ai/v1/responses \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-5.4", "input": "Hello"}'Full parameters in the API docs
FAQ
Which is cheaper, gpt-5.2 or gpt-5.4?
At build time, the lowest public prices were: gpt-5.2 (Azure-Gpt-3 group) input $0.385, output $3.08 per 1M tokens; gpt-5.4 (Azure-Gpt-3 group) input $0.55, output $3.30 per 1M tokens. For 100M input + 20M output tokens a month, gpt-5.2 costs about $100.10 and gpt-5.4 about $121.00.
Can I use one API key for both gpt-5.2 and gpt-5.4?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to gpt-5.2 or gpt-5.4. Usage of both models is billed from the same balance.
Which API formats do gpt-5.2 and gpt-5.4 support?
gpt-5.2: OpenAI Chat Completions, OpenAI Responses. gpt-5.4: OpenAI Responses.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.