The Orchestrator › Models › OpenAI
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....
Specifications
| Provider | OpenAI |
| Model ID | openai/gpt-5.2-codex |
| Context window | 400K tokens (400,000) |
| Modalities | text + image → text |
| Tokenizer | GPT |
| Router sources | OpenRouter, Vercel AI Gateway |
| Released | 2026-01-14 |
| Tracked since | 2026-11-14 |
| Popularity | Not in the ranked set |
| Reasoning | Mandatory |
Pricing (per million tokens)
| Variant | Source | API ID | Input | Output | Context |
|---|---|---|---|---|---|
| standard | OpenRouter | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K |
| standard | Vercel AI Gateway | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K |
Recorded price history
| Date | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| 2026-11-14 | $1.75 | $14.00 | 400K |
| 2026-11-14 | $1.75 | $14.00 | 400K |
Capabilities
Vision (image input)Agentic tool useStructured outputsReasoning (always on)256K+ context windowControllable reasoningZero data retentionNo training on inputs (attested)
Trust flags come from TrustedRouter's per-provider attestations.
Supported parameters
include_reasoning, max_completion_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools, verbosity