GPT-5.2-Codex

Pick up to 3 models · pricing, context and capabilities · simulate your product cost

Data updated on September 30, 2026· 217 models

OpenAIGPT-5.2-Codex

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows.

Reasoning estimated
Speed estimated
Input
Output
Context
400 K tokens
Max output
128 K
Input, $ per 1M tokens
$1.75
Output, $ per 1M tokens
$14.00
Cache read, $ per 1M
$0.175
Batch (input / output)
—
Tool calling
Yes
Released
01/14/2026
Knowledge cutoff
2025-08-31
API id
openai/gpt-5.2-codex

Summary from the data

GPT-5.2-Codex is a OpenAI model available by API since 01/14/2026. It costs $1.75 per million input tokens and $14.00 per million output tokens, accepts 400 K tokens of context and generates up to 128 K tokens per response. Input: text, image; output: text. It has a reasoning mode. It supports tool calling. With 10,000 requests a month of 1,500 input and 400 output tokens it would cost about $82.25 a month.

Compare GPT-5.2-Codex with…

All OpenAI models →

What would your product cost?

Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.

GPT-5.2-Codex
$82.25/mo

The 6 cheapest for this scenario (chat, last 12 months)

  1. 1Lyria 3 Pro Preview Google$0.00
  2. 2Lyria 3 Clip Preview Google$0.00
  3. 3Qwen3.7 Flash Qwen$0.97
  4. 4DeepSeek V4 Flash 0731 DeepSeek$1.55
  5. 5Ministral 3 3B 2512 Mistral$1.90
  6. 6Qwen3.5-Flash Qwen$2.02

Frequently asked questions

How much does GPT-5.2-Codex cost per million tokens?

GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens (USD, list price). Cache read: $0.175. Batch tier: not published.

What context window does GPT-5.2-Codex have?

GPT-5.2-Codex accepts 400 K tokens of context per request and generates up to 128 K tokens per response.

Does GPT-5.2-Codex accept images, audio or files?

Input: text, image. Output: text.

Does GPT-5.2-Codex have a reasoning mode and tool calling?

It has a reasoning mode. It supports tool calling.

When was GPT-5.2-Codex released and what is its knowledge cutoff?

GPT-5.2-Codex has been available by API since 01/14/2026. Knowledge cutoff: 2025-08-31.

What would an app built on GPT-5.2-Codex cost?

With 10,000 requests a month of 1,500 input and 400 output tokens, GPT-5.2-Codex would cost about $82.25 a month at list price, without cache or batch discounts.

What is the API id of GPT-5.2-Codex?

The id is openai/gpt-5.2-codex. It is the name passed in the model parameter of the API (or on OpenRouter).

Where do the prices come from and how often are they updated?

From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.

What does price per million tokens mean?

It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.

Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.