Price Per TokenPrice Per Token
OpenAI

GPT 5.2 Codex API Pricing 2026

Compare pricing, benchmarks, and providers for GPT 5.2 Codex. Find the best value for your use case.

Sponsor Price Per Token Reach 5000+ developers comparing LLM APIs

125 out of our 298 tracked models have had a price change in January.

Get our weekly newsletter on pricing changes, new releases, and tools.

Last updated: January 23, 2026 at 08:08 AM

Overview

GPT 5.2 Codex was released on January 14, 2026. Pricing starts at $1.75 per million input tokens and $14.00 per million output tokens. The model supports a context window of up to 400K tokens. API access is available through OpenAI.

Context Window
400K
tokens
Pricing
Input$1.75
Output$14.00
Cached$0.175
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
VisionCaching

Pricing Comparison

Compare GPT 5.2 Codex with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$1.750
$14.000
400,000
Try
$1.250
$10.000
84.9
86.0
86.0
400,000
Try
$1.250
$10.000
84.0
86.5
83.7
400,000
Try
$1.250
$10.000
128,000
Try
$1.250
$10.000
84.6
87.1
85.4
400,000
Try
$1.250
$10.000
80.1
86.2
84.4
1,048,576
Try
$1.250
$10.000
1,048,576
Try
$1.250
$1.250
128,000
Try
$1.480
$1.480
45.5
10.8
8,192
Try
$1.500
$2.000
4,095
Try
$1.600
$6.400
35.9
76.2
58.7
32,768
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

GPT 5.2 Codex is available from multiple providers with different pricing and availability.

1
Providers
$1.750
Cheapest Input/M
$14.000
Cheapest Output/M
OpenAI
Best Price

Provider Pricing

1 models

Provider
Input $/M
Output $/M
Uptime
OpenAI
OpenAI
Best Price
$1.750
$14.000
100.0%
Provider pricing data sourced from OpenRouter and Helicone

Cost vs. Quality

Compare GPT 5.2 Codex's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try GPT 5.2 Codex

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GPT 5.2 Codex directly in your browser.

Open Playground

Frequently Asked Questions

GPT 5.2 Codex costs $0.001750 per 1,000 input tokens and $0.014000 per 1,000 output tokens.
GPT 5.2 Codex is available from 1 provider(s). OpenAI offers the best price.
We compare GPT 5.2 Codex with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All OpenAI Models

See pricing for all OpenAI models.

View all OpenAI models →