OpenAI model o4-mini. Prices are in US dollars per million tokens.
Current price, since 2025-06-11: input $1.10, output $4.40, cached input $0.275.
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-11 | $1.10 | $0.275 | | $4.40 | | documented | link |
| 2025-06-11, first record | $1.10 | | | $4.40 | | models.dev commit | link |
Fast mode price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
| 2026-10-01 | $2.00 | $0.50 | | $8.00 | | models.dev commit | link |
| first record | not sold | | | | | | |
Flex price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
| 2026-10-01 | $0.55 | $0.138 | | $2.20 | | 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("o4-mini", provider="openai")