GPT-6 Luna
Chat Completions API
gpt-6-luna
Chat Completions API
GPT-6 Luna is OpenAI’s efficient GPT-6 model for focused tasks and high-volume workloads. It accepts text and image inputs, supports a context window of about 1.05 million tokens and configurable reasoning effort, and can use built-in tools through the Responses API. Choose it for repeatable processing where latency and cost are important.
Пример кода
Пример использования модели через 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-6-luna",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'