Model overview
- Model ID: openai/gpt-5.1-codex-mini
- Provider: openai
- Type: language
- Context window: 400,000 tokens
- Max output tokens: 128,000
Tags: reasoning, file-input, vision, tool-use, implicit-caching
Model pricing
| Metric | Value |
|---|---|
Input tokens (/1M) | $0.25 |
Output tokens (/1M) | $2.00 |
Image generation | n/a |
Cached input read (/1M) | $0.03 |
Cached input write (/1M) | n/a |
Pricing source | gateway |