You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(qwen): add Token Plan (Team Edition) provider (#94419)
* feat(qwen): add Token Plan provider
Co-authored-by: Oliver Mee <[email protected]>
* docs: regenerate documentation map
---------
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Oliver Mee <[email protected]>
Copy file name to clipboardExpand all lines: docs/plugins/reference/qwen.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
-
summary: "Adds Qwen, Qwen Cloud, Model Studio, DashScope, Qwen Oauth, Qwen Portal, Qwen CLI model provider support to OpenClaw."
2
+
summary: "Adds Qwen, Qwen Cloud, Model Studio, DashScope, Qwen Oauth, Qwen Portal, Qwen CLI, Qwen Token Plan, Bailian Token Plan model provider support to OpenClaw."
3
3
read_when:
4
4
- You are installing, configuring, or auditing the qwen plugin
5
5
title: "Qwen plugin"
6
6
---
7
7
8
8
# Qwen plugin
9
9
10
-
Adds Qwen, Qwen Cloud, Model Studio, DashScope, Qwen Oauth, Qwen Portal, Qwen CLI model provider support to OpenClaw.
10
+
Adds Qwen, Qwen Cloud, Model Studio, DashScope, Qwen Oauth, Qwen Portal, Qwen CLI, Qwen Token Plan, Bailian Token Plan model provider support to OpenClaw.
Copy file name to clipboardExpand all lines: docs/providers/qwen.md
+95-15Lines changed: 95 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,20 @@
2
2
summary: "Use Qwen Cloud through its OpenClaw plugin"
3
3
read_when:
4
4
- You want to use Qwen with OpenClaw
5
+
- You have an Alibaba Cloud Token Plan subscription
5
6
- You previously used Qwen OAuth
6
7
title: "Qwen"
7
8
---
8
9
9
-
Qwen Cloud is an official external OpenClaw provider plugin with canonical id `qwen`. It targets Qwen Cloud / Alibaba DashScope Standard and Coding Plan endpoints, keeps legacy `modelstudio` ids working as a compatibility alias, and exposes the Qwen Portal token flow as a separate provider,[`qwen-oauth`](/providers/qwen-oauth).
10
+
Qwen Cloud is an official external OpenClaw provider plugin with canonical id `qwen`. It targets Qwen Cloud / Alibaba DashScope Standard and Coding Plan endpoints, exposes Token Plan as `qwen-token-plan`, keeps `modelstudio` as a compatibility alias, independently owns Alibaba's documented `bailian-token-plan` custom-provider id, and exposes the Qwen Portal token flow as [`qwen-oauth`](/providers/qwen-oauth).
| Also accepted (compat) |`MODELSTUDIO_API_KEY`, `DASHSCOPE_API_KEY`|
17
20
| API style | OpenAI-compatible |
18
21
@@ -133,6 +136,50 @@ Choose your plan type and follow the setup steps.
133
136
134
137
</Tab>
135
138
139
+
<Tabtitle="Token Plan (Team Edition)">
140
+
**Best for:** credit-based team subscription access to Qwen and supported third-party models through Alibaba Cloud Model Studio.
141
+
142
+
<Steps>
143
+
<Step title="Get your dedicated key">
144
+
Assign a Token Plan seat and create its dedicated `sk-sp-...` key. Token Plan, Coding Plan, and pay-as-you-go keys are not interchangeable. See the [Global Token Plan overview](https://www.alibabacloud.com/help/en/model-studio/token-plan-overview) or [China Token Plan overview](https://help.aliyun.com/zh/model-studio/token-plan-overview).
145
+
</Step>
146
+
<Step title="Run onboarding">
147
+
For the **Global / International** endpoint in Singapore:
148
+
149
+
```bash
150
+
openclaw onboard --auth-choice qwen-token-plan
151
+
```
152
+
153
+
For the **China** endpoint in Beijing:
154
+
155
+
```bash
156
+
openclaw onboard --auth-choice qwen-token-plan-cn
157
+
```
158
+
</Step>
159
+
<Step title="Verify the provider">
160
+
```bash
161
+
openclaw models list --provider qwen-token-plan
162
+
openclaw agent --model qwen-token-plan/qwen3.7-plus --message "Reply with: token plan ready"
163
+
```
164
+
</Step>
165
+
</Steps>
166
+
167
+
<Note>
168
+
Alibaba's OpenClaw guide uses `bailian-token-plan` for a manual custom
169
+
provider. The plugin registers that id as a compatibility owner, but new
170
+
configs should use `qwen-token-plan`. An exact custom
171
+
`models.providers.bailian-token-plan` entry keeps ownership of its configured
172
+
transport and catalog; it is never merged into the canonical OpenAI catalog.
173
+
</Note>
174
+
175
+
<Warning>
176
+
Use Token Plan only for interactive OpenClaw sessions. Do not select it for
177
+
cron jobs, unattended scripts, or application backends. Alibaba states that
178
+
non-interactive use can suspend the subscription or revoke its API key.
179
+
</Warning>
180
+
181
+
</Tab>
182
+
136
183
<Tabtitle="Qwen OAuth / Portal">
137
184
**Best for:** a Qwen Portal token against `https://portal.qwen.ai/v1`.
138
185
@@ -174,13 +221,15 @@ Choose your plan type and follow the setup steps.
0 commit comments