GPT-5.1 Codex Max

OpenAI

GPT-5.1 Codex Max is OpenAI's agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic workflows spanning software engineering, mathematics, and research. GPT-5.1 Codex Max delivers faster performance, improved reasoning, and higher token efficiency across the development lifecycle.

Try Now

Capabilities

Thinking

Tool Use

Image Input

Technical Specifications

Context Window

400,000 tokens

Max Output

128,000 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input

$1.25

Non-Reasoning Output

$10

Cache Read Input

$0.125

Tool Costs (per 1K calls)

Web Search

$15

Code Execution

$0.19

Legacy

Made legacy on

Reason

Superseded by GPT-5.2 Codex; variant discontinued

Recommended Replacement

GPT-5.3 Codex