prices synced 2026-10-27

GPT-5.1-Codex-Mini

OpenAI · Multimodal · Released Nov 2025

Compare

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 per 1M tokens over timeOutput went from $2.00 to $2.00; Input went from $0.25 to $0.25 between Jun 2026 and Jul 2026.$0$0.5$1.00$1.50$2.00Output on 11 Jun 2026: $2.00Output on 27 Jul 2026: $2.00Out $2.00Input on 11 Jun 2026: $0.25Input on 27 Jul 2026: $0.25In $0.25Jun 2026Jul 2026

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

More from OpenAI

Report a problem