prices synced 2026-09-21

GPT-5 Codex (batch)

OpenAI · Multimodal · Released Sep 2025

Compare

GPT-5 Codex is OpenAI's code-specialized model optimized for software engineering and programming tasks, built on the GPT-5 foundation with a 400k token context window.

Strengths
Delivers strong code generation, debugging, and analysis capabilities across multiple programming languages and frameworks.
Best for
Building and maintaining software systems, completing programming tasks, and reasoning about complex codebases.
Limitations
Narrow specialization makes it less suitable for general-purpose tasks; for broad reasoning and research, GPT-5 Pro or the o-series models are better choices.

Input / 1M

$0.625

Output / 1M

$5.00

Cached input / 1M

$0.0625

Context window

400K

Price history

Price per 1M tokens over timeOutput $5.00; Input $0.625 as of Aug 2026.$0$1.00$2.00$3.00$4.00$5.00Output on 6 Aug 2026: $5.00Out $5.00Input on 6 Aug 2026: $0.625In $0.625Aug 2026

Snapshots

Effective Input Output Cached in Note Source
6 Aug 2026 $0.625 $5.00 $0.0625 Imported from OpenRouter openrouter.ai

More from OpenAI

Report a problem