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

GPT-5.4 Nano

openaiopenai/gpt-5.4-nano

Гид по API

Chat completion

Обычный OpenAI-совместимый chat с reasoning.effort, tools, streaming, vision и 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.4-nano","messages":[{"role":"user","content":"Classify this review: \"Amazing product, fast shipping!\""}]}'

Стриминг

Стриминг токенов. Nano — самая быстрая модель семейства; при reasoning=none ожидайте <500 мс до первого токена.

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.4-nano","stream":true,"messages":[{"role":"user","content":"Summarize this conversation."}]}'

Инструменты

Полный function calling (MCP Atlas 56,1%). Идеален для суб-агентных цепочек, оркестрируемых более крупной моделью.

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.4-nano","messages":[{"role":"user","content":"Score this resume: Software Engineer at Google"}],"tools":[{"type":"function","function":{"name":"score_resume","description":"Score a candidate resume","parameters":{"type":"object","properties":{"score":{"type":"number"},"summary":{"type":"string"}},"required":["score","summary"]}}}]}'

JSON

Валидный JSON через response_format для извлечения, классификации и ранжирования.

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.4-nano","messages":[{"role":"user","content":"Extract entities from: \"Apple bought startup in Cupertino for $500M\""}],"response_format":{"type":"json_schema","json_schema":{"name":"entity_extraction","strict":true,"schema":{"type":"object","properties":{"entities":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"required":["entities"],"additionalProperties":false}}}}'
Реестр фактов — каждая утверждаемая величина имеет источник
источникURLполучено
Дата релизаopenai.com ↗2026-05-29проверено
Дата отсеченияdevelopers.openai.com ↗2026-05-29проверено
Модель в OpenAIdevelopers.openai.com ↗2026-05-29проверено
Уровни reasoningopenai.com ↗2026-05-29проверено
Возможности APIopenai.com ↗2026-05-29проверено
Лицензия——проверено
SWE-bench Pro (Public)openai.com ↗2026-05-29проверено
Terminal-Bench 2.0openai.com ↗2026-05-29проверено
Toolathlonopenai.com ↗2026-05-29проверено
MCP Atlasopenai.com ↗2026-05-29проверено
τ2-bench (telecom)openai.com ↗2026-05-29проверено
GPQA Diamondopenai.com ↗2026-05-29проверено
HLE w/ toolopenai.com ↗2026-05-29проверено
MMMUProopenai.com ↗2026-05-29проверено
MMMUPro w/ Pythonopenai.com ↗2026-05-29проверено
OSWorld-Verifiedopenai.com ↗2026-05-29проверено
MRCR v2 8-needle 64K-128Kopenai.com ↗2026-05-29проверено
MRCR v2 8-needle 128K-256Kopenai.com ↗2026-05-29проверено
Graphwalks BFS 0K-128Kopenai.com ↗2026-05-29проверено
Artificial Analysis Intelligence Index (xhigh)artificialanalysis.ai ↗2026-05-29к проверке
GPT-5.4 теперь с AI-поиском — Nano выигрывает от экосистемыopenai.com ↗2026-05-29проверено
Семейство GPT-5.4 расширяется — запущен GPT Image 2openai.com ↗2026-05-29проверено
GPT-5.4 Mini и Nano выпущеныopenai.com ↗2026-05-29проверено
Поддерживает ли GPT-5.4 Nano уровни reasoning effort?openai.com ↗2026-05-29к проверке
Поддерживает ли GPT-5.4 Nano computer use?openai.com ↗2026-05-29к проверке
Как GPT-5.4 Nano соотносится по цене с GPT-4.1 Nano?developers.openai.com ↗2026-05-29к проверке
Поддерживает ли GPT-5.4 Nano изображения на входе?openai.com ↗2026-05-29к проверке
Доступна ли GPT-5.4 Nano в ChatGPT?openai.com ↗2026-05-29к проверке
Каковы размер контекстного окна и макс. выход GPT-5.4 Nano?developers.openai.com ↗2026-05-29к проверке
Помощь и контакты