Open-source personal AI assistant from the AgentScope team
It supports local and cloud deployment, and integrates with QwenCloud via Token Plan Individual, Token Plan Team Edition, or pay-as-you-go.
Use the pip package or one-click installation script. For Docker, desktop app, or ModelScope online runtime, see the QwenPaw official documentation.
After launch, visit
Follow the prompts to select a provider, paste the API key, and select a model. Provider mapping:A
You can also configure it in the Console: start QwenPaw and open QwenPaw Console at
In addition to the options above, you can also connect using a configuration file.
Troubleshoot by billing plan:
Possible causes:
On the provider Settings page for that model, expand Advanced Configuration and adjust generation parameters such as
When using qwen4-max-preview, 1.1.x defaults to
max_tokens=8192; raise it in generate_kwargs.max_tokens. For 2.2.x, setting it explicitly is also recommended.Install QwenPaw
Use the pip package or one-click installation script. For Docker, desktop app, or ModelScope online runtime, see the QwenPaw official documentation.
- pip install
- One-click script
Requires Python 3.10 ~ 3.13:
http://127.0.0.1:8088/ to open QwenPaw Console.
Quick Start
1
Get an API key
Get the API key for your billing plan:
- Token Plan Individual: Create or view API Key
- Token Plan Team Edition: Assign a seat and get the API Key
- Pay-as-you-go: QwenCloud API key
2
Configure the model
- Token Plan: Aliyun Token Plan (
aliyun-tokenplan) - Pay-as-you-go: DashScope (
dashscope)
3
Verify
status: success response confirms the configuration.Configure in the Console
You can also configure it in the Console: start QwenPaw and open QwenPaw Console at http://127.0.0.1:8088/.
1
Configure the provider
Go to Settings > Models and configure the provider for your billing plan:
- Token Plan
- Pay-as-you-go
Select the built-in Aliyun Token Plan provider and enter your Token Plan Individual or Team Edition API key.
2
Select or add a model
Common models are preconfigured. To add one, click Add Model and enter a model ID:
- Token Plan: a text generation model supported by Individual or Team Edition
- Pay-as-you-go: for example,
qwen3.8-maxorqwen3.8-flash
3
Set the default model
Go to Settings > Models > Default LLM, select a model, and click Save. The dropdown in the top-right of the chat page switches the provider and model for the current session.
Configure with a configuration file
In addition to the options above, you can also connect using a configuration file.
1
Open or create the configuration file
~/.qwenpaw.secret/providers/custom/<provider-id>.json2
Write the configuration
- Token Plan Individual
- Token Plan Team Edition
- Pay-as-you-go
FAQ
Error codes
Troubleshoot by billing plan:
- Pay-as-you-go: Error code troubleshooting
- Token Plan (Individual): Token Plan FAQ
- Token Plan Team Edition: Token Plan Team Edition FAQ
Error 401 Incorrect API key provided
Possible causes:
- API Keys are not interchangeable across the three billing plans. Make sure the API Key and Base URL come from the same plan.
- The pay-as-you-go API Key and Base URL are in different regions.
Context length exceeded during long conversations or tool calls
On the provider Settings page for that model, expand Advanced Configuration and adjust generation parameters such as max_tokens in JSON format, then save: