TokenDealHub

OpenAI: GPT-5.1-Codexopenai

Bottom Line

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

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
Intelligence24
Coding37
Math96
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.1-Codex API cost?

OpenAI: GPT-5.1-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.1-Codex?

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

Is OpenAI: GPT-5.1-Codex worth it?

OpenAI: GPT-5.1-Codex has a CPS grade of A (score 65), intelligence index 24, coding index 37. Use the compare page to benchmark against rivals.