GPQA Diamond
Graduate-level scientific reasoning
85.9%
ARC-AGI-2
Abstract reasoning on novel puzzles
18.9%
FrontierMath
Expert-level mathematics
53.9%
OTIS Mock AIME
Competition mathematics
88.9%
gpt-5-4-mini Strong small GPT for coding subagents, quick tool use, and high-volume work
Quick facts
Explore GPT 5.4 mini pricing per million input, output, and cached tokens, along with its context window and maximum output limits.
Context window
400K tokens
Max output
128K tokens
Input
Output
How GPT 5.4 mini scores on independent benchmarks tracked by Epoch AI.
Epoch Capabilities Index
149.4
ECI rank
#75 of 258
Benchmark data: Epoch AI, ‘Capabilities & benchmarking’, licensed under CC BY 4.0.
Start using GPT 5.4 mini
gpt-5-4-mini https://api.nexos.ai/v1 from openai import OpenAI
# Get your API key from the nexos.ai dashboard
client = OpenAI(
base_url="https://api.nexos.ai/v1",
api_key="YOUR_NEXOS_API_KEY",
)
response = client.chat.completions.create(
model="gpt-5-4-mini",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content) import OpenAI from 'openai';
// Get your API key from the nexos.ai dashboard
const client = new OpenAI({
baseURL: 'https://api.nexos.ai/v1',
apiKey: 'YOUR_NEXOS_API_KEY',
});
const response = await client.chat.completions.create({
model: 'gpt-5-4-mini',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content); curl https://api.nexos.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_NEXOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5-4-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}' Models from OpenAI with comparable capabilities and pricing.
Access GPT 5.4 mini and 200+ other AI models through nexos.ai.
Common questions about GPT 5.4 mini, its availability and usage.
GPT 5.4 mini pricing starts at $0.75 per 1 million input tokens and $4.50 per million output tokens. Prices may vary depending on the provider, region, and caching options. See the pricing table above for a full comparison.
GPT 5.4 mini supports a context window of 400,000 tokens, with a maximum output of 128,000 tokens. The context window determines how much information the model can process in a single request.
GPT 5.4 mini supports vision, tool calling, prompt caching, reasoning, web search, and structured JSON output. These features can be used individually or together, depending on the model and your application’s requirements.
GPT 5.4 mini is available through Azure and OpenAI, with deployment options in the US, EU, and Global regions. Availability may vary by provider. See the provider comparison table above for details.
Zero data retention (ZDR) is available for GPT 5.4 mini through Azure and OpenAI. With ZDR, supported providers do not retain request and response content after processing, subject to their applicable policies.
To use GPT 5.4 mini through nexos.ai, you’ll need an Enterprise plan. Once your account is set up, create an API key, set your base URL to https://api.nexos.ai/v1, and specify gpt-5-4-mini in your API request. nexos.ai is OpenAI-compatible, so you can use your existing SDK integration by updating the API key, base URL, and model ID.