prices synced 2026-07-28

GPT-5.1-Codex-Mini

OpenAI · Multimodal · Released Nov 2025

Compare

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

More from OpenAI

Report a problem