docs/users/support/tos-privacy.md
Qwen Code is an open-source AI coding assistant tool maintained by the Qwen Code team. This document outlines the terms of service and privacy policies that apply when using Qwen Code's authentication methods and AI model services.
Qwen Code supports three authentication methods to access AI models. Your authentication method determines which terms of service and privacy policies apply to your usage:
For each authentication method, different Terms of Service and Privacy Notices may apply depending on the underlying service provider.
| Authentication Method | Provider | Terms of Service | Privacy Notice |
|---|---|---|---|
| Qwen OAuth | Qwen AI | Qwen Terms of Service | Qwen Privacy Policy |
| Alibaba Cloud Coding Plan | Alibaba Cloud | See details below | See details below |
| API Key | Various Providers | Depends on your chosen API provider (OpenAI, Anthropic, etc.) | Depends on your chosen API provider |
When you authenticate using your qwen.ai account, these Terms of Service and Privacy Notice documents apply:
For details about authentication setup, quotas, and supported features, see Authentication Setup.
When you authenticate using an API key from Alibaba Cloud, the applicable Terms of Service and Privacy Notice from Alibaba Cloud apply.
Alibaba Cloud Coding Plan is available in two regions:
[!important]
When using Alibaba Cloud Coding Plan, you are subject to Alibaba Cloud's terms and privacy policies. Please review their documentation for specific details about data usage, retention, and privacy practices.
When you authenticate using API keys from other providers, the applicable Terms of Service and Privacy Notice depend on your chosen provider.
[!important]
When using your own API key, you are subject to the terms and privacy policies of your chosen API provider, not Qwen Code's terms. Please review your provider's documentation for specific details about data usage, retention, and privacy practices.
Qwen Code supports various OpenAI-compatible providers. Please refer to your specific provider's terms of service and privacy policy for detailed information.
Qwen Code may collect anonymous usage statistics and telemetry data to improve the user experience and product quality. This data collection is optional and can be controlled through configuration settings.
When enabled, Qwen Code may collect:
Whether your code, including prompts and answers, is used to train AI models depends on your authentication method and the specific AI service provider you use:
Qwen OAuth: Data usage is governed by Qwen's Privacy Policy. Please refer to their policy for specific details about data collection and model training practices.
Alibaba Cloud Coding Plan: Data usage is governed by Alibaba Cloud's privacy policy. Please refer to their policy for specific details about data collection and model training practices.
API Key: Data usage depends entirely on your chosen API provider. Each provider has their own data usage policies. Please review the privacy policy and terms of service of your specific provider.
Important: Qwen Code itself does not use your prompts, code, or responses for model training. Any data usage for training purposes would be governed by the policies of the AI service provider you authenticate with.
The Usage Statistics setting controls optional data collection by Qwen Code for improving the user experience and product quality.
When enabled, Qwen Code may collect:
What is NOT collected by Qwen Code:
The Usage Statistics setting only controls data collection by Qwen Code itself. It does not affect what data your chosen AI service provider (Qwen, OpenAI, etc.) may collect according to their own privacy policies.
You can switch between Qwen OAuth, Alibaba Cloud Coding Plan, and your own API key at any time:
/auth command to reconfigure your authentication method.env files for automatic API key authenticationFor detailed instructions, see the Authentication Setup documentation.