Skip to content

OpenRouter ยท chat

gpt-5.2-codex

openrouter/openai/gpt-5.2-codex

Input price
$1.75 / 1M tokens
Output price
$14.0 / 1M tokens
Context window
272K tokens
Lifecycle
stable

gpt-5.2-codex for OpenAI-compatible gateway routing

gpt-5.2-codex is a OpenRouter chat model in the Ferro Labs live catalog with a 272K tokens context window, 128K tokens maximum output, and capabilities including Reasoning and Streaming.

Token pricing is listed as $1.75 / 1M tokens for input tokens and $14.0 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as openrouter/openai/gpt-5.2-codex to the OpenAI-compatible chat completions endpoint. The catalog lists this model as stable for normal gateway routing.

OpenAI-compatible usage example

curl https://api.ferrolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openrouter/openai/gpt-5.2-codex", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Reasoning
  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from OpenRouter

Catalog prices may change. Verify current provider terms before purchasing.