Назад к моделям
Qwen Max
qwenqwen/qwen-max
Гид по API
Chat completion
Стандартные OpenAI-совместимые chat completions. Если строите что-то новое, рассмотрите qwen/qwen3-32b — тот же провайдер, активное поколение, с опциональным thinking mode.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen-max",
"messages": [
{"role": "user", "content": "Summarize the key capabilities of Qwen2.5-Max."}
],
"temperature": 0.7,
"max_tokens": 1024
}'Tool calling
qwen-max поддерживает function calling через стандартный OpenAI tools API.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen-max",
"messages": [{"role": "user", "content": "What is the current time in Tokyo?"}],
"tools": [{
"type": "function",
"function": {
"name": "get_current_time",
"description": "Get the current time for a given timezone",
"parameters": {
"type": "object",
"properties": {
"timezone": {"type": "string", "description": "IANA timezone string"}
},
"required": ["timezone"]
}
}
}],
"tool_choice": "auto"
}'JSON-режим
Используйте JSON mode для структурированного извлечения данных. qwen-max поддерживает response_format: json_object.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen-max",
"messages": [
{"role": "system", "content": "Return only valid JSON with keys: title, author, year."},
{"role": "user", "content": "Extract book info: The Great Gatsby by F. Scott Fitzgerald, 1925."}
],
"response_format": {"type": "json_object"}
}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Архитектура | qwenlm.github.io ↗ | 2026-06-10 | к проверке |
| Данные предобучения | qwenlm.github.io ↗ | 2026-06-10 | проверено |
| Пост-обучение | qwenlm.github.io ↗ | 2026-06-10 | проверено |
| Дата доступности API (Qwen2.5-Max) | qwenlm.github.io ↗ | 2026-06-10 | проверено |
| Режим мышления | — | — | проверено |
| Лицензия | — | — | проверено |
| Статус жизненного цикла | help.aliyun.com ↗ | 2026-06-10 | проверено |
| Arena-Hard | qwenlm.github.io ↗ | 2026-06-10 | к проверке |
| LiveCodeBench | qwenlm.github.io ↗ | 2026-06-10 | к проверке |
| GPQA-Diamond | qwenlm.github.io ↗ | 2026-06-10 | к проверке |
| Qwen2.5-Max запускается как qwen-max API alias, превосходя DeepSeek V3 при запуске | Qwen blog ↗ | 2026-06-10 | проверено |