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

GPT-4o

openaiopenai/gpt-4o

OpenAI's versatile, high-intelligence flagship model. Accepts text and image inputs, produces text outputs including structured outputs. Best model for most tasks outside reasoning-heavy use cases.

Размер контекста
128K
Максимальный вывод
16K
Цена Входза 1M токенов
$3.00за 1 млн токенов
Цена Выходза 1M токенов
$12.00за 1 млн токенов

Модальности

ТекстИзображениеТекст

Разбивка цен

ТипСтавка
Вход$3.00 за 1 млн токенов
Выход$12.00 за 1 млн токенов

Поддерживаемые параметры

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

Примеры API

Для новых интеграций используйте глобальный endpoint api.therouter.ai из примеров ниже; старый China accelerated endpoint выведен из эксплуатации.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "openai/gpt-4o",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'
Поддержка