gpt-5-mini API Pricing
gpt-5-mini on OpenAI costs $0.25 per 1M input tokens and $2.00 per 1M output tokens (as of ).
| Input | $0.25 / 1M tokens |
|---|---|
| Output | $2.00 / 1M tokens |
| Cached input (read) | $0.03 |
| Cache write | — |
| Batch input / output | $0.12 / $1.00 |
| Above 200K tokens (input / output) | — |
| Context window | 272K tokens |
| Max output | 128K tokens |
| Supports | vision, tool calling, reasoning, prompt caching |
| Deprecation date | None listed |
| API model id | gpt-5-mini |
| In our records since |
What it costs for common jobs
Estimated from the list price above (no caching or batch discount).
| Job | Estimated cost |
|---|---|
| 1,000 chat replies (2,000 tokens in, 500 out each) | $1.50 |
| Summarising 100 long documents (50,000 in, 1,000 out each) | $1.45 |
| 1 million classification calls (300 in, 5 out each) | $85.00 |
Try your own numbers in the LLM API cost calculator.
Price history
- Between and : batch input price changed from — to $0.12 per 1M tokens.
Similarly priced models
| Model | Provider | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|---|
| gpt-4.1-mini | OpenAI | $0.40 | $1.60 | $0.10 | 1.04758M |
| gpt-3.5-turbo | OpenAI | $0.50 | $1.50 | — | 16K |
| gpt-5.4-nano | OpenAI | $0.20 | $1.25 | $0.02 | 272K |
| gpt-5.6-luna | OpenAI | $0.20 | $1.20 | $0.02 | 922K |
| gpt-audio-mini | OpenAI | $0.60 | $2.40 | — | 128K |
| gpt-4o-mini | OpenAI | $0.15 | $0.60 | $0.07 | 128K |
| gpt-4o-mini-audio-preview- | OpenAI | $0.15 | $0.60 | — | 128K |
| gpt-4o-mini-search-preview | OpenAI | $0.15 | $0.60 | $0.07 | 128K |