# GPT-5.2 Codex

GPT-5.2 Codex is a text generation model from OpenAI, available through the Impossibl API. Its published context window is 400,000 tokens. The advertised input rate is $1.75 per million input tokens. The advertised output rate is $14.00 per million output tokens.

- Model identifier: ` openai/gpt-5.2-codex `
- Creator: OpenAI
- Model type: Text generation
- Canonical model page: [GPT-5.2 Codex](<https://impossibl.com/openai/gpt-5.2-codex>)
- API availability: Listed as serving through Impossibl.
- Creator release date: 2025-12-18

## Capabilities and limits

- Context window: 400,000 tokens
- Maximum output tokens: Not published in the public catalog; this is separate from the context window.
- Inputs: text, image
- Outputs: text
- Tool calling: Not published

## API access

Use ` openai/gpt-5.2-codex ` as the model identifier through the Impossibl API.

Published API endpoints:

- ` /v1/chat/completions `

[API quickstart](<https://impossibl.com/docs/agent-quickstart>) · [Models and billing documentation](<https://impossibl.com/docs/models>)

## Published API prices

All rates are in USD. An unpublished rate is unknown, not zero. Workspace-specific pricing, taxes, balance-purchase fees, billing adjustments, and tool charges can affect the amount paid.

| Usage | Published base rate | Billing unit |
| --- | --- | --- |
| Input | $1.75 | per million input tokens |
| Output | $14.00 | per million output tokens |
| Cache read | $0.175 | per million cached input tokens |
| Cache write (default retention) | Not published | per million tokens |
| Cache write (one-hour retention) | Not published | per million tokens |
| Audio input | Not published | per million audio input tokens |

## Independent benchmarks

Source: [Artificial Analysis](<https://artificialanalysis.ai/>). Last checked: 2026-09-10T09:58:54.927Z.
Configurations are evaluated separately. API scores retain their original units. Unmeasured scores are omitted.

### GPT-5.2 Codex (xhigh)

Source: [Evaluation source](<https://artificialanalysis.ai/models/gpt-5-2-codex>)

| Benchmark | Score |
| --- | --- |
| Intelligence Index | 28.50 |
| Omniscience Index | -2.17 |
| GPQA | 89.90% |
| Humanity’s Last Exam | 35.73% |
| CritPt | 8.67% |
| Terminal-Bench Hard | 37.12% |
| AA-LCR | 82.33% |
| MMMU-Pro | 76.30% |
| IFBench | 77.62% |
| Tau2 | 92.11% |
| intelligence index (API) | 28.5 |

Full benchmark data and breakdowns: [Complete benchmark snapshot](<https://api.impossibl.com/v1/models/openai/gpt-5.2-codex/benchmarks>).


## Availability and retirement

The model is listed as serving. No retirement is announced in the current public catalog.

## Frequently asked questions

### What is GPT-5.2 Codex?

GPT-5.2 Codex is a text-generation model from OpenAI, available through the Impossibl API.

### How much does GPT-5.2 Codex cost?

GPT-5.2 Codex costs $1.75 per million input tokens and $14.00 per million output tokens through the Impossibl API. Cache reads cost $0.175 per million tokens. All rates are in USD.

### What is the context length of GPT-5.2 Codex?

GPT-5.2 Codex has a 400,000-token context window through the Impossibl API.

### What inputs and outputs does GPT-5.2 Codex support?

GPT-5.2 Codex accepts text and image as input. GPT-5.2 Codex returns text.

### How do I use GPT-5.2 Codex through an API?

GPT-5.2 Codex is available through the Impossibl API. Use openai/gpt-5.2-codex as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.

### When was GPT-5.2 Codex released?

OpenAI released GPT-5.2 Codex on December 18, 2025.

Sources: [Creator release announcement](<https://openai.com/index/introducing-gpt-5-2-codex/>)

## Sources and related links

Prices, limits, capabilities, endpoints, and availability come from the public Impossibl catalog. Creator documentation supplies descriptions and release dates where available; it does not override the published API offering.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [GPT-5.2 Codex: model details and pricing](<https://impossibl.com/openai/gpt-5.2-codex>)
- [Model directory](<https://impossibl.com/models>)
