GPT 5.4 Nano
Chat Completions API
gpt-5.4-nano
Chat Completions API
GPT-5.4 nano is the lightest and most cost-efficient model in the GPT-5.4 family, built for speed-sensitive and high-volume workloads. It supports both text and image inputs and is designed for low-latency tasks such as classification, data extraction, ranking, and sub-agent execution. The model is focused on responsiveness and efficiency rather than deep reasoning, making it ideal for pipelines that need fast and reliable results at scale. GPT-5.4 nano is a strong fit for background processing, real-time systems, and distributed agent architectures where keeping costs and latency low is essential.
Пример кода
Пример использования модели через API на Python или cURL. Замените значения-заполнители своим API-ключом и ID модели.
Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
curl https://api.makura.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{
"model": "gpt-5.4-nano",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'