Mistral Small 4 (batch)
Подключается через OpenAI-совместимый API: укажи этот ID в поле model. Без подписки, оплата только за токены.
Возможности
- Принимает
- изображения, текст
- Отвечает
- текст
- Контекст
- 262K
- Вызов инструментов (tools)
- Рассуждение перед ответом (reasoning)
- Ответ в формате JSON
Описание
Mistral Small 4 (batch) - языковая модель от Mistral. Принимает: изображения, текст. Отвечает: текст. Контекст - 262K токенов. Умеет вызывать инструменты, рассуждать перед ответом, отвечать в формате JSON.
Описание поставщика, на английскомСвернуть описание поставщика
Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system. It combines strong reasoning from...
Как подключить
from openai import OpenAI
client = OpenAI(
base_url="https://velisityapi.com/v1",
api_key="<VELISITY_API_KEY>",
)
response = client.chat.completions.create(
model="mistralai/mistral-small-2603:batch",
messages=[{"role": "user", "content": "Привет!"}],
)
print(response.choices[0].message.content)
curl https://velisityapi.com/v1/chat/completions \
-H "Authorization: Bearer <VELISITY_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model": "mistralai/mistral-small-2603:batch",
"messages": [{"role": "user", "content": "Привет!"}]}'
Другие модели Mistral
цена за 1M токенов · вход / выходMistral Medium 3.5
$1.95/$9.00262K ctx
Mistral Large 2407
$2.60/$7.20131K ctx
Mixtral 8x22B Instruct
$2.60/$7.2066K ctx
Mistral Large
$2.60/$7.20128K ctx
Pixtral Large 2502
$2.60/$7.20128K ctx
Mistral Large 4
$0.91/$2.731M ctx