Назад к моделям
GPT-5 Nano
openaiopenai/gpt-5-nano
Гид по API
Chat completion
GPT-5 Nano вызывается через стандартный endpoint chat completions через TheRouter. Поддерживаются все параметры 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/gpt-5-nano",
"messages": [
{"role": "user", "content": "Classify this text as positive, negative, or neutral: \"The service was okay but nothing special.\""}
],
"reasoning_effort": "minimal",
"response_format": { "type": "json_object" }
}'Стриминг
GPT-5 Nano поддерживает стриминг для вывода токенов в реальном времени. С minimal reasoning effort даёт почти мгновенный старт ответа.
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-nano",
"messages": [
{"role": "user", "content": "Summarize this article in three bullet points: <article text>"}
],
"reasoning_effort": "low",
"stream": true
}'Уровень рассуждения
GPT-5 Nano поддерживает полный спектр reasoning_effort: minimal для мгновенной классификации, low для извлечения, medium по умолчанию, high для глубокого анализа.
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-nano",
"messages": [
{"role": "user", "content": "Extract all entities, dates, and monetary values from this invoice."}
],
"reasoning_effort": "low",
"response_format": { "type": "json_object" }
}'Вызов инструментов
GPT-5 Nano поддерживает параллельные вызовы инструментов и custom_tools с грамматическими ограничениями по самой низкой цене в семействе 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/gpt-5-nano",
"messages": [{"role": "user", "content": "What's the weather in Tokyo and what's the current time?"}],
"tools": [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a city",
"parameters": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}
}],
"parallel_tool_calls": true
}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Дата релиза | openai.com ↗ | 2026-05-29 | проверено |
| Дата отсечения знаний | openrouter.ai ↗ | 2026-05-29 | к проверке |
| Идентификатор модели OpenAI | platform.openai.com ↗ | 2026-05-29 | к проверке |
| Лицензия | — | — | проверено |
| SWE-bench Verified | openai.com ↗ | 2026-05-29 | к проверке |
| AIME 2025 | openai.com ↗ | 2026-05-29 | к проверке |
| MMMU (Multimodal) | openai.com ↗ | 2026-05-29 | к проверке |
| Запуск семейства GPT-5 — GPT-5, Mini и Nano | openai.com ↗ | 2026-05-29 | проверено |
| Чем GPT-5 Nano отличается от GPT-5 Mini? | openai.com ↗ | 2026-05-29 | к проверке |
| Поддерживает ли GPT-5 Nano изображения? | platform.openai.com ↗ | 2026-05-29 | к проверке |
| Можно ли использовать GPT-5 Nano после выхода GPT-5.4 Nano? | platform.openai.com ↗ | 2026-05-29 | к проверке |
| Каковы преимущества ценообразования на кэш? | platform.openai.com ↗ | 2026-05-29 | к проверке |