Models / OpenAI
OpenAI
GPT-5.2 Pro
openai/gpt-5.2-pro
GPT-5.2 Pro is OpenAI’s most advanced model, offering major improvements in agentic coding and long context performance over GPT-5 Pro. It is optimized for complex tasks that require step-by-step reasoning,...
Input
$27.3 / 1M tokens
Output
$218.4 / 1M tokens
Context
400K tokens
Capabilities
✓ Streaming✓ Tool / function calling✓ JSON / structured output✓ Vision (image input)
Call this model
Pass openai/gpt-5.2-pro as the model. Change only the base URL from your existing OpenAI SDK setup.
quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
-H "Authorization: Bearer $MDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.2-pro",
"messages": [{"role":"user","content":"Hello!"}]
}'
Prices are final — the routing margin is already included. See the full pricing table or the API docs.