gpt-5.1-codex-mini

On this page
  1. Standard price history

OpenAI model gpt-5.1-codex-mini. Prices are in US dollars per million tokens. Current price, since 2025-11-17: input $0.25, output $2.00, cached input $0.025. OpenAI's pricing page does not list this model under this id. Price a request with this model.

Standard price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2025-11-17, first record$0.25$0.025$2.00models.dev commitlink

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-5.1-codex-mini", provider="openai")