GPT-5.1 Codex Mini
A smaller, cheaper version of GPT-5.1 Codex for lighter agentic coding.
Source: OpenAI models, OpenAI pricing
Pricing
Every billing leg from the live catalog, in USD per 1M tokens.
| Billing leg | Rate | Batch |
|---|---|---|
| Input | $0.25 / M | $0.125 / M |
| Output | $2 / M | $1 / M |
| Cache read | $0.025 / M | $0.0125 / M |
Cost calculator
Billing-grade math over the rate card above, including the thinking tokens most estimates miss.
Hidden reasoning tokens bill as output. 1.0x = thinking off. Medium-effort reasoning typically lands near 3x; heavy reasoning runs 6x to 8x. Set it to match your workload.
Compare providers
The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.
| Platform | Input / M | Output / M | Cache read / M | Batch | Access |
|---|---|---|---|---|---|
OpenAILowest | $0.25 | $2 | $0.025 | ✓ | First-party API |
Cursor | $0.25 | $2 | $0.025 | — | Direct |
Price history
Has this model gotten cheaper or more expensive?
More from OpenAI
Other models from the same provider.
Stop estimating. Track it.
SuperPenguin meters every GPT-5.1 Codex Mini call your team makes, prices it with this exact rate card, and shows spend by feature, customer, and team.
Rates are generated from SuperPenguin's live pricing catalog.