OpenAI
GPT-5.2 Codex
gpt-5.2-codexPricing
~75%- Input
- $0.4375 / 1,000,000 tokens
- Output
- $3.5 / 1,000,000 tokens
- Cache read
- $0.04375 / 1,000,000 tokens
- Cache write
- $0.4375 / 1,000,000 tokens
Discount history
Model details
- Input
- text
- Output
- text
- Context window
- 256,000 tokens
- Maximum output
- 65,536 tokens
- Availability
- $6.6KUncapped capacity
- Updated
- 11/8/2026, 3:58:06 AM UTC
Capacity is reserved when your request is accepted.
Capabilities
ChatStreamingTool callingVisionReasoning
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools