Mistral Small 2603
Chat Completions API
mistral-small-2603
Chat Completions API
Mistral Small 4 is the next major release in the Mistral Small family, combining the capabilities of several flagship Mistral models into a single system. It brings together strong reasoning from Magistral, multimodal understanding from Pixtral, and agent-oriented coding capabilities from Devstral, allowing one model to handle complex analysis, software development, and visual tasks within the same workflow.
API-методы и структура запроса
Здесь собран публичный контракт интеграции модели: поддерживаемые API-методы, параметры запросов и примеры вызовов.
Chat Completions API
POST/v1/chat/completionsПример кода
Пример использования модели через 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": "mistral-small-2603",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'Параметры
Параметры, доступные в API-запросах
Frequency PenaltyMax Completion TokensParallel Tool CallsPredictionPresence PenaltyResponse FormatStopTemperatureTool ChoiceToolsTop P