TokenDealHub

OpenAI: GPT-5 Codexopenai

Bottom Line

OpenAI: GPT-5 Codex: $1.25/1M input, $10.00/1M output, 400K context, CPS grade A. 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....

API Pricing (per 1M tokens)

Input$1.25
Output$10.00
Cache Read—
Cache Write—
Blended (3:1)$3.44

Specs & Performance

Context Length400K
Max Output128K
Intelligence25
Coding39
Math99
Speed—
TTFT—
CPS GradeA
Input / Output Modalitiestext, image → text

More from openai

Looking for cheaper alternatives?

Find the cheapest model by task, or compare two models head-to-head.

FAQ

How much does the OpenAI: GPT-5 Codex API cost?

OpenAI: GPT-5 Codex costs $1.25/1M input tokens and $10.00/1M output tokens. Blended cost at a 3:1 ratio is about $3.44/1M tokens.

What is the context window of OpenAI: GPT-5 Codex?

OpenAI: GPT-5 Codex supports a 400K token context window with up to 128K output tokens.

Is OpenAI: GPT-5 Codex worth it?

OpenAI: GPT-5 Codex has a CPS grade of A (score 66), intelligence index 25, coding index 39. Use the compare page to benchmark against rivals.