OpenAI

OpenAI: GPT-5.2-Codex

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

ReasoningTool callingVisionStreamingJSON mode
400K token context Released Jan 14, 2026

Intelligence overview

400K tok

Context window

128K tok

Max output

Capabilities

What OpenAI: GPT-5.2-Codex can do.

Reasoning

Extended reasoning

Works through problems step by step before answering, trading latency for accuracy on harder tasks.

Adjustable effort

Choose how much the model deliberates per request — trade speed for depth as the task demands.

Multimodal

Image understanding

Reads and reasons over images alongside text in the same prompt.

Development

Tool calling

Calls external functions mid-response, then continues reasoning from the result.

Structured output

Returns responses constrained to a JSON schema, ready to parse without cleanup.

Streaming

Streams tokens as they're generated instead of waiting on the full response.

Performance

Design Arena — ranked #18 across 5 categories

Pricing

Pay for what you use.

Every model in UltraGPT runs behind one flat subscription — this is the underlying per-token cost the catalog tracks.

INPUT

$1.75 / 1M tok

OUTPUT

$14 / 1M tok

Cache read$0.175 / 1M tok
Use cases

Built for serious work.

Build

Generate and refactor code, with the ability to run and verify tool calls and return structured, parseable output.

Think

Works through hard problems with adjustable reasoning effort — xhigh, high, medium, low.

Research

Holds up to 400K tokens of source material in context without losing the thread.

Create

Reads images alongside a prompt to ground creative and design work in what's actually on screen.

Automate

Chains tool calls across multi-step workflows, reasoning between each one.

Preview

Ask OpenAI: GPT-5.2-Codex anything.

A preview of the real UltraGPT composer — the model you see here is the model you get.

OpenAI: GPT-5.2-Codex Ready

Continues in the UltraGPT app — one login, every model.

Comparison

How OpenAI: GPT-5.2-Codex stacks up.

The closest models in the catalog by provider, capability and score — real entries, pulled from the same directory.

Specification

Technical details.

Specification

Context window
400K tokens
Max output
128K tokens
Input modalities
Text + Image
Output modalities
Text
Release date
Jan 14, 2026
Reasoning effort
xhigh, high, medium, low (always on)
Streaming
Supported
Tool calling
Supported
JSON mode
Supported

Model identity

Provider
OpenAI
Provider ID
openai

Model ID

Reasoning

Effort: xhigh, high, medium, low · always on
Directory

More from OpenAI, and everything else.

This model is one entry in the full UltraGPT catalog — browse the rest, compare pricing and context windows, or filter by capability.

OpenAI: GPT-5.2-Codex, one subscription away.

UltraGPT puts this model — and every other one in the directory — behind a single login and one flat monthly price.