GPT-5.2-codex
GPT-5.2-codex is a text model from
OpenRouter with a context window of 272K tokens and max output of 128K tokens. Pricing starts at 1.75 per million input tokens and 14.00 per million output tokens (cheapest at Azure OpenAI).
Capabilities
✗ Vision✗ Function Calling✓ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Specifications
| Model Key | openrouter/openai/gpt-5.2-codex |
| Provider | |
| Provider ID | openrouter |
| Mode | Text |
| Canonical Name | gpt-5.2-codex |
| Context Window | 272K tokens |
| Max Output | 128K tokens |
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | 0.0018 | 1.75 |
| Output Tokens | 0.014 | 14.00 |
| Cache Read (Input) | 0.000175 | 0.175 |
Price Comparison by Provider
Compare prices for GPT-5.2-codex across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price, $ | Output Price, $ |
|---|---|---|---|
| openrouter/openai/gpt-5.2-codex | 1.75 | 14.00 | |
| gpt-5.2-codex | 1.75 | 14.00 | |
| chatgpt/gpt-5.2-codex | N/A | N/A | |
| azure/gpt-5.2-codex | 1.75 | 14.00 |
All Variants
All available versions, regions, and API endpoints for GPT-5.2-codex.
Model Key | Provider | Mode | Input Price, $ | Output Price, $ | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| azure/gpt-5.2-codex | Other | 1.75 | 14.00 | 272K | 128K | yes | yes | |
| chatgpt/gpt-5.2-codex | Other | N/A | N/A | 128K | 128K | yes | yes | |
| gpt-5.2-codex | Other | 1.75 | 14.00 | 272K | 128K | yes | yes | |
| openrouter/openai/gpt-5.2-codex | Text | 1.75 | 14.00 | 272K | 128K | no | no |