OpenAI

GPT-5.2 Codex

openai/gpt-5.2-codex

codingagenticreasoningtoolscodex

Input price

1118.6 RODI/M

~ 1.75 USD/M

Output price

8948.5 RODI/M

~ 14 USD/M

Context

400K

Max output

128K

Input:textimage
Output:text

Providers & pricing

ProviderInputOutputFree tier
Azure

Azure

Default

1118.6 RODI/M~1.75 USD/M8948.5 RODI/M
OpenAI

OpenAI

1118.6 RODI/M~1.75 USD/M8948.5 RODI/M

Pricing

RateRODIUSD (ref.)Unit
In1118.6~ 1.75USD/M · RODI/M
Out8948.5~ 14.00USD/M · RODI/M
Cached111.9~ 0.175USD/M · RODI/M

RODI prices include RodiumAi markup and upstream fees. USD figures are wholesale reference rates.

Capabilities

Streaming
Tool calling
Vision
JSON mode
Reasoning

About this model

GPT-5.2 Codex optimized for agentic coding via the Responses API. Azure Global Standard.

API usage

Use the canonical slug with client.chat() or chat.completions.create().

RodiumAi SDK

Official Python, JavaScript, and Laravel SDKs — flat API aligned with this model slug.

Compatible SDKs (OpenAI / Anthropic packages)