gpt-4o-mini
On this page
OpenAI model gpt-4o-mini. Prices are in US dollars per million tokens.
Current price, since 2025-06-05: input $0.15, output $0.60, cached input $0.075.
Matches OpenAI's pricing page, checked 2026-10-22 21:28 UTC.
Price a request with this model.
Standard price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
|---|---|---|---|---|---|---|---|
| 2025-06-05 | $0.15 | $0.075 | $0.60 | documented | link | ||
| 2025-06-05, first record | $0.15 | $0.60 | models.dev commit | link |
Fast mode price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
|---|---|---|---|---|---|---|---|
| 2026-10-01 | $0.25 | $0.125 | $1.00 | models.dev commit | link | ||
| first record | not sold |
A blank cache price is charged at the input price. Longer prompts list the prices for requests whose whole prompt exceeds the size given.
import model_prices
model_prices.rates("gpt-4o-mini", provider="openai")