Source · Model
GPT-5.2-Codex
developers.openai.com
Captured
Saved source text · excerpt
# GPT-5.2-Codex > For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL. > Our most intelligent coding model optimized for long-horizon, agentic coding tasks. Model ID: `gpt-5.2-codex` GPT-5.2-Codex is an upgraded version of GPT-5.2 optimized for agentic coding tasks in [Codex](https://developers.openai.com/codex) or similar environments. GPT-5.2-Codex supports `low`, `medium`, `high`, and `xhigh` reasoning effort settings. If you want to learn more about prompting GPT-5.2-Codex, refer to our [dedicated guide](/cookbook/examples/gpt-5/codex_prompting_guide). ## Model details - Default snapshot: `gpt-5.2-codex` - Input modalities: text, image - Output modalities: text - 400,000 context window - Maximum input tokens: 272,000 - 128,000 max output tokens - Aug 31, 2025 knowledge cutoff - Reasoning token support ## Pricing Pricing is based on the number of tokens used, or other metrics based on the model type. For tool-specific models, like search and computer use, there’s a fee per tool call. See details in the [pricing page](/api/docs/pricing). ### Text tokens | Metric | Price | Unit | | --- | ---: | --- | | Input | $1.75 | 1M tokens | | Cached input | $0.175 | 1M tokens | | Output | $14 | 1M tokens | ## Endpoints | Endpoint | Route | Support | | --- | --- | --- | | Live | `v1/live/sessions` | Not supported | | Chat Completions | `v1/chat/completions` | Not supported | | Responses | `v1/responses` | Supported | | Realtime | `v1/realtime` | Not supported | | Realtime translation
Textual presence is not independent verification of the claim.
History · 2 revisions
- Recorded as of
- Added
- Status
- Sourced
These are record dates, not the date of the event or publication.
- This revision · added
- View revision · added
Source details
Entry ID
f81b71ce-fa3a-5f2a-b0e1-8aa0aaa30b58Capture SHA-256
5e2ed9e60aac12e155d1c2d7ac0a670c35af799ee25347684740ecb8617605deCapture integrity: verified. Retained text; may be a collector extraction rather than original publisher bytes