openaiListed Jan 14, 2026

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…

Read full description

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. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1-Codex, 5.2-Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the reasoning.effort parameter. Read the docs here Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.

Source description ↗Checked
Context window400K
Max output128K
Provider endpoints3
Benchmark results0

Model overview

OpenAI: GPT-5.2-Codex is a language model from openai. Listed capabilities include image input, tool calling, structured output, reasoning, and prompt caching. The listed context window is 400,000 tokens.

Provider options and prices

Current standard quotes use 1M tokens. 3 listed provider options. Provider details and conditions →

  • Azure · via OpenRouter ↗$1.75 input · $14.00 output / 1M tokens · USDCurrent standard quote
    Endpoint and conditionsopenai/gpt-5.2-codex::azure

    azure

    Max prompt 272000 tokens

    Quote source ↗ · Checked

  • Experiential ↗$1.8463 input · $14.77 output / 1M tokens · USDCurrent standard quote
    Endpoint and conditionsgpt-5.2-codex

    Standard list rate

    Catalog list rate. Plan allowances and temporary discounts are separate.

    Quote source ↗ · Checked

  • OpenRouter ↗See provider details
    Endpoint and conditionsopenai/gpt-5.2-codex

    Configuration not reported.

    Quote source ↗ · Checked

Benchmark coverage

No published model benchmark result is linked to this exact identity in the catalog.

Measured performance

Benchmark results

All leaderboards ↗
—

No published results in this index yet

Scores appear here when an evaluation matches this exact model.

Access & cost

Prices across providers

3 quotes

Your token mix

USD · listed token rates

ExperientialStandard list rate
$5.5388

OpenRouter

Catalog quote
Input
$1.75
Output
$14.00
Cached input
$0.175
USD / 1M tokens
400K context128K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDopenai/gpt-5.2-codex

Experiential

Standard list rate

Input
$1.8463
Output
$14.77
Cached input
$0.1846
USD / 1M tokens

Catalog list rate. Plan allowances and temporary discounts are separate.

400K context128K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDgpt-5.2-codex

Azure

via OpenRouter

azure

Input
$1.75
Output
$14.00
Cached input
$0.175
USD / 1M tokens

Max prompt 272000 tokens

400K context128K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDopenai/gpt-5.2-codex::azure

Model specifications

Developer
openai
Modality
Language
Context
400,000 tokens
Maximum output
128,000 tokens
Weights
Not reported
Provider listed
Jan 14, 2026
First discovered
Oct 16, 2026

Exact identities

  • openrouteropenai/gpt-5.2-codex
  • experientialgpt-5.2-codex

Sources

Updated Dec 4, 2026

More from openai

View all ↗
openaiListed 16 days ago

OpenAI: GPT-6.2 Astra Pro

GPT-6.2 Astra Pro is the same underlying model as GPT-6.2 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Cost note: pro mode spends far more...

1.1M contextImage inputTool callingNo reported score
No reported score
$8.00in$40.00out/ 1M tokens · USDAzure · via OpenRouter · 5 endpointsazure · prompt ≤ 272000 tokens
openaiListed 16 days ago

OpenAI: GPT-6.2 Astra Pro (batch)

GPT-6.2 Astra Pro is the same underlying model as GPT-6.2 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Cost note: pro mode spends far more...

1.1M contextImage inputTool callingNo reported score
No reported score
$4.00in$20.00out/ 1M tokens · USDOpenAI · via OpenRouter · 2 endpointsopenai · prompt ≤ 272000 tokens
openaiListed 16 days ago

OpenAI: GPT-6.2 Astra

GPT-6.2 Astra is the flagship model in the GPT-6.2 series from OpenAI, built for the hardest projects. It is suited for real-world engineering, professional work and scientific research, with stronger...

1.1M contextImage inputTool callingNo reported score
No reported score
$8.00in$40.00out/ 1M tokens · USDAmazon Bedrock · via OpenRouter · 7 endpointsamazon-bedrock/global · prompt ≤ 272000 tokens
openaiListed 16 days ago

OpenAI: GPT-6.2 Astra (batch)

GPT-6.2 Astra is the flagship model in the GPT-6.2 series from OpenAI, built for the hardest projects. It is suited for real-world engineering, professional work and scientific research, with stronger...

1.1M contextImage inputTool callingNo reported score
No reported score
$4.00in$20.00out/ 1M tokens · USDOpenAI · via OpenRouter · 2 endpointsopenai · prompt ≤ 272000 tokens