GPT-6 Sol
Chat Completions API
gpt-6-sol
Chat Completions API
GPT-6 Sol is OpenAI’s reasoning model for demanding coding and agentic workflows, balancing capability and cost within the GPT-6 family. It accepts text and image inputs and supports a context window of about 1.05 million tokens. Reasoning effort can be set from none through max; the Responses API supports built-in tools and function calling for multi-step tasks.
Пример кода
Пример использования модели через 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-sol",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'