GPT-5.1-Codex-Mini
OpenAI · Multimodal · Released Nov 2025
GPT-5.1-Codex-Mini is OpenAI's lightweight coding-specialized model from the GPT-5.1 generation with a 400k token context window.
- Strengths
- The model handles code generation, debugging, and analysis tasks with lower computational requirements than its larger siblings.
- Best for
- Code completion and refactoring workflows where speed and efficiency matter more than handling the most complex architectural problems.
- Limitations
- It sits below GPT-5.1-Codex-Max in the coding tier, so it trades capability for speed and will struggle with intricate multi-file codebases or novel algorithmic challenges.
Input / 1M
$0.25
Output / 1M
$2.00
Cached input / 1M
$0.03
Context window
400K
Price history
Input (solid)Output (dashed)
Price change
- 30d
- in — out —
- 90d
- in — out —
- 1y
- in decreased 0.0% out decreased 0.0%
- Since launch
- in decreased 0.0% out decreased 0.0%
Snapshots
| Effective | Input | Output | Cached in | Note | Source |
|---|---|---|---|---|---|
| 27 Jul 2026 | $0.25 | $2.00 | $0.03 | Imported from OpenRouter | openrouter.ai |
| 11 Jun 2026 | $0.25 | $2.00 | $0.025 | Imported from OpenRouter | openrouter.ai |