← All models
OpenAI
GPT-5 mini
Fast, cheap, still smart.
chatcheapfast
Input price
$0.18
per 1M tokens (with markup)
Output price
$0.72
per 1M tokens (with markup)
Context window
128,000
tokens max input
About GPT-5 mini
GPT-5 mini is a smaller variant of GPT-5 optimized for throughput and cost. Great default for chat and classification.
Capabilities
✓Streaming
✓Tool calling / function calls
✓Vision input
✓JSON mode
Use it through OneAPIKey
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.ONEAPIKEY_API_KEY,
baseURL: "https://oneapikey.app/v1",
});
const res = await client.chat.completions.create({
model: "gpt-5-mini",
messages: [{ role: "user", content: "Hello!" }],
});