GPT 5.4
GPT-5.4 is OpenAI’s newest frontier model that merges the Codex and GPT families into a single unified system. It offers a 1M+ token context window (922K input, 128K output) and supports both text and image inputs, enabling high-context reasoning, coding, and multimodal analysis in one workflow. The model brings stronger performance in coding, document understanding, tool usage, and instruction following. It’s built to be a solid default for both general tasks and software engineering—able to produce production-ready code, synthesize information from multiple sources, and handle complex multi-step workflows with fewer iterations and better token efficiency.
API-методы и структура запроса
Здесь собран публичный контракт интеграции модели: поддерживаемые API-методы, параметры запросов и примеры вызовов.
POST/v1/chat/completionsПример кода
Базовый пример запроса. Проверьте разрешения 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",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'