# OpenAI: GPT-5.2-Codex

Provider: openai  
Category: llm  
Model ID: `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....

## Specs

- Context length: 400000 tokens
- Max output: 128000 tokens
- Modalities: text, image
- Released: 2026-01-14

## Pricing

- Input: $1.75 per million tokens
- Output: $14.00 per million tokens

## Providers

- **openai** — ctx 400000, input $1.75/M, output $14.00/M

---
Last verified: 2026-04-23T23:46:29.618Z  
Canonical URL: https://switchy.build/models/gpt-5-2-codex