Retrieve the list of available models on Model Studio. You can filter by model provider, modality type, model capability, and deployment mode, and get information such as pricing and context length.
Singapore
https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1/modelsChina (Beijing)
https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/modelsChina (Hong Kong)
https://{WorkspaceId}.cn-hongkong.maas.aliyuncs.com/api/v1/modelsGermany (Frankfurt)
https://{WorkspaceId}.eu-central-1.maas.aliyuncs.com/api/v1/modelsJapan (Tokyo)
https://{WorkspaceId}.ap-northeast-1.maas.aliyuncs.com/api/v1/modelsUS (Virginia)
https://dashscope-us.aliyuncs.com/api/v1/modelsRequest headers
Query parameters
nameStringOptionalFuzzy search by model name. Example: qwen
modelStringOptionalExact match by model ID. Example: qwen3.8-max
languageStringOptionalLanguage of the response. Valid values: zh-CN (Chinese), en-US (English).
page_noIntegerOptionalPage number, starting from 1. Default value: 1. Increment page_no to retrieve subsequent pages. Use total under output to determine when you have retrieved all matching models.
page_sizeIntegerOptionalNumber of models per page. Default value: 20.
providersArray[String]OptionalFilter by model provider. The provider parameter in DashScope Python SDK 2.x filters the current page on the client. The returned total_count remains the total before filtering.
View valid values
qwen: Qwendeepseek: DeepSeekzhipu-ai: Zhipu AIwan: Wanmoonshot-ai: Moonshot AImini-max: MiniMaxkling: Kling AIvidu: Vidupixverse: PixVersexiaomi: Xiaomitripo: Tripohappyhorse: HappyHorseqwen-domain-model: Qwen Domain Model
Example: providers=qwen&providers=deepseek
inference_providersArray[String]OptionalFilter by inference provider.
View valid values
aliyun-bailian: Alibaba Cloud Model Studioalibaba-cloud-modelstudio: Alibaba Cloud Model Studiosiliconflow: SiliconFlowmoonshot: Kimimini-max: MiniMaxkling: Kling AIvidu: Vidupixverse: PixVersevanchin: Kuaishou Wanqingxiaomi: Xiaomi MiMozhipu-ai: Zhipu AItripo: Tripo
capabilitiesArray[String]OptionalFilter by modality type.
Use the HTTP API for this filter. To pass multiple values, repeat the parameter, such as capabilities=TG&capabilities=Reasoning, to match models that support text generation or reasoning.
View valid values
TG: Text GenerationReasoning: Advanced ReasoningVU: Visual UnderstandingIG: Image GenerationVG: Video GenerationASR: Speech RecognitionTTS: Text-to-SpeechTR: Text EmbeddingME: Multimodal EmbeddingMultimodal-Omni: OmniRealtime-Omni: Realtime OmniRealtime-Text-to-Speech: Realtime Text-to-SpeechRealtime-ASR: Realtime Speech RecognitionRealtime-Audio-Translate: Realtime Audio Translation3D-generation: 3D GenerationRealtime-Chatting: Realtime Voice Chat
Example: capabilities=TG&capabilities=Reasoning
featuresArray[String]OptionalFilter by model capability. Use the HTTP API for this filter.
function-calling: Function Callingstructured-outputs: Structured Outputsweb-search: Web Searchprefix-completion: Prefix Completioncache: Context Cachingbatch: Batch Inferencefine-tuning: Fine-tuningmodel-experience: Model Playground
context_windowIntegerOptionalFilter by context length. Returns models with a context length strictly less than the specified value. Example: 20000.
service_siteStringOptionalFilter by deployment mode. If not specified, models of all deployment modes are returned.
global: Globalinternational: International (excluding Chinese mainland)asia-pacific-china: Chinese mainlandcn-hongkong: China (Hong Kong)european-union: European Unionunited-states: United Statesjapan: Japan
supportsArray[String]OptionalFilter by supported use case. Default value: inference.
inference: Models that support inferencedeploy: Models that support deployment
deployment_methodsArray[String]OptionalFilter by deployment method.
ptu: Provisioned Throughput Unit
deployment_ptu_service_tiersArray[String]OptionalFilter by PTU type. You must also set deployment_methods to include ptu.
Response parameters
codeString | nullError code. It is null when the query succeeds.
messageString | nullError message. It is null when the query succeeds.
successBooleanIndicates whether the query succeeded.
outputObjectModel list and pagination details.
View child fields
totalNumberTotal number of matching models. DashScope Python SDK 2.x exposes this value as total_count.
page_noNumberCurrent page number.
page_sizeNumberNumber of items per page.
modelsArray[Object]A list of models. Each element is a model object. Each response example shows one model. Counts, model details, and prices depend on the actual response.
View child fields
modelStringModel ID, used to specify the model in API calls.
nameStringDisplay name of the model.
descriptionStringDescription of the model.
providerStringModel provider, such as qwen.
capabilitiesArray[String]Modality types supported by the model. Values are the same as the capabilities request parameter.
inference_providerStringInference provider, such as aliyun-bailian.
featuresArray[String]Capabilities supported by the model. Values are the same as the features request parameter.
pricesArray[Object]Model pricing by billing tier.
View child fields
pricesArray[Object]Price list for this tier.
View child fields
type: Billing item.price: Unit price.price_unit: Unit, such as per million tokens.price_name: Price description, such as Input.
range_nameStringBilling tier name. Default for flat pricing, or a range such as 32k<Input<=128k for tiered pricing.
published_timeStringModel release time in yyyy-MM-dd HH:mm:ss format. Can be null.
inference_metadataObjectInput and output modality information of the model. Contains the following fields:
View child fields
request_modality(Array[String]): Input modalities. Valid values:Text,Image,Audio,Video.response_modality(Array[String]): Output modalities. Same valid values as above.
model_infoObjectContext length information of the model. A value of null indicates no limit or not applicable. Contains the following fields:
View child fields
context_window(Integer): Total context window lengthmax_input_tokens(Integer): Maximum input tokensmax_output_tokens(Integer): Maximum output tokensmax_reasoning_tokens(Integer): Maximum reasoning tokensreasoning_max_input_tokens(Integer): Maximum input tokens for reasoningreasoning_max_output_tokens(Integer): Maximum output tokens for reasoning
equivalent_snapshotStringThe corresponding snapshot model.
inference_offline_infoObjectInference retirement details. Each entry ($) contains the following field.
View child fields
offline_timeDateEstimated retirement time.
request_idStringRequest ID for troubleshooting.
Default query
curl --get "https://WorkspaceId.ap-southeast-1.maas.aliyuncs.com/api/v1/models" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-d "page_no=1" \
-d "page_size=20"
import os
import dashscope
client = dashscope.Client(
api_key=os.getenv("DASHSCOPE_API_KEY"),
base_url="https://WorkspaceId.ap-southeast-1.maas.aliyuncs.com/api/v1",
)
resp = client.models.list(
page_no=1,
page_size=20,
)
print(resp.models)
{
"code": null,
"message": null,
"success": true,
"output": {
"total": 168,
"page_no": 1,
"page_size": 20,
"models": [
{
"model": "qwen3.8-max",
"name": "Qwen3.8-Max",
"description": "The Max model in the Qwen3 series, designed for complex agent scenarios.",
"features": [
"function-calling",
"structured-outputs",
"web-search"
],
"prices": [
{
"prices": [
{
"type": "input_token",
"price": "2",
"price_unit": "per million tokens",
"price_name": "Input"
},
{
"type": "output_token",
"price": "8",
"price_unit": "per million tokens",
"price_name": "Output"
}
],
"range_name": "Default"
}
],
"published_time": "2025-11-11 12:00:00",
"inference_metadata": {
"response_modality": [
"Text"
],
"request_modality": [
"Text"
]
},
"model_info": {
"context_window": 131072,
"max_input_tokens": 130048,
"max_output_tokens": 16384,
"max_reasoning_tokens": null,
"reasoning_max_input_tokens": null,
"reasoning_max_output_tokens": null
}
}
]
},
"request_id": "Actual request ID"
}
Query by model ID
curl --get "https://WorkspaceId.ap-southeast-1.maas.aliyuncs.com/api/v1/models" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-d "model=qwen3.8-max" \
-d "page_no=1" \
-d "page_size=20"
import os
import dashscope
client = dashscope.Client(
api_key=os.getenv("DASHSCOPE_API_KEY"),
base_url="https://WorkspaceId.ap-southeast-1.maas.aliyuncs.com/api/v1",
)
model = client.models.get("qwen3.8-max")
print(model)
{
"code": null,
"message": null,
"success": true,
"output": {
"total": 1,
"page_no": 1,
"page_size": 20,
"models": [
{
"model": "qwen3.8-max",
"name": "Qwen3.8-Max",
"description": "The Max model in the Qwen3 series, designed for complex agent scenarios.",
"features": [
"function-calling",
"structured-outputs",
"web-search"
],
"prices": [
{
"prices": [
{
"type": "input_token",
"price": "2",
"price_unit": "per million tokens",
"price_name": "Input"
},
{
"type": "output_token",
"price": "8",
"price_unit": "per million tokens",
"price_name": "Output"
}
],
"range_name": "Default"
}
],
"published_time": "2025-11-11 12:00:00",
"inference_metadata": {
"response_modality": [
"Text"
],
"request_modality": [
"Text"
]
},
"model_info": {
"context_window": 131072,
"max_input_tokens": 130048,
"max_output_tokens": 16384,
"max_reasoning_tokens": null,
"reasoning_max_input_tokens": null,
"reasoning_max_output_tokens": null
}
}
]
},
"request_id": "Actual request ID"
}
Query by model provider
curl --get "https://WorkspaceId.ap-southeast-1.maas.aliyuncs.com/api/v1/models" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-d "providers=qwen" \
-d "page_no=1" \
-d "page_size=100"
{
"code": null,
"message": null,
"success": true,
"output": {
"total": 12,
"page_no": 1,
"page_size": 100,
"models": [
{
"model": "qwen3.8-max",
"name": "Qwen3.8-Max",
"description": "The Max model in the Qwen3 series, designed for complex agent scenarios.",
"features": [
"function-calling",
"structured-outputs",
"web-search"
],
"prices": [
{
"prices": [
{
"type": "input_token",
"price": "2",
"price_unit": "per million tokens",
"price_name": "Input"
},
{
"type": "output_token",
"price": "8",
"price_unit": "per million tokens",
"price_name": "Output"
}
],
"range_name": "Default"
}
],
"published_time": "2025-11-11 12:00:00",
"inference_metadata": {
"response_modality": [
"Text"
],
"request_modality": [
"Text"
]
},
"model_info": {
"context_window": 131072,
"max_input_tokens": 130048,
"max_output_tokens": 16384,
"max_reasoning_tokens": null,
"reasoning_max_input_tokens": null,
"reasoning_max_output_tokens": null
}
}
]
},
"request_id": "Actual request ID"
}
Query by capability
curl --get "https://WorkspaceId.ap-southeast-1.maas.aliyuncs.com/api/v1/models" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-d "capabilities=TG" \
-d "page_no=1" \
-d "page_size=20"
{
"code": null,
"message": null,
"success": true,
"output": {
"total": 20,
"page_no": 1,
"page_size": 20,
"models": [
{
"model": "qwen3.8-max",
"name": "Qwen3.8-Max",
"description": "The Max model in the Qwen3 series, designed for complex agent scenarios.",
"features": [
"function-calling",
"structured-outputs",
"web-search"
],
"prices": [
{
"prices": [
{
"type": "input_token",
"price": "2",
"price_unit": "per million tokens",
"price_name": "Input"
},
{
"type": "output_token",
"price": "8",
"price_unit": "per million tokens",
"price_name": "Output"
}
],
"range_name": "Default"
}
],
"published_time": "2025-11-11 12:00:00",
"inference_metadata": {
"response_modality": [
"Text"
],
"request_modality": [
"Text"
]
},
"model_info": {
"context_window": 131072,
"max_input_tokens": 130048,
"max_output_tokens": 16384,
"max_reasoning_tokens": null,
"reasoning_max_input_tokens": null,
"reasoning_max_output_tokens": null
}
}
]
},
"request_id": "Actual request ID"
}
Error codes
If the call fails, an error message is returned. For more information about error codes and solutions, see Error messages.