prices synced 2026-08-07

GPT-5 Codex (batch)

OpenAI · Multimodal · Released Sep 2025

Compare

OpenAI's code-focused model optimized for batch processing, with a 400k token context window.

Strengths
Specializes in software engineering tasks, code generation, and handling long independent execution sequences within batch workflows.
Best for
Asynchronous batch jobs that involve complex engineering tasks, multi-step code generation, and processing large codebases.
Limitations
Batch-only mode means it is not suitable for interactive development sessions or real-time code assistance.

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