OpenAI
GPT-5.1
GPT-5.1 from OpenAI: Sharper GPT-5 generation for coding, product work, and tool-assisted tasks.
- Context
- 400K
- Max output
- 128K
- Input / 1M tokens
- $1.25
- Output / 1M tokens
- $10.00
Accepts
- Text input
- Image input
Produces
- Text output
AI model comparison
Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.
GPT-5.1 from OpenAI lists 400K context, 128K maximum output, $1.25 input per 1M tokens, $10.00 output per 1M tokens. GPT-5.1 Codex mini from OpenAI lists 400K context, 128K maximum output, $0.25 input per 1M tokens, $2.00 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.
OpenAI
GPT-5.1 from OpenAI: Sharper GPT-5 generation for coding, product work, and tool-assisted tasks.
Accepts
Produces
OpenAI
GPT-5.1 Codex mini from OpenAI: Coding-optimized GPT model for repository edits, reviews, and agentic software work.
Accepts
Produces
At a glance
Compare the available figures below, then try both models on the work you need to do.
GPT-5.1 Codex mini
Context capacity
Higher listed limit
GPT-5.1:400K
GPT-5.1 Codex mini:400K
Same value
Maximum output
Higher listed limit
GPT-5.1:128K
GPT-5.1 Codex mini:128K
Same value
Input price
Lower listed token rate
GPT-5.1:$1.25
GPT-5.1 Codex mini:$0.25
GPT-5.1 Codex mini
Output price
Lower listed token rate
GPT-5.1:$10.00
GPT-5.1 Codex mini:$2.00
GPT-5.1 Codex mini
Specifications
| Specification | GPT-5.1 | GPT-5.1 Codex mini |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Listed pricing route | OpenAI | OpenAI |
| Model family | gpt | gpt-codex |
| Accepted inputs | text, image | text, image |
| Produced outputs | text | text |
| Context window | 400K | 400K |
| Max output | 128K | 128K |
| Input price / 1M | $1.25 | $0.25Lower |
| Output price / 1M | $10.00 | $2.00Lower |
| Reasoning mode | Documented | Documented |
| Tool calling | Documented | Documented |
| Image input | Documented | Documented |
| Audio input | Not documented | Not documented |
| Structured output | Documented | Documented |
| License | Proprietary | Proprietary |
Workload guidance
Consider GPT-5.1 Codex mini if you need a lower listed input rate or a lower listed output rate. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.
Explore each model’s features, API requirements and licence terms in the sources below.
GPT-5.1
OpenAI
Profile updated Oct 13, 2026
GPT-5.1 Codex mini
OpenAI
Profile updated Oct 13, 2026
Search by model or provider to explore another comparison.