Back to all models

Pricing and availability as of

GPT-5.2 Codex

Upgraded codex model optimized for software engineering and agentic coding workflows with steerable reasoning.

gpt-5.2-codex
Context
400,000
tokens
Max output
128,000
tokens
Input from
$1.75
per 1M tokens
Output from
$14.00
per 1M tokens
Providers
1
one route
Released
Jan 14, 2026
  • Streaming
  • Vision
  • Tools
  • Reasoning
  • JSON Output
  • Batch API
No ratings yetSign in to rate

Providers for GPT-5.2 Codex

Compare price, limits and live performance side by side. LLM Gateway routes each request to the best provider that can handle your prompt size and parameters.

1 provider

ProviderActions
400k128k$1.75$14.00$0.175

Prices are per provider at standard rates; open a row for regions, tiers and cache pricing. Throughput, latency and uptime come from LLM Gateway traffic over the last 24 hours and are hidden under 1,000 requests.

GPT-5.2 Codex API pricing

GPT-5.2 Codex API pricing starts at $1.75 per 1M input tokens and $14.00 per 1M output tokens through LLM Gateway. Cached input starts at $0.175 per 1M tokens.

ProviderInput / 1M tokensOutput / 1M tokensCached input / 1M tokensContext window
Azure$1.75$14.00$0.175400,000 tokens

What GPT-5.2 Codex costs at volume

Monthly usageCost on Azure
1M input + 250K output tokens$5.25
10M input + 2.5M output tokens$52.50
100M input + 25M output tokens$525.00

GPT-5.2 Codex cost calculator

Estimated monthly cost
$87.50
Cost per request
$0.0088

Frequently asked questions

What is GPT-5.2 Codex?

Upgraded codex model optimized for software engineering and agentic coding workflows with steerable reasoning. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does GPT-5.2 Codex cost?

Pricing for GPT-5.2 Codex on LLM Gateway starts at $1.75 per million input tokens and $14.00 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

What is the context length of GPT-5.2 Codex?

GPT-5.2 Codex supports a context window of up to 400,000 tokens on its largest provider deployment.

Which providers serve GPT-5.2 Codex?

GPT-5.2 Codex is served by Azure through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does GPT-5.2 Codex support tool calling and structured outputs?

GPT-5.2 Codex supports tool (function) calling and soft JSON output, but NOT strict JSON output schema (its upstream provider does not enforce it).

When was GPT-5.2 Codex released?

GPT-5.2 Codex was released on January 14, 2026.