Skip to content
OpenAIgpt-5.2

GPT-5.2

Enhanced reasoning and tool use for everyday builds.

GPT-5.2 brings strong reasoning and tool support through the familiar Chat Completions interface — an easy drop-in for apps already speaking OpenAI.

Chat appsTool useDrop-in OpenAI

Specs

Context window400K tokens
Max output128K tokens
InterfaceOpenAI-style Chat Completions · Anthropic-style Messages
Price / 1M$1.40 / $11.20was $1.75 / $14

Capabilities

  • ReasoningSupported
  • VisionSupported
  • Tool callingSupported
  • StreamingSupported
  • JSON outputSupported

Why teams pick it

  • Enhanced reasoning and tool calling
  • Works with the standard Chat Completions interface
  • 400K-token context

Call GPT-5.2

GPT-5.2 answers on either API below — pick the one your code already speaks and just swap in your Inferray key.

/v1/chat/completions · OpenAI-style Chat Completions · openai SDK or plain HTTP

curl https://api.inferray.com/v1/chat/completions \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.2",
    "messages": [{"role": "user", "content": "ship it"}]
  }'

/v1/messages · Anthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP

curl https://api.inferray.com/v1/messages \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.2",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "ship it"}]
  }'

More from OpenAI