GPT-5.2-Codex
ActiveGPT-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....
Overview
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....
History
GPT-5.2-Codex became available via the OpenAI API on 2026-01-14.
Training & availability
OpenAI has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 400K tokens.
-
Input modalities: text, image.
Recommended for: vision, long-context.
Pricing
- Input: $1.7500 per 1M tokens
- Output: $14.0000 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the openai API. Copy, paste, replace the key.
from openai import OpenAI
client = OpenAI(api_key="sk-...")
resp = client.chat.completions.create(
model="gpt-5-2-codex",
messages=[{"role": "user", "content": "Explain quantum computing in one sentence."}],
)
print(resp.choices[0].message.content)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Integrations & tooling support
- Tool calling
- Not supported
- Structured outputs
- Not supported
Price vs quality
This model has no benchmark scores recorded yet.
Community ratings
Rate GPT-5.2-Codex
Sign in to rate and review.
Comments
Sign in to leave a comment.