prices synced 2026-09-11

GPT-5.1-Codex-Mini

OpenAI · Multimodal · Released Nov 2025

Compare

A coding-specialized model from OpenAI's GPT-5.1 generation with a 400k token context window.

Strengths
Optimized for code generation, analysis, and debugging across a wide range of programming languages and frameworks.
Best for
Development tasks including writing, refactoring, and reasoning about code within large codebases or multi-file projects.
Limitations
Superseded by GPT-5.1-Codex-Max and later GPT-5.2 models; not suitable for non-coding general-purpose reasoning tasks.

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 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

More from OpenAI

Report a problem