Назад к моделям

GPT-5 Pro

openaiopenai/gpt-5-pro

Гид по API

Chat completion

GPT-5 Pro вызывается через стандартный endpoint chat completions TheRouter. В отличие от других вариантов GPT-5, reasoning_effort зафиксирован на high — модель всегда выполняет глубокое рассуждение. 272K максимального вывода идеально для длинных текстов.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5-pro",
    "messages": [
      {"role": "user", "content": "Prove the Riemann hypothesis step by step, explaining each lemma."}
    ]
  }'

Стриминг

GPT-5 Pro поддерживает стриминг цепочки рассуждений — можно наблюдать ход мыслей модели до финального ответа. Полезно для прозрачности в исследованиях и приложениях с безопасностью.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: text/event-stream" \
  -d '{
    "model": "openai/gpt-5-pro",
    "messages": [
      {"role": "user", "content": "Derive the equation for relativistic rocket motion."}
    ],
    "stream": true
  }'

Вызов инструментов

GPT-5 Pro поддерживает вызов функций и параллельное использование инструментов. В сочетании с рассуждением получается многошаговая оркестрация — модель планирует, вызывает, итерирует и синтезирует результаты нескольких инструментов.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5-pro",
    "messages": [{"role": "user", "content": "Find the current stock price of NVDA and TSMC, compare their P/E ratios, and calculate which one had better 1-year growth."}],
    "tools": [{
      "type": "function",
      "function": {
        "name": "get_stock_price",
        "description": "Get current stock price and P/E ratio for a ticker symbol",
        "parameters": {
          "type": "object",
          "properties": {
            "ticker": {"type": "string", "description": "Stock ticker symbol"}
          },
          "required": ["ticker"]
        }
      }
    }],
    "parallel_tool_calls": true
  }'

Структурированный вывод

GPT-5 Pro поддерживает response_format для структурированного JSON-вывода в своей цепочке рассуждений. Полезно для структурированных отчётов, многопольной классификации и сложного извлечения данных.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5-pro",
    "messages": [
      {"role": "user", "content": "Analyse this clinical trial result and return findings in the specified JSON schema:\n\n<trial data>"}
    ],
    "response_format": { "type": "json_schema", "json_schema": {
      "name": "trial_analysis",
      "schema": {
        "type": "object",
        "properties": {
          "efficacy": {"type": "string"},
          "safety_concerns": {"type": "array", "items": {"type": "string"}},
          "recommendation": {"type": "string"}
        },
        "required": ["efficacy", "safety_concerns", "recommendation"]
      }
    }}
  }'
Реестр фактов — каждая утверждаемая величина имеет источник
источникURLполучено
Дата релизаdevelopers.openai.com ↗2026-05-29проверено
Дата отсечения знанийplatform.openai.com ↗2026-05-29проверено
Максимум токенов на выводsimonwillison.net ↗2026-05-29проверено
Режим рассужденияdevelopers.openai.com ↗2026-05-29проверено
Доступность APIdevelopers.openai.com ↗2026-05-29проверено
Лицензия——проверено
AIME 2025openai.com ↗2026-05-29проверено
GPQA Diamondopenai.com ↗2026-05-29проверено
Humanity's Last Examopenai.com ↗2026-05-29проверено
SWE-bench Verifiedopenai.com ↗2026-05-29к проверке
MMMUopenai.com ↗2026-05-29к проверке
HealthBench Hardopenai.com ↗2026-05-29к проверке
OpenAI запускает GPT-5 Pro на DevDay 2025developers.openai.com ↗2026-05-29проверено
GPT-5 анонсирован — Pro-вариант намекнут для подписчиков Proopenai.com ↗2026-05-29проверено
Доступен ли GPT-5 Pro через стандартный OpenAI Chat Completions API?developers.openai.com ↗2026-05-29к проверке
Какова максимальная длина вывода GPT-5 Pro?simonwillison.net ↗2026-05-29к проверке
Может ли GPT-5 Pro обрабатывать изображения?platform.openai.com ↗2026-05-29к проверке
Сколько стоит GPT-5 Pro на TheRouter?platform.openai.com ↗2026-05-29к проверке
Что на практике означает 'только reasoning_effort: high'?developers.openai.com ↗2026-05-29к проверке
Помощь и контакты