o1-pro

OpenAI Generally Available

The o1 series of models are trained with reinforcement learning to think before they answer and perform complex reasoning. The o1-pro model uses more compute to think harder and provide...

Context
200K
tokens
Input
$150.00
per MTok
Output
$600.00
per MTok

About

The o1 series of models are trained with reinforcement learning to think before they answer and perform complex reasoning. The o1-pro model uses more compute to think harder and provide...

Modalities

Input
Text Vision file
Output
Text

Code Examples

curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "o1-pro",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in one sentence." }
    ]
  }'

API Parameters

Name Type Description
include_reasoning boolean Include the model's internal reasoning trace in the response.
max_tokens deprecated integer Deprecated. Use max_completion_tokens.
reasoning object Configuration for extended-thinking / reasoning mode.
response_format one of Constrain output to a JSON schema or an enum (structured outputs).
seed integer Deterministic seed for sampling. Same seed + same prompt produces identical output.
structured_outputs boolean Enable JSON-schema-constrained output.

Standard OpenAI-compatible parameters. Consult the provider docs for model-specific behaviour.