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
max_tokens
reasoning
response_format
seed
structured_outputs
tool_choice
tools
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.3 Chat | $1.75 | $14.00 | 128,000 (128K) | text, image, filetext |
| OpenAI: o3 | $2.00 | $8.00 | 200,000 (200K) | image, text, filetext |
| OpenAI: o4 Mini Deep Research | $2.00 | $8.00 | 200,000 (200K) | file, image, texttext |
| OpenAI: GPT-4.1 | $2.00 | $8.00 | 1,047,576 (1M) | image, text, filetext |
| OpenAI: GPT-3.5 Turbo Instruct | $1.50 | $2.00 | 4,095 (4K) | texttext |