OpenAI: GPT-5.2-Codex
The OpenAI GPT-5.2-Codex is a language model that supports text and image input modalities, with a context length of up to 400,000 tokens. It can handle complex reasoning tasks and supports integration with tools, but its structured output capabilities are undefined. For users looking for a high-end AI solution with robust image processing capabilities, the OpenAI GPT-5.2-Codex may be worth considering, despite its premium price point of $1.75 per million input tokens and $14.0 per million output tokens. With a blended benchmark score of 57.4 across one independent benchmark, it demonstrates strong performance in certain tasks. However, users should carefully weigh the cost against their specific needs before shortlisting this model for further evaluation.
Benchmark results
Independent, published benchmarks. Blended score 57.4 across 1 benchmark, last refreshed 2026-09-07. How scoring works →
| Benchmark | Measures | Score |
|---|---|---|
| AI Index | broad capability composite | 54.5 |
- Model ID
- openai/gpt-5.2-codex
- Vendor
- openai
- Released
- January 2026
- Tokenizer
- GPT
- Input Modalities
- text, image
- Output Modalities
- text
- Max Output
- 128,000 tokens
- Tool Calling
- ✓ supported
- Structured Output
- ✓ supported
- Reasoning Mode
- ✓ supported
- Vision
- ✓ accepts images
- Audio
- no
- Moderated
- no
What it costs in practice
Computed from the current $1.75/M input and $14.00/M output rates. Run your own numbers →
| Job | Tokens | Cost |
|---|---|---|
| Summarize a 50-page report | 30k in / 1.5k out | $0.07 |
| Classify 1,000 customer emails | 500k in / 50k out | $1.58 |
| A month of a busy support chatbot | 5M in / 2M out | $36.75 |
Similar models
OpenAI: GPT-5 Image Mini
OpenAI: GPT-4o-mini (batch)
OpenAI: GPT-4o-mini
OpenAI: GPT-4o-mini (2024-07-18)
OpenAI: GPT-6 Astra (batch)
OpenAI: GPT-6 Astra Pro (batch)
Quick answers
- How much does OpenAI: GPT-5.2-Codex cost?
- $1.75 per million input tokens and $14.00 per million output tokens.
- What is OpenAI: GPT-5.2-Codex's context window?
- 400,000 tokens, roughly 600 pages of text in a single request.
- Does OpenAI: GPT-5.2-Codex support tool calling?
- It supports tool calling, structured output, a reasoning mode.
- Can OpenAI: GPT-5.2-Codex process images?
- Yes, it accepts image input.