Pricing and availability as of
Upgraded codex model optimized for software engineering and agentic coding workflows with steerable reasoning.
gpt-5.2-codexCompare 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
| Provider | Actions | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 400k | 128k | $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 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.
| Provider | Input / 1M tokens | Output / 1M tokens | Cached input / 1M tokens | Context window |
|---|---|---|---|---|
| Azure | $1.75 | $14.00 | $0.175 | 400,000 tokens |
| Monthly usage | Cost on Azure |
|---|---|
| 1M input + 250K output tokens | $5.25 |
| 10M input + 2.5M output tokens | $52.50 |
| 100M input + 25M output tokens | $525.00 |
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.
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.
GPT-5.2 Codex supports a context window of up to 400,000 tokens on its largest provider deployment.
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.
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).
GPT-5.2 Codex was released on January 14, 2026.