OpenAI: GPT-5.1-Codex-Mini API Pricing
Live token cost for OpenAI: GPT-5.1-Codex-Mini from OpenAI. Use the figures below for budgeting, then tune your exact request mix in the interactive calculator. Prices refresh every 24 hours from OpenRouter.
Capabilities
OpenAI: GPT-5.1-Codex-Mini cost at scale
Estimated monthly cost across common production volumes. Assumes 30-day months and the request shapes shown.
| Tier | Requests / day | In / out tokens | $ / month |
|---|---|---|---|
| Hobby | 1,000 | 500 / 200 | $15.75 |
| Startup | 10,000 | 1,500 / 500 | $412.50 |
| Growth | 100,000 | 3,000 / 800 | $7,050.00 |
| Enterprise | 1,000,000 | 8,000 / 2,000 | $180,000.00 |
| Enterprise (batch mode) | 1,000,000 | 8,000 / 2,000 | $90,000.00 |
Compare OpenAI: GPT-5.1-Codex-Mini vs.
Frequently asked questions
How much does OpenAI: GPT-5.1-Codex-Mini cost?
OpenAI: GPT-5.1-Codex-Mini costs $0.25 per 1M input tokens and $2.00 per 1M output tokens, with cached input at $0.03 per 1M tokens. A typical 1,500-token in / 500-token out request costs $0.00137.
Does OpenAI: GPT-5.1-Codex-Mini support cached input?
Yes. OpenAI: GPT-5.1-Codex-Mini supports prompt caching at $0.03 per 1M cached input tokens. Reuse the same system prompt or context across requests to cut input cost dramatically.
What is the OpenAI: GPT-5.1-Codex-Mini context window?
OpenAI: GPT-5.1-Codex-Mini supports a context window of 400,000 tokens (400K). Max output per response is 128,000 tokens.
What is OpenAI: GPT-5.1-Codex-Mini good for?
OpenAI: GPT-5.1-Codex-Mini is a good fit for frontier reasoning, agentic tool use, code generation, multimodal analysis. For other use cases, run your specific input/output mix through the interactive calculator to compare against alternative models.