OpenAI: GPT-5.2-Codex API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| OpenAI: GPT-5.2-Codex | OpenAI | $1.75 | $14.00 | 400,000 (400K) | text, imagetext |
Capabilities
Context window
400,000 (400K)
Max output
128,000 (128K)
Input modalities
text, image
Output modalities
text
Supported parameters
include_reasoning
max_completion_tokens
reasoning
reasoning_effort
response_format
seed
structured_outputs
tool_choice
tools
verbosity
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| OpenAI: GPT-5.2 | $1.75 | $14.00 | 400,000 (400K) | file, image, texttext |
| OpenAI: GPT-5.3-Codex | $1.75 | $14.00 | 400,000 (400K) | text, image, filetext |
| OpenAI: GPT-5.2 Chat | $1.75 | $14.00 | 128,000 (128K) | file, image, texttext |
| OpenAI: GPT-5.6 Terra | $2.00 | $12.00 | 1,050,000 (1.1M) | file, image, texttext |
| OpenAI: GPT-5.6 Terra Pro | $2.00 | $12.00 | 1,050,000 (1.1M) | file, image, texttext |
| OpenAI: GPT Sol Latest | $2.00 | $10.00 | 1,050,000 (1.1M) | file, image, texttext |
| OpenAI: GPT-5.6 Sol (batch) | $2.00 | $10.00 | 1,050,000 (1.1M) | file, image, texttext |
| OpenAI: GPT-5.6 Sol Pro (batch) | $2.00 | $10.00 | 1,050,000 (1.1M) | file, image, texttext |