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.

8 Ways to Use Fewer Tokens

Get the free PDF guide — practical tips to cut your token usage and API costs. Subscribe to the Price Per Token newsletter and download instantly.

Last updated: March 10, 2026 at 08:21 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
Output68 tok/s
TTFT9.85s
median latency
Capabilities
VisionReasoningToolsCaching

Pricing Comparison

Compare GPT 5.2 Codex with 0 similar models by price.

Current Pricing (per 1M tokens)

1 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$1.750
$14.000
89.9
400,000
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.

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does GPT 5.2 Codex perform? Vote based on your experience.

Cost vs. Quality

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

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

Detailed Benchmark Scores

Intelligence
49.0 (97th pct)
Coding
43.0 (94th pct)
Math
-
MMLU Pro
-
GPQA
89.9 (98th pct)
LiveCodeBench
-
AIME
-
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

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 0 provider(s). Check the comparison table offers the best price.
We compare GPT 5.2 Codex with 0 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 →
Advertise with us