Skip to content

OpenAI / GPT-5.2-Codex

API tested

by real users on OpenRouter · Median latency 2.8 s · 26 tok/s · 100% uptime (24h) · 1 provider

Source: OpenRouter · December 2026 · Model on OpenRouter ↗

OpenRouter data: providers, uptime and prices
ProviderUptime (30 min)Uptime (1 day)LatencyThroughputPrice in / out per 1M tokens
Azure—100%2,780 ms (p50)26 tok/s (p50)$1.75 / $14

Source: OpenRouter · December 2026. OpenRouter's public API provides provider uptime and pricing; it does not publish usage or popularity figures there, so none are shown.

GPT-5.2-Codex is a multimodal model from OpenAI with a 400K-token context window, priced at $1.75/$14 per 1M input/output tokens on OpenRouter.

Specifications

GPT-5.2-Codex specifications
ProviderOpenAI
TypeMultimodal model
Input modalitiesText, Image
Output modalitiesText
Context window400,000 tokens (400K)
Max output128,000 tokens
API availableYes
Listed on OpenRouterJan 14, 2026
Run onOpenRouter
TokenizerGPT
Content moderationNot moderated by OpenRouter

Pricing

Input per 1M tokens$1.75
Output per 1M tokens$14.00
GPT-5.2-Codex price components
Input$1.75 per 1M tokens
Output$14.00 per 1M tokens
Cached input (read)$0.175 per 1M tokens
Web search$10.00 per 1K searches

USD. Source: OpenRouter, as of Dec 1, 2026. Provider-direct and batch prices can differ.

Price history

We started tracking this model’s price on 2026-12-01. No price change has been recorded since.

Source: daily OpenRouter snapshots recorded by AIToolSense.

Providers and prices

Provider Input / 1M Output / 1M Context Max output Quantization Uptime 24h
Azure $1.75 $14.00 400K 128K — 100.0%

Source: OpenRouter provider endpoints, as of Dec 1, 2026. Cheapest = lowest input plus output price.

Supported parameters

  • include_reasoning
  • max_completion_tokens
  • reasoning
  • reasoning_effort
  • response_format
  • seed
  • structured_outputs
  • tool_choice
  • tools
  • verbosity

Source: OpenRouter, as of Dec 1, 2026.

Related models

1M
$1.00 / $2.70
—
—
131.1K
$0.06 / $0.18
mit
6.2k
262.1K
$0.50 / $1.00
mit
3.4k
1M
$0.50 / $1.00
mit
38.6k