Qwen Max
Chat Completions API
qwen-max
Chat Completions API
Qwen-Max is a large-scale Mixture-of-Experts (MoE) model from Qwen, based on Qwen2.5, and provides the best inference performance among Qwen models, especially for complex multi-step tasks. Pretrained on over 20 trillion tokens and further post-trained with curated Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF), it is designed for high-accuracy, high-recall applications. The exact parameter count is undisclosed.
Пример кода
Пример использования модели через 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": "qwen-max",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'