OpenAI: GPT-5.1-Codex-Mini API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| OpenAI: GPT-5.1-Codex-Mini | OpenAI | $0.25 | $2.00 | 400,000 (400K) | image, texttext |
Capabilities
Context window
400,000 (400K)
Max output
128,000 (128K)
Input modalities
image, text
Output modalities
text
Supported parameters
include_reasoning
max_completion_tokens
reasoning
reasoning_effort
response_format
seed
structured_outputs
tool_choice
tools
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| OpenAI: GPT-5 Mini | $0.25 | $2.00 | 400,000 (400K) | text, image, filetext |
| OpenAI: GPT-3.5 Turbo (batch) | $0.25 | $0.75 | 16,385 (16K) | texttext |
| OpenAI: GPT-5.4 Nano | $0.20 | $1.25 | 400,000 (400K) | file, image, texttext |
| OpenAI: GPT-4.1 Mini (batch) | $0.20 | $0.80 | 1,047,576 (1M) | image, text, filetext |
| OpenAI: GPT-4o-mini | $0.15 | $0.60 | 128,000 (128K) | text, image, filetext |
| OpenAI: GPT-4o-mini (2024-07-18) | $0.15 | $0.60 | 128,000 (128K) | text, image, filetext |
| OpenAI: GPT-5.4 Mini (batch) | $0.375 | $2.25 | 400,000 (400K) | file, image, texttext |
| OpenAI: GPT-5 Mini (batch) | $0.125 | $1.00 | 400,000 (400K) | text, image, filetext |