Back to all models

OpenAI

gpt-5.2-pro

Vendor

OpenAI

Category

Large Language Model API

Pricing

Input price / 1M tokens

$21.00

Output price / 1M tokens

$168.00

Supported endpoints

openai

Quick start

OpenAI-compatible — just change base_url to treeRouter to use this model:

curl https://treerouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TREEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.2-pro",
    "messages": [{"role": "user", "content": "Hello"}]
  }'