Qwen Plus
How TheRouter serves this differently from the vendor
Alibaba documents the qwen-plus family on Bailian with 1M context, thinking mode support, function calling, built-in tools, and structured output. The upstream OpenAI-compatible thinking example uses the non-standard enable_thinking flag in extra_body.
TheRouter serves the model as qwen/qwen-plus on the OpenAI-compatible chat route with catalog context 1,048,576, max output 32,768, and supported parameters including tools, tool_choice, response_format, reasoning, and stop. This reference treats Alibaba's 1M and feature table as upstream authority while calling out TheRouter's parameter spelling and catalog limits.
API guide
Chat completion
Use the OpenAI-compatible chat endpoint for the default non-thinking path. Add reasoning only after validating how your SDK serialises 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 catalog marks reasoning as supported. Use it for harder turns and keep the non-thinking path for 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
Use tools for agentic workflows after confirming the target route supports the schema shape you send through 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"}'Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Context length | help.aliyun.com β | 2026-08-02 | verified |
| Maximum output | β | β | verified |
| Thinking mode | help.aliyun.com β | 2026-08-02 | verified |
| Function calling and tools | help.aliyun.com β | 2026-08-02 | verified |
| Structured output | help.aliyun.com β | 2026-08-02 | verified |
| Modalities | help.aliyun.com β | 2026-08-02 | verified |
| Public Plus-tier benchmark table | help.aliyun.com β | 2026-08-02 | unknown |
| Thinking-mode benchmark | help.aliyun.com β | 2026-08-02 | unknown |
| TheRouter latency / throughput benchmark | help.aliyun.com β | 2026-08-02 | unknown |
| Alibaba's text-generation guide positions Plus-tier Qwen as the balanced default | help.aliyun.com β | 2026-08-02 | verified |
| What is qwen/qwen-plus in TheRouter? | help.aliyun.com β | 2026-08-02 | to verify |
| Does qwen-plus support thinking mode? | help.aliyun.com β | 2026-08-02 | to verify |
| When should I choose qwen-plus instead of qwen-long? | help.aliyun.com β | 2026-08-02 | to verify |
| Is qwen-plus a fixed Qwen3.7 checkpoint? | help.aliyun.com β | 2026-08-02 | to verify |