GPT-5.2-Codex
OpenAIdevelopers.openai.com/api/docs/models/gpt-5.2-co
Our most intelligent coding model optimized for long-horizon, agentic coding tasks.
Updated 32 min ago · first seen 11 Sept 2026
model_01M293VC5KTXQ5ZAJ9BEBMTRVW
- Context
- 400K tokens
- T2 · 32 min ago
- Released
- 14 Jan 2026
- T2 · 32 min ago
Specification
- Release date
- 14 Jan 2026
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Status
- retired
Source:OpenAI Platform docsT1observed 50 min agohigh
- Openness
- proprietary
Source:OpenAI Platform docsT1observed 50 min agohigh
- Context window
- 400K tokens
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Max output
- 128K tokens
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Modalities
- image, text
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Input modalities
- image, text
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Output modalities
- text
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Tokenizer
- GPT
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- API model id
- gpt-5.2-codex
Source:OpenAI Platform docsT1observed 50 min agohigh
- Deprecation date
- 22 Apr 2026
Source:OpenAI Platform docsT1observed 50 min agohigh
- Retirement date
- 23 Jul 2026
Source:OpenAI Platform docsT1observed 50 min agohigh
- Retirement tentative
- No
Source:OpenAI Platform docsT1observed 50 min agohigh
- Official page
Source:OpenAI Platform docsT1observed 50 min agohigh
- Openrouter id
- openai/gpt-5.2-codex
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Supported parameters
- include_reasoning, max_completion_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
Each value shows its source, tier and observation time. Conflicting claims are kept side by side and flagged — never averaged. How AI Atlas records facts →
Provenance
Attributed facts
21
Source tiers
T1T28 / 13
Freshest observation
32 min ago
Conflicts
None
Modalities
- Modalities
- imagetext
- Input
- imagetext
- Output
- text
Capabilities
Tool calling
Yes
OpenRouter public model & pricing listing · T2
Structured output
Yes
OpenRouter public model & pricing listing · T2
Reasoning
Yes
OpenRouter public model & pricing listing · T2
Vision
Yes
OpenRouter public model & pricing listing · T2
Audio
Unavailable
Fine-tuning available
Unavailable
- Context window
- 400K tokens
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Max output
- 128K tokens
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
- Tokenizer
- GPT
Source:OpenRouter public model & pricing listingT2observed 32 min agomedium
No benchmark results recorded
Current prices
| Provider | Input / 1M | Output / 1M | Cached in | Batch in / out | Context | Observed | Source |
|---|---|---|---|---|---|---|---|
| OpenAI APIopenai/gpt-5.2-codex | $1.75 | $14 | $0.175 | — | 400K | 32 min ago | openrouter.aiT2 |
USD per 1M tokens as published by each provider (USD). Rows are append-only: every change is kept in the history below.
Available through 1
Price history
Input price · USD / 1M tokens
Output price · USD / 1M tokens
- OpenAI API
No hardware estimate available
No lineage recorded
Papers 0
No papers linked yet.
Repositories 0
No repositories linked yet.
As of
Rewind the record: see this entity's attributes exactly as AI Atlas knew them on a given day.
Claim history · Context window
Context windowcontext_length1
| Value | Valid from → to | Status | Source | Confidence | Extractor |
|---|---|---|---|---|---|
| 400K tokens | → current | current | OpenRouter public model & pricing listingT2 | medium | deterministic |
Claims are temporal and append-only: a new observation closes the previous claim (valid_to) instead of overwriting it. Conflicting claims from different sources are kept side by side and flagged — never averaged. Methodology →
OpenAI API lists GPT-5.2-Codex at $1.75 in / $14 out per 1M tokens
openrouter
| Source | Document | Type | Tier | Last observed | Snapshots |
|---|---|---|---|---|---|
| OpenAI Platform docs | developers.openai.com/api/docs/deprecations.md | model_docs | T1· Official | 39 min ago | 1 |
| OpenAI Platform docs | developers.openai.com/api/docs/models.md | model_docs | T1· Official | 39 min ago | 1 |
| OpenRouter public model & pricing listing | openrouter.ai/api/v1/models | catalogue | T2· Quality secondary | 32 min ago | 1 |
Tier 1 = official/primary, 2 = quality secondary, 3 = community, 4 = unverified. Every snapshot is archived; see all sources and the methodology.