GPT-5.1 Codex mini API pricing retired
GPT-5.1 Codex mini was retired by OpenAI on 2026-07-23, before we started tracking prices, so no price from before the shutdown is shown here. Provider notice
This model is retired. OpenAI recommends GPT-5.6 Terra instead ($2.00 / $12.00 per 1M).
Calculate my cost on GPT-5.6 Terra →
Before you migrate
Before migrating, re-run your own evaluation on the model you plan to switch to; every current OpenAI price is on the OpenAI hub and changes appear in the monthly roundups.
Current OpenAI models
- GPT-6 Luna — $0.10 / $0.50
- GPT-5.6 Luna — $0.20 / $1.20
- GPT-5.4 mini — $0.75 / $4.50
- GPT-6.1 Terra — $1.00 / $5.00
- GPT-6.2 Sol — $2.00 / $10.00