prices synced 2026-07-28

GPT-5.1-Codex-Max

OpenAI · Multimodal · Released Dec 2025

Compare

GPT-5.1-Codex-Max is OpenAI's expanded-capacity variant of GPT-5.1-Codex, optimized for software engineering tasks with a 400k token context window.

Strengths
Handles large codebases, long file sequences, and complex code generation tasks within a single request due to its extended context capacity.
Best for
Working with large repositories, multi-file refactoring, and code analysis that requires processing extensive context in one pass.
Limitations
Designed specifically for coding tasks; use GPT-5.1 or GPT-5.2 for general-purpose reasoning work that doesn't center on software engineering.

Input / 1M

$1.25

Output / 1M

$10.00

Cached input / 1M

$0.125

Context window

400K

Price history

Price per 1M tokens over timeOutput $10.00; Input $1.25 as of Jun 2026.$0$2.00$4.00$6.00$8.00$10.00Output on 11 Jun 2026: $10.00Out $10.00Input on 11 Jun 2026: $1.25In $1.25Jun 2026

Snapshots

Effective Input Output Cached in Note Source
11 Jun 2026 $1.25 $10.00 $0.125 Imported from OpenRouter openrouter.ai

More from OpenAI

Report a problem