by OpenAI

OpenAI: GPT-5.2-Codex.

multimodal closed 400K ctx
Cheapest input
$1.75/M
on OpenAI API
Cheapest output
$14.0/M
on OpenAI API
Fastest
53 tok/s
on OpenRouter
Hosted equiv.
~$5.04/hr
@ 100 tok/s on OpenAI API

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 engineeri

Hosted API only

No self-host path — closed weights.

OpenAI: GPT-5.2-Codex's weights aren't published. Use it via the access providers below.

Where to use it

Cheapest hosted endpoints.

Provider Access $/M in $/M out
OpenAI API api direct $1.75 $14.0 Launch ↗
OpenRouter api aggregator $1.75 $14.0 Launch ↗
Performance

Speed across providers.

Tokens/sec and time-to-first-token measured against the same prompt template on each provider's API.

Provider Tokens/sec TTFT Total
OpenRouter 53.4 1594 ms 2378 ms
FAQ

Frequently asked.

How do I run OpenAI: GPT-5.2-Codex?
OpenAI: GPT-5.2-Codex is a closed-source API model. The cheapest way to access it is through the API providers listed on this page (direct API, aggregators, and hosted chat UIs).
Where can I access OpenAI: GPT-5.2-Codex?
OpenAI: GPT-5.2-Codex is available via OpenAI API, OpenRouter. Each access option lists its own pricing (per million tokens or hourly hosting).
How much does it cost to run OpenAI: GPT-5.2-Codex?
API pricing starts at $1.75/M input tokens and $14.0/M output tokens. Self-hosting cost depends on the GPU you rent — see the Run It Yourself tab.
Is OpenAI: GPT-5.2-Codex open-source or proprietary?
OpenAI: GPT-5.2-Codex is a proprietary model from OpenAI. Access is API-only — there are no public weights to download.