OpenAI: GPT-5 Mini
openai/gpt-5-mini
Created Aug 8, 2025|400K context|$0.25/M input tokens|$2.00/M output tokens
Intel TDX
GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost. GPT-5 Mini is the successor to OpenAI's o4-mini model.
Providers for OpenAI: GPT-5 Mini
RedPill routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
openai
Input Price
$0.25
Output Price
$2.00
Total Context
400K
API
RedPill provides an OpenAI-compatible completion API to all models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.
fetch("https://api.redpill.ai/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR-REDPILL-API-KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "openai/gpt-5-mini",
"messages": [
{
"role": "user",
"content": "What is the meaning of life?"
}
]
})
})