GPT-5.4 Mini API pricing
$0.45 in, $2.70 out per million tokens, 40% under OpenAI's list price.
gpt-5.4-minimanaged routeOpenAI SDK
Price · per million tokens, USD
| Tokens | OpenAI list price | UplinkSwitch | Saving |
|---|---|---|---|
| Input | $0.75 | $0.45 | -40% |
| Cached input | $0.075 | $0.045 | -40% |
| Output | $4.50 | $2.70 | -40% |
List price: OpenAI's published rate, read October 2026. Same price on every host.
Real-model check: Fingerprint changed Oct 17
GPT-5.4 Mini specs
- Context window
- 400,000 tokens
- Max output
- 128,000 tokens
- Input
- text and image
- Released
- March 17, 2026
GPT-5.4 Mini API · base URL and key
Python · OpenAI SDK
from openai import OpenAI
client = OpenAI(
base_url="https://api.uplinkswitch.com/v1",
api_key="sk-uplink-live-...",
)
completion = client.chat.completions.create(
model="gpt-5.4-mini",
messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)TypeScript · OpenAI SDK
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.uplinkswitch.com/v1',
apiKey: 'sk-uplink-live-...',
});
const completion = await client.chat.completions.create({
model: 'gpt-5.4-mini',
messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);curl
curl https://api.uplinkswitch.com/v1/chat/completions \
-H "authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"model":"gpt-5.4-mini","messages":[{"role":"user","content":"Hello"}]}'What would it cost? · paste a prompt, priced before you send it
Input is counted at about 4 characters per token.
Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.
More from OpenAI
GPT-5.4 Mini questions
- How much does the GPT-5.4 Mini API cost?
- $0.45 per million input tokens and $2.70 per million output tokens, with cached input at $0.045. OpenAI's list price is $0.75 and $4.50, so this is 40% under OpenAI's list price.
- Is GPT-5.4 Mini free?
- It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0018.
- What is the GPT-5.4 Mini context window?
- GPT-5.4 Mini has a 400,000-token context window, with up to 128,000 output tokens per request. It takes text and image input.
- What is the GPT-5.4 Mini model id?
- gpt-5.4-mini. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.