OpenAI: GPT-5.1-Codex-Miniopenai
Bottom Line
OpenAI: GPT-5.1-Codex-Mini: $0.25/1M input, $2.00/1M output, 400K context, CPS grade A. GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
API Pricing (per 1M tokens)
| Input | $0.25 |
| Output | $2.00 |
| Cache Read | — |
| Cache Write | — |
| Blended (3:1) | $0.69 |
Specs & Performance
| Context Length | 400K |
| Max Output | 128K |
| Intelligence | 20 |
| Coding | 36 |
| Math | 92 |
| Speed | — |
| TTFT | — |
| CPS Grade | A |
| Input / Output Modalities | image, text → text |
More from openai
Looking for cheaper alternatives?
Find the cheapest model by task, or compare two models head-to-head.
FAQ
How much does the OpenAI: GPT-5.1-Codex-Mini API cost?
OpenAI: GPT-5.1-Codex-Mini costs $0.25/1M input tokens and $2.00/1M output tokens. Blended cost at a 3:1 ratio is about $0.69/1M tokens.
What is the context window of OpenAI: GPT-5.1-Codex-Mini?
OpenAI: GPT-5.1-Codex-Mini supports a 400K token context window with up to 128K output tokens.
Is OpenAI: GPT-5.1-Codex-Mini worth it?
OpenAI: GPT-5.1-Codex-Mini has a CPS grade of A (score 67), intelligence index 20, coding index 36. Use the compare page to benchmark against rivals.