GPT-5.1 Codex

openai

GPT-5.1 Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs.

Try Now

Capabilities

Image Input

Extended Thinking

Tool Use

Example Use Cases

Interactive development sessions

Feature development and debugging

Large-scale code refactoring

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