# GPT-5.2-Codex

**Provider:** openai
**Canonical ID:** openai__gpt-5.2-codex
**API-style ID:** gpt-5.2-codex
**Released:** 2026-01-14
**Status:** ga
**License:** proprietary
**Context window:** 400,000 tokens
**Output window:** 128,000 tokens
**Modalities:** text, vision, code
**Tags:** coding, agentic, frontier

**Pricing** (as of 2026-12-02):
- Input: $1.75/M tokens
- Output: $14/M tokens

## Developer links
- Docs: https://platform.openai.com/docs/models
- Model card / release: https://openrouter.ai/models/openai/gpt-5.2-codex

## Benchmarks
- swe_bench_pro: 0.564

## Timeline
- 2026-01-14 — **released** — GPT-5.2-Codex released by openai. 400,000-token context. ([source](https://llm-stats.com/models/gpt-5.2-codex))

## Sources
- https://openrouter.ai/models/openai/gpt-5.2-codex
- https://llm-stats.com/models/gpt-5.2-codex
