Назад к моделям
o3
openaiopenai/o3
Гид по API
Chat completion
Стандартный OpenAI-совместимый chat. o3 доступна на TheRouter через /v1/chat/completions — тот же endpoint и SDK, что и для gpt-4o или gpt-5.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/o3",
"messages": [
{"role": "user", "content": "Prove that the sum of two odd numbers is even."}
]
}'Контроль reasoning_effort
o3 поддерживает reasoning_effort = low | medium | high. Чем выше — тем глубже цепочки и больше reasoning-токенов (тарифицируются как output). По умолчанию medium.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/o3",
"reasoning_effort": "high",
"messages": [
{"role": "user", "content": "Walk through the failure modes of a 2-of-3 Raft cluster losing a leader."}
]
}'Ввод изображений
o3 принимает текст + изображения. Передавайте image_url-части в сообщении пользователя — тот же формат, что у gpt-4o, вывод — только текст.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/o3",
"messages": [
{"role": "user", "content": [
{"type": "text", "text": "What is wrong with this architecture diagram?"},
{"type": "image_url", "image_url": {"url": "https://therouter.ai/assets/vision-sample.png"}}
]}
]
}'Function calling
o3 поддерживает function calling в стиле OpenAI и structured outputs. По best-practices OpenAI: лучше меньше, но хорошо описанных инструментов, чем длинный плоский список.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/o3",
"messages": [{"role": "user", "content": "What is the weather in Tokyo right now?"}],
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the current weather for a city.",
"parameters": {
"type": "object",
"properties": {"city": {"type": "string"}},
"required": ["city"]
}
}
}
]
}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Дата релиза | openai.com ↗ | 2026-05-31 | проверено |
| Снапшот | developers.openai.com ↗ | 2026-05-31 | проверено |
| Дата отсечения знаний | developers.openai.com ↗ | 2026-05-31 | проверено |
| Контекстное окно | developers.openai.com ↗ | 2026-05-31 | проверено |
| Максимум токенов на вывод | developers.openai.com ↗ | 2026-05-31 | проверено |
| Reasoning-токены | developers.openai.com ↗ | 2026-05-31 | проверено |
| Статус | developers.openai.com/deprecations ↗ | 2026-05-31 | проверено |
| Codeforces | openai.com ↗ | 2026-05-31 | проверено |
| SWE-bench Verified | openai.com ↗ | 2026-05-31 | проверено |
| AIME 2024 | openai.com ↗ | 2026-05-31 | проверено |
| AIME 2025 | openai.com ↗ | 2026-05-31 | проверено |
| GPQA Diamond | datacamp.com ↗ | 2026-05-31 | к проверке |
| MMMU | openai.com ↗ | 2026-05-31 | к проверке |
| o3-pro доступна в API и ChatGPT Pro | OpenAI Help Center ↗ | 2026-05-31 | проверено |
| Запуск OpenAI o3 и o4-mini | openai.com ↗ | 2026-05-31 | проверено |
| o3 уже устарела? | developers.openai.com ↗ | 2026-05-31 | к проверке |
| Каковы контекстное окно и максимальный вывод у o3? | developers.openai.com ↗ | 2026-05-31 | к проверке |
| Поддерживает ли o3 ввод изображений? | developers.openai.com ↗ | 2026-05-31 | к проверке |
| Как o3 сравнивается с GPT-5 по цене? | developers.openai.com ↗ | 2026-05-31 | к проверке |