Qwen Plus
Чем обслуживание в TheRouter отличается от вендорского
Alibaba документирует семейство qwen-plus в Bailian с контекстом 1M, поддержкой thinking mode, function calling, built-in tools и structured output. Upstream OpenAI-compatible пример thinking использует нестандартный флаг enable_thinking в extra_body.
TheRouter обслуживает модель как qwen/qwen-plus на OpenAI-compatible chat route с catalog context 1 048 576, max output 32 768 и supported parameters, включая tools, tool_choice, response_format, reasoning и stop. Поэтому reference берёт Alibaba 1M и feature table как upstream authority, но явно указывает parameter spelling и catalog limits TheRouter.
Гид по API
Chat completion
Используйте OpenAI-compatible chat endpoint для дефолтного non-thinking path. Добавляйте reasoning только после проверки, как ваш SDK сериализует vendor-specific options.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen/qwen-plus","messages":[{"role":"user","content":"Summarize this customer feedback in three bullets."}],"max_tokens":600}'Optional thinking
Каталог TheRouter помечает reasoning как поддерживаемый. Используйте его для сложных ходов, а non-thinking path оставляйте для latency-sensitive requests.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen/qwen-plus","messages":[{"role":"user","content":"Plan a migration from a chunked RAG flow to a 1M-context prompt."}],"reasoning":{"effort":"medium"},"max_tokens":1200}'Function calling
Используйте tools для agentic workflows после проверки, что целевой route поддерживает schema shape, отправляемый через TheRouter.
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen/qwen-plus","messages":[{"role":"user","content":"Check whether ticket TR-102 is overdue."}],"tools":[{"type":"function","function":{"name":"get_ticket","description":"Fetch a ticket by id","parameters":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}],"tool_choice":"auto"}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Длина контекста | help.aliyun.com ↗ | 2026-08-02 | проверено |
| Максимальный вывод | — | — | проверено |
| Thinking mode | help.aliyun.com ↗ | 2026-08-02 | проверено |
| Function calling и tools | help.aliyun.com ↗ | 2026-08-02 | проверено |
| Structured output | help.aliyun.com ↗ | 2026-08-02 | проверено |
| Модальности | help.aliyun.com ↗ | 2026-08-02 | проверено |
| Public Plus-tier benchmark table | help.aliyun.com ↗ | 2026-08-02 | неизвестно |
| Thinking-mode benchmark | help.aliyun.com ↗ | 2026-08-02 | неизвестно |
| TheRouter latency / throughput benchmark | help.aliyun.com ↗ | 2026-08-02 | неизвестно |
| Гайд Alibaba по text generation позиционирует Plus-tier Qwen как balanced default | help.aliyun.com ↗ | 2026-08-02 | проверено |
| Что такое qwen/qwen-plus в TheRouter? | help.aliyun.com ↗ | 2026-08-02 | к проверке |
| Поддерживает ли qwen-plus thinking mode? | help.aliyun.com ↗ | 2026-08-02 | к проверке |
| Когда выбирать qwen-plus вместо qwen-long? | help.aliyun.com ↗ | 2026-08-02 | к проверке |
| qwen-plus — fixed checkpoint Qwen3.7? | help.aliyun.com ↗ | 2026-08-02 | к проверке |