GPT-5.1-Codex-Mini
OpenAI · Multimodal · Released Nov 2025
A lightweight variant of GPT-5.1-Codex optimized for software engineering tasks with reduced computational overhead.
- Strengths
- Delivers efficient code generation, analysis, and debugging while maintaining a 400k token context window for handling large codebases and technical documentation.
- Best for
- Code completion, refactoring, and debugging workflows where faster inference is preferred over the expanded capacity of GPT-5.1-Codex-Max.
- Limitations
- Positioned below GPT-5.1-Codex-Max and the general-purpose GPT-5.2 for tasks requiring maximum reasoning depth or non-coding capabilities.
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 decreased 0.0% out decreased 0.0%
- 90d
- in decreased 0.0% out decreased 0.0%
- 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 |