Router One
Back to Models

gpt-5.2-codex

openai/gpt-5.2-codex

chatstreamingtool_callingvision

Supported APIs

chat_completionsresponses

Available Configurations

API Type
chat_completions
Capabilities
chatstreamingtool_calling
Context Window
256K
Input
$5.00 / 1M tokens
Output
$20.00 / 1M tokens
API Type
responses
Capabilities
chatstreamingtool_callingvision
Context Window
250K
Input
$5.00 / 1M tokens
Output
$23.00 / 1M tokens

Quick Start

bash
curl -X POST \
  https://api.router.one/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "openai/gpt-5.2-codex",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
Get API Key