Call the GET /api/v1/quotas endpoint to query the rate limit quotas for each model under the current API key, including request rate limits (QPS/RPM) and usage limits (TPM), to understand and plan your API usage.
Prerequisites
An API key has been created and configured as the environment variable DASHSCOPE_API_KEY. For more information, see Configure an API key in environment variables.
Request
HTTP method: GET
Request URL
Replace {WorkspaceId} with your workspace ID.
Region | Endpoint |
|---|---|
Singapore |
|
China (Beijing) |
|
China (Hong Kong) |
|
Germany (Frankfurt) |
|
US (Virginia) |
|
Authorization: Bearer {API_KEY} in the request header.
Request parameters
All parameters are passed through the query string.
Parameter | Type | Required | Description |
|---|---|---|---|
name | String | No | Fuzzy search by model name. Example: |
model | String | No | Exact match by model ID. Example: |
page_no | Integer | No | Page number, starting from 1. Default: |
page_size | Integer | No | Number of models returned per page. Default: |
Response parameters
Parameter | Type | Description |
|---|---|---|
request_id | String | The request ID, used for troubleshooting. |
output.total | Number | The total number of models that match the query criteria. |
output.page_no | Number | The current page number. |
output.page_size | Number | The number of entries per page. |
output.quotas[].model | String | The model ID. |
output.quotas[].workspace_id | String | The workspace ID. |
output.quotas[].model_limit | Object | Account-level rate limits. This represents the overall rate limit cap for the model under the current account. Contains the following fields:
|
output.quotas[].workspace_limit | Object | Workspace-level rate limits. You can set individual rate limits for each workspace, but the combined limits across all workspaces cannot exceed the |
Rate limit details
Model Studio applies rate limits at two levels:
- model_limit (account level): The overall rate limit cap for the model under the current account, shared across all workspaces.
- workspace_limit (workspace level): You can configure individual rate limits for each workspace. The combined limits across all workspaces cannot exceed the
model_limitcap.
Field | Meaning | Example |
|---|---|---|
request_limit + request_limit_period | Request rate limit |
|
usage_limit + usage_limit_period | Usage limit |
|
async_user_queue_limit | Async queue limit | The maximum number of tasks that can be queued when using asynchronous calls. |
async_user_concurrency_limit | Async concurrency limit | The maximum number of tasks that can be executed simultaneously when using asynchronous calls. |
Sample requests
Example 1: Query quotas for all models
Sample response
qwen3-max: A maximum of 500 requests per second, and a maximum of 500,000 tokens per 6 seconds. No workspace-level limit is set.wan2.6-i2v-flash: A maximum of 5 requests per second with no usage limit. The async task queue limit is 500 and the async concurrency limit is 5.qwen-image-max: A maximum of 2 requests per minute and a maximum of 1,000,000 tokens per minute. No workspace-level limit is set.
Error codes
If the call fails, an error message is returned. For more information about error codes and solutions, see Error messages.
Related documentation
- List models
- Rate limiting