Organize users and access
Overview
A workspace is the basic unit for organizing resources, permissions, and billing in Qwen Cloud. Each workspace has its own set of API keys, model access, and usage quotas.
Workspaces let you:
- Isolate resources between departments, teams, or projects
- Control which models can be called and set per-model rate limits
- Manage API keys independently per workspace
- Track usage and billing separately
Create a workspace
1
Go to the Workspaces page
Go to Settings > Workspaces.
2
Create a workspace
Click Create Workspace. Enter a workspace name and click Save Changes.
Manage workspaces
From the Workspaces page, you can:
- Search: Find workspaces by name or workspace ID.
- Edit: Click Edit next to a workspace to open the editing panel.
- Switch: Use the Current Workspace dropdown to filter the view, or use the workspace switcher at the bottom of the sidebar to change your active workspace.
Edit a workspace
Click Edit on any workspace to open the editing panel with two sections:
Basic info
- Workspace Name: Rename the workspace (max 30 characters).
- Total API Keys: Shows the current number of API keys and the maximum allowed (such as 0/20).
Model permission
Control which models can be called using API keys in this workspace.
- Add models: Click All Models to open the model selection dialog. You can search by model name, filter by Model Vendor or Model Type, and select models to add. Use Select All Results to check every model on the current page.
-
Rate limits: For each model you add, set custom rate limits:
- Times / min: Maximum number of API requests per minute (RPM).
- Token / min: Maximum number of tokens processed per minute (TPM). Some model types (such as image generation) do not use token-based metering and may not show this field.
- Click Select (N) to confirm your selection in the modal, then click Save Changes on the panel to persist the changes.
The model selection dialog is paginated. Selections on one page may not carry over when you navigate to another page. Use search and filters to narrow results, or save after each page.
Switch workspaces
You can switch your active workspace in two ways:
- Workspace switcher: Click the workspace name at the bottom of the sidebar to open the switcher. Select the workspace you want to use.
- Workspaces page: Use the Current Workspace dropdown to filter and select a workspace.
API keys and workspaces
Each API key belongs to one workspace. When calling models through the API, the key determines which workspace's model access and rate limits apply.
- Default workspace keys can call all available models.
- Sub-workspace keys can only call models that have been granted to that workspace.
Limits
| Resource | Limit |
|---|---|
| Workspaces per account | 20 (includes the default workspace) |
| API keys per workspace | 20 |
| Workspace name length | 30 characters |