codex-mini-latest
On this page
OpenAI model codex-mini-latest. Prices are in US dollars per million tokens.
Current price, since 2025-06-05: input $1.50, output $6.00, cached input $0.375.
OpenAI's pricing page does not list this model under this id.
Price a request with this model.
Standard price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
|---|---|---|---|---|---|---|---|
| 2025-06-05 | $1.50 | $0.375 | $6.00 | documented | link | ||
| 2025-06-05, first record | $1.50 | $6.00 | models.dev commit | link |
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("codex-mini-latest", provider="openai")