OpenAI: GPT-5.2-Codex

OpenAI: GPT-5.2-Codex

openai · Released Jan 14, 2026
Intelligence #114 / 688
50.4 our score
Speed #66 / 314
152.0 tok/s
Input Price #557 / 688
$1.75 per 1M tokens
Output Price #611 / 688
$14.00 per 1M tokens
Context #149 / 688
400,000 tokens

Analysis Summary

GPT-5.2-Codex is OpenAI's coding-focused GPT-5.2 variant, built around software engineering and repository-scale tasks. Its 41.2 intelligence index is supported by a 400K context window, vision, tool use, and function calling, giving teams room to provide large codebases, screenshots, specifications, and operational instructions in one workflow.

It fits code generation, debugging, refactoring, technical analysis, and agentic development tasks where reliable context handling matters. Vision support is useful for interface implementation and diagnosing visual defects. The main business limitation is cost, particularly the $14 output price per million tokens, so it should not handle undifferentiated bulk copy or simple classification. Put GPT-5.2-Codex on high-value engineering workflows and pair it with a cheaper model for routine automation.

Assessed August 9, 2026

Editorial notes

GPT-5.2-Codex combines strong reasoning with excellent coding capability, vision, tool use, function calling, and a 400K context window. Premium output pricing makes it best suited to high-value engineering and agentic work.

Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?

DFO Verdict

GPT-5.2-Codex combines strong reasoning with excellent coding capability, vision, tool use, function calling, and a 400K context window. Premium output pricing makes it best suited to high-value engineering and agentic work.

#114 of 688 overall Down 79 this week

How OpenAI: GPT-5.2-Codex compares

OpenAI: GPT-5.2-Codex ranks #52 of 420 AI models we track for overall intelligence. Its 400K-token context window is larger than 78% of the models we list. At $1.75 per million input tokens it is cheaper than 19% of comparable models.

Position in the field
Intelligence: smarter than 83% of models #114
Speed: faster than 79% of models #66
Price: cheaper than 19% of models #557
Context: larger than 78% of models #149
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
OpenAI: GPT-5.2-Codex $1.75 in $14.00 out
Claude Opus 5 $5.00 in $25.00 out
Qwen: Qwen3.8 Max $2.00 in $6.00 out
Anthropic: Claude Fable 5 $10.00 in $50.00 out

Dark bar = input · light bar = output, scaled to the priciest peer.

Context window vs peers · tokens
OpenAI: GPT-5.2-Codex 400K

1M tokens ≈ 8 full-length novels or ~2,500 pages of business documents in a single request.

Intelligence5.9Technical0Value6.5Content8
Performance profile

Strongest on business fit. The pulled-in technical corner is the trade-off, and if the shape matters more than the price, this is your model.

Compare shapes side-by-side →

Pricing

Token Type Cost per 1M tokens Cost per 1K tokens
Input $1.75 $0.001750
Output $14.00 $0.014000

What would OpenAI: GPT-5.2-Codex cost your business?

Pick the job that looks most like yours, then fine-tune with the sliders. Estimates update live.

A website chatbot handling around 100 customer conversations a day, a few short messages each.

3,000
One request is one message, email, draft or automation call.
1,200 tokens

$0/mo OpenAI: GPT-5.2-Codex

Full calculator with 688 models → Price Calculator

DFO AI AUTOMATION

These numbers get smaller with the right architecture.

We route routine calls to cheap models and save OpenAI: GPT-5.2-Codex for the hard ones. Most clients cut their estimate by 60-80%.

Talk to our team

About OpenAI: GPT-5.2-Codex

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks..

Frequently asked questions about OpenAI: GPT-5.2-Codex

How much does OpenAI: GPT-5.2-Codex cost?

OpenAI: GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens.

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

OpenAI: GPT-5.2-Codex has a context window of 400,000 tokens (400K).

What can OpenAI: GPT-5.2-Codex do?

OpenAI: GPT-5.2-Codex supports image/vision input, tool use, and function calling.

Who created OpenAI: GPT-5.2-Codex?

OpenAI: GPT-5.2-Codex is developed by OpenAI and was released on January 14, 2026.

© 2026 Design for Online Ltd. Registered in England and Wales No. 10328553. VAT Registered. Design for Online® and Forerunner® are registered trademarks.