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

Image Input

Extended Thinking

Tool Use

Example Use Cases

Long-running software development

High-context code generation

Complex multi-file engineering tasks

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

Untested

Recommended Replacement

Qwen3.5 Plus