All AI models · LLM benchmarks · Methodology

OpenAI

GPT-5.2 Codex

Code-specialist GPT for repository edits, reviews, and long-running software agents

Model facts

Context window
4K tokens
Maximum output
128K tokens
Cheapest paid input
$0.14 per 1M tokens
Cheapest paid output
$1.14 per 1M tokens
Open weights
no
Providers
24

Capabilities and modalities

reasoning, tool calling, structured output, attachments, temperature control, text, image, pdf.

Artificial Analysis benchmarks

Compare this model on the full LLM benchmark leaderboard.

ConfigurationAAICodingMathOutput tokens/s
xhigh41.2not measurednot measurednot measured

Observed price history

  • 2026-08-24: $0.14 input / $1.14 output per 1M tokens

API providers