OpenAI
Online
New
Hot
GPT-5 mini
Smaller, faster GPT-5 for most production workloads at lower cost.
Model ID: gpt-5-mini
Specifications
Context Window
256K tokens
Max Output
65.5K tokens
Input Price
$0.45 / 1M
Output Price
$1.80 / 1M
Capabilities
Chat
Code
Vision
Functions
JSON Mode
Price Comparison
See how much you save compared to official pricing.
| Metric | Official Price | Our Price | Savings |
|---|---|---|---|
| Input (per 1M tokens) | $0.50 | $0.45 | 10% off |
| Output (per 1M tokens) | $2.00 | $1.80 | 10% off |
Quick Start
Use this model via our OpenAI-compatible API endpoint.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.yourdomain.com/v1",
apiKey: "sk-your-api-key",
});
const response = await client.chat.completions.create({
model: "gpt-5-mini",
messages: [
{ role: "user", content: "Hello! What can you help me with?" },
],
max_tokens: 1024,
});
console.log(response.choices[0].message.content);Pricing Summary
Input$0.45 / 1M
Output$1.80 / 1M
Start for Free
$2 free credit on signup
Provider
OpenAI
Creators of GPT and DALL-E, pioneering AI research.
Related Models
More from OpenAI