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.
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.
API pricing
Per provider
What it costs per month across providers.
Estimate your monthly bill for OpenAI: GPT-5.2-Codex across every host that publishes per-token pricing. Slide your token volumes; the chart + table re-rank cheapest-first.
Cheapest
$45.5
OpenAI API
$/M input
$1.75
per million tokens
$/M output
$14.0
per million tokens
Providers
2
with priced rows
Monthly bill
Cheapest provider on the left.
Total monthly cost — input + output tokens combined.
Loading...
Bill breakdown.
Full calculator
Want to compare token volumes across other models too?
Open the standalone API pricing tool →
Context window
How much it can remember.
400K tokens
≈ 300,000 English words
4K
32K
128K
1M
Capabilities
What it can do.
·
Vision input
·
Audio input
·
Video input
·
Function calling
·
Tool use
·
JSON mode
✓
Streaming
·
Fine-tuning