GPT-5.2-Codex
OpenAI
· gpt-5.2-codex
Coding and Prototyping
Production
Recommended, Highest Quality
Agentic coding model for building sites, prototypes and production tools from briefs.
Best use cases: Websites, mobile prototypes, e-commerce builds
9.4
Quality
7
Speed
6
Cost Eff.
9
Brand Safety
8
Control
9.3
Adherence
Input cost
$1.75 / 1M tokens
Output cost
$14.00 / 1M tokens
Generation cost
—
Max context / duration
400K tokens
Aspect ratios
—
Resolutions
—
Input types
Text, images, repos
Output types
Code, text
API endpoint
api.openai.com/v1/responses
Commercial use
Allowed
Data retention
30 days, zero-retention available
Regions available
Global
API connected
Connected
Last updated
Release date
Documentation