GPT-5.1 Codex Mini is OpenAI's language model with a 400K context window and up to 128K output tokens, available from 4 providers, starting at $0.25 / 1M input and $2.00 / 1M output. A smaller, cost-effective variant of GPT-5.1 Codex optimized for agentic coding tasks with reduced capability and cost.
| Benchmarks | |
|---|---|
| Intelligence Index | #129 |
| Math Index | #22 |
| MMLU-Pro | #84 |
| GPQA | #134 |
| HLE | #129 |
| LiveCodeBench | #23 |
| IFBench | #79 |
| Time to First Token | #233 |
| SciCode | #98 |
| AIME 2025 | #22 |
| LCR | #141 |
| TerminalBench Hard | #82 |
| TAU2 | #170 |
| Output TPS | #467 |
Capabilities
Input3/5
Text✓
Image✓
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities7/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | Fast | |||||
|---|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Web Search $ / request | Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
| $0.275 | $2.20 | $0.028 | N/A | N/A | N/A | N/A | |
| $0.25 | $2.00 | $0.025 | N/A | N/A | N/A | N/A | |
| — | — | — | — | $0.45 | $3.60 | $0.045 | |
| $0.25 | $2.00 | $0.025 | N/A | $0.45 | $3.60 | $0.045 | |
| $0.25 | $2.00 | $0.03 | $0.010 | — | — | — | |
| $0.25 | $2.00 | $0.03 | N/A | — | — | — | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GPT-5.6 Sol | 1.1M | $2.00 | $10.00 | Available | |
| GPT-5.6 Terra | 1.1M | $2.00 | $12.00 | Available | |
| GPT-5.6 Luna | 1.1M | $0.200 | $1.20 | Available | |
| GPT-5.5 | 1.1M | $5.00 | $30.00 | Available | |
| GPT-5.4 Mini | 400K | $0.750 | $4.50 | Available | |
| GPT-5.4 Nano | 400K | $0.200 | $1.25 | Available | |
| GPT-5.4 | 1.1M | $2.50 | $15.00 | Available | |
| GPT-5.3 Codex | 400K | $1.75 | $14.00 | Available | |
| GPT-5.2 Codex | 400K | $1.75 | $14.00 | Deprecated | |
| GPT-5.2 | 410K | $1.75 | $14.00 | Available | |
| GPT-5.1 Codex Mini | 400K | $0.250 | $2.00 | Current |