LLMCost
openai

OpenAI: GPT-5.2-Codex API Pricing

OpenAI: GPT-5.2-Codex costs $1.75 per 1M input tokens and $14.00 per 1M output tokens (cache reads: $0.175). Context window: 400K. Prices verified 2026-08-23 Β· source

Input / 1M tokens
$1.75
Output / 1M tokens
$14.00
Context window
400K
Max output
128K

What would OpenAI: GPT-5.2-Codex cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$70.00
Coding agent5,0008,000 / 2,000$210.00
RAG pipeline30,0004,000 / 500$420.00
Doc summarizer2,00020,000 / 1,000$98.00

Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.

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

Compare OpenAI: GPT-5.2-Codex with

Official resources