OpenAI
GPT-5.1 Codex mini Pricing
API pricing for GPT-5.1 Codex mini by OpenAI. Input tokens cost $0.25/1M, output tokens cost $2/1M with 400K context window.
Last updated:
ReasoningToolsVision
Input Cost
$0.25
per 1M tokens
Output Cost
$2
per 1M tokens
Context Window
400K
tokens
Cost Calculator
Estimated Cost:
$0.00
Model Details
Provider
OpenAI
Model ID
gpt-5.1-codex-mini
Context Window
400K tokens
Max Output
128000 tokens
Cache Read Cost
$0.025/1M
Release Date
2025-11-13
Compare Alternatives
| Model | Input | Output | Context |
|---|---|---|---|
| GPT-5.1 Codex mini (this model) | $0.25 | $2 | 400K |
| GPT-5 Mini OpenAI | $0.25 | $2 | 400K |
| DeepSeek V3.1 Alibaba (China) | $0.574 | $1.721 | 131K |
| Qwen Math Plus Alibaba (China) | $0.574 | $1.721 | 4K |
| Qwen2.5 72B Instruct Alibaba (China) | $0.574 | $1.721 | 131K |
| Qwen2.5-Math 72B Instruct Alibaba (China) | $0.574 | $1.721 | 4K |
Available from Resellers
GPT-5.1 Codex mini is also available through these resellers and gateways:
| Reseller | Model | Input | Output |
|---|---|---|---|
| Abacus | GPT-4.1 Mini | $0.4 | $1.6 |
| Abacus | GPT-4o Mini | $0.15 | $0.6 |
| Abacus | GPT-5 Mini | $0.25 | $2 |
| AIHubMix | GPT-4.1 mini | $0.4 | $1.6 |
| AIHubMix | GPT-5-Codex | $1.25 | $10 |
| AIHubMix | GPT-5-Mini | $1.5 | $6 |
| AIHubMix | GPT-5.1 Codex | $1.25 | $10 |
| AIHubMix | GPT-5.1 Codex Mini | $0.25 | $2 |
| AIHubMix | GPT-5.1-Codex-Max | $1.25 | $10 |
| Azure | Codex Mini | $1.5 | $6 |