GPT-5 Codex

OpenAI

GPT-5 Codex is a specialized version of GPT-5 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.

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.1 Codex with better steerability

Recommended Replacement

GPT-5.3 Codex