openai

OpenAI: GPT-5.2-Codex

The OpenAI GPT-5.2-Codex model is designed for various applications that require text and image input modalities. It can process lengthy contexts of up to 400,000 tokens and generate output with a maximum of 128,000 completion tokens. The model supports tools and reasoning capabilities, but its structured output is not specified. This model may be worth considering for developers who prioritize processing complex inputs or require the ability to reason over text and image data. Its price point, however, might be a deterrent at $1.75 per million input tokens and $14.00 per million output tokens. With a blended benchmark score of 49.8 across one independent benchmark, users should weigh its performance against the cost before shortlisting it for their project needs.

Quality Score
97/100
price + capability + benchmarks
Input Price
$1.75
per 1M tokens · checked 2026-09-27
Output Price
$14.00
per 1M tokens · checked 2026-09-27
Context Window
400,000
tokens

Benchmark results

Independent, published benchmarks. Blended score 45.9 across 1 benchmark, last refreshed 2026-09-27. How scoring works →

BenchmarkMeasuresScore
AI Index broad capability composite 47.0
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 →

JobTokensCost
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

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.

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.