GPT-5.4 Mini
Approved Data Classifications
Description
GPT-5.4 Mini is OpenAI’s high-throughput small model designed for fast, cost-efficient coding, reasoning, and multimodal workloads. It supports text and image input, produces text output, and keeps the GPT-5.4 family’s 400,000-token context window while lowering cost and latency for production applications. OpenAI positions it as a strong default for high-volume agentic and developer workflows, with pricing at $0.75 per 1M input tokens, $4.50 per 1M output tokens, and $0.075 per 1M cached input tokens.
Capabilities
| Model | Knowledge Cutoff | Input | Output | Context Length | Cost (per 1 million tokens) |
|---|---|---|---|---|---|
| gpt-5.4-mini | Aug 31 2025 | Text, Image | Text | 400,000 | $0.75/1M input $4.50/1M output |
info
1Mrepresents 1 Million Tokens- All prices listed are based on 1 Million Tokens
- Cached input: $0.075 per 1M tokens
Availability
Cloud Provider
Usage
- curl
- python
- javascript
curl -X POST https://api.ai.it.ufl.edu/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{
"model": "gpt-5.4-mini",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Write a haiku about an Alligator."
}
]
}'
from openai import OpenAI
client = OpenAI(
api_key="your_api_key",
base_url="https://api.ai.it.ufl.edu/v1"
)
response = client.chat.completions.create(
model="gpt-5.4-mini", # model to send to the proxy
messages = [
{ "role": "system", "content": "You are a helpful assistant." },
{
"role": "user",
"content": "Write a haiku about an Alligator."
}
]
)
print(response.choices[0].message)
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: 'your_api_key',
baseURL: 'https://api.ai.it.ufl.edu/v1'
});
const completion = await openai.chat.completions.create({
model: "gpt-5.4-mini",
messages: [
{ role: "system", content: "You are a helpful assistant." },
{
role: "user",
content: "Write a haiku about an Alligator.",
},
],
});
print(completion.choices[0].message)
References
- OpenAI - Introducing GPT-5.4 mini and nano
https://openai.com/index/introducing-gpt-5-4-mini-and-nano/- OpenAI API Docs - GPT-5.4 mini
https://developers.openai.com/api/docs/models/gpt-5.4-mini- OpenAI API Pricing
https://developers.openai.com/api/docs/pricing