AI Model TrackerLLM prices & token cost calculator

OpenAI

GPT-5.2-Codex pricing and cost calculator

GPT-5.2-Codex from OpenAI costs $1.75 per million input tokens and $14 per million output tokens, with a context window of 400,000 tokens. It was released on Jan 14, 2026. Cached input tokens are billed at $0.175 per million.

Input price
$1.75
Output price
$14
Context window
400,000
Released
Jan 14, 2026

Token cost calculator

ModelPer requestPer dayPer month (30 days)
GPT-5.2-Codex$0.00875$8.75$262.50
Gemini 4 Carbon$0.007$7.00$210.00
≈ 0 tokens

Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.

Price and specs

Input price$1.75 / 1M
Output price$14 / 1M
Cached input$0.175 / 1M
Context window400,000
Max output128,000
Acceptstext, images
Producestext
Reasoning modeYes
Tool / function callingYes
Structured (JSON) outputYes
Open weightsNo
ReleasedJan 14, 2026

What typical workloads cost

1,000 chat replies (1,000 input + 500 output tokens each)$8.75
Summarise a 100-page document (≈50,000 input + 1,000 output tokens)$0.102
1 million input + 1 million output tokens$15.75

Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.

Cheaper models with at least the same context window

Similarly priced models from other providers

More OpenAI models

About 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....

GPT-5.2-Codex FAQ

How much does GPT-5.2-Codex cost?
GPT-5.2-Codex costs $1.75 per 1M input tokens and $14 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $8.75.
What is the context window of GPT-5.2-Codex?
GPT-5.2-Codex accepts up to 400,000 tokens of context and can return up to 128,000 tokens in one response.
Can GPT-5.2-Codex read images?
Yes. GPT-5.2-Codex accepts text, images as input.
What is a cheaper alternative to GPT-5.2-Codex?
Cheaper models with at least the same context window include Gemini 4 Carbon, GPT-6.2 Sol, GPT-6.1 Sol.