Models·OpenAI

GPT-5.2-Codex

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....

$1.75Input, per million tokens
$14Output, per million tokens
400KContext window
128KLongest answer

400K tokens of context — about 300,000 words, on a scale that ends at 2M.

What it can do

  • Reasoning
  • Vision
  • Tool use
  • Takes text
  • Takes image
  • Gives text

Released 14 Jan 2026 · checked 3 Oct 2026.

On these boards

More from OpenAI