OpenAIVisionTool use

GPT-5.2-Codex pricing

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. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1-Codex, 5.2-Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outp. Below you will find 1 current row with input and output dollars per million. Right now the lowest input is $1.75 and the lowest output is $14.00.

272K context·1 provider·verified May 2, 2026
Best input$1.75per 1M tokens · Openrouter
Best output$14.00per 1M tokens · Openrouter

Pricing across providers

All figures are list prices per million tokens unless a column says otherwise. 1 offer is listed for GPT-5.2-Codex. Best input in this view: Openrouter.

O
Openrouter
Input / 1M
$1.75
Output / 1M
$14.00
Cached in: $0.175

Input vs output · 1M tokens

Cost calculator

The calculator uses the same dollars per million tokens as the table. Adjust sliders to see how GPT-5.2-Codex cost scales with traffic.

In: $1.75/M·Out: $14.00/M·Cache: $0.175/M

0.175000¢ / req

0.700000¢ / req

Daily
$88
Monthly
$2.6K
Annual
$31.9K

Model specifications

Quick spec sheet for GPT-5.2-Codex before you dive back into pricing. Reported under OpenAI.

Context window
272,000 tokens
Max output
128,000 tokens
Vision (images)
Yes
Tool / function calling
Yes
Streaming
No
Released
Jan 2026
Primary provider
OpenAI
Model family
N/A

Compare GPT-5.2-Codex

Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for GPT-5.2-Codex.

Frequently asked questions

Read these after the table if you want plain language around GPT-5.2-Codex rates. The short model note from our index: 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 engineeri...

Yes. GPT-5.2-Codex is available on Openrouter.

Also from OpenAI

Other models by OpenAI with live pricing in our catalog.