ListModelProviderLlmCodes

Updated at:

Queries the list of available LLM model codes for a specified model provider. Supports filtering by LLM code, model brand, recommended tier, and recommendation status, and returns model information such as the model name, description, release time, features, inference modality, pricing, credit multiplier, and risk type.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

appstreaming:ListModelProviderLlmCodes

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ProviderName

string

Yes

The name of the model provider.

moonshot

ProviderTemplateId

string

Yes

The ID of the provider template.

pt-xxx-001

LlmCode

string

No

The LLM code for fuzzy match filtering.

qwen3-max

ModelBrands

array

No

The list of model brands as a JSON array string. Supports multi-select filtering. Models matching any of the specified brands are returned.

string

No

The model brand code used to filter models by brand.

qwen

RecommendedLevels

array

No

The list of recommended tiers. This parameter takes effect only for wuying-plan. Models matching any of the selected tiers and meeting other filter conditions such as region and brand are returned. If this parameter is not specified or an empty array is passed, models are not filtered by tier.

["Standard","Advanced"]

string

No

The recommended tier code, which is validated by the backend.

Standard

Recommended

boolean

No

Specifies whether to filter models by recommendation status. If this parameter is not specified, models are not filtered by recommendation status.

PageSize

integer

No

The number of entries per page. Default value: 1000. Maximum value: 1000.

20

PageNumber

integer

No

The page number. Pages start from 1. Default value: 1.

1

Language

string

No

The display language for models. Valid values: zh-CN (Simplified Chinese), en-US (English), ja-JP (Japanese), and zh-TW (Traditional Chinese). Default value: zh-CN. Currently, zh-TW returns Simplified Chinese, and ja-JP returns English. If the text is not recorded in Model Studio or the English text is missing, the original source text is retained without automatic translation.

en-US

Response elements

Element

Type

Description

Example

object

ListModelProviderLlmCodesResult

Data

object

The paginated data object that contains the list of LLM information.

LlmInfoList

array<object>

The list of LLM information.

array<object>

LlmCode

string

The LLM code, such as qwen-image-2.0.

qwen-image-2.0

Name

string

The model name, such as Qwen-Image-2.0.

Qwen-Image-2.0

Description

string

The model description.

Qwen image generation model, supporting text-to-image and image editing capabilities

PublishedTime

string

The time when the model was published, in ISO 8601 format, such as 2026-03-04T06:25:17.000+00:00.

2026-03-04T06:25:17.000+00:00

Features

array

The list of model features, such as function-calling, web-search, and structured-outputs.

string

The model feature identifier, such as function-calling, web-search, or structured-outputs.

function-calling

InferenceMetadata

object

The inference metadata, including request and response modalities.

RequestModality

array

The list of request modalities, such as Text, Image, and Audio.

string

The request modality, such as Text, Image, or Audio.

Text

ResponseModality

array

The list of response modalities, such as Text, Image, and Audio.

string

The response modality, such as Text, Image, or Audio.

Text

ModelInfo

object

The model information, such as context window size and maximum input/output tokens.

{"contextWindow":1000000,"maxInputTokens":991808,"maxReasoningTokens":262144,"reasoningMaxInputTokens":983616,"maxOutputTokens":131072,"reasoningMaxOutputTokens":131072}

any

The value of the model information key-value pair. The key is the name of the information item, such as context window size or maximum input/output tokens, and the value is the corresponding number or character string.

131072

Prices

array<object>

The list of price information.

array<object>

The price information.

RangeName

string

The name of the range, such as Default or 0-1M tokens.

Default

Prices

array<object>

The list of prices within the range.

object

The price information.

PriceName

string

The name of the price, such as input, output, or image generation.

Input

Price

string

The price in string format, such as 0.2.

0.2

PriceUnit

string

The price unit, such as per image or per 1,000 tokens.

Per image

RiskType

string

The model risk type. This parameter is returned only when includeRiskInfo is set to true.

Normal

ModelSeries

string

The model series, such as Qwen-Max or DeepSeek. This parameter is returned only for the wuying-credit provider.

Qwen-Max

Recommended

boolean

Specifies whether the model is recommended. This is a tri-state parameter. A value of true indicates that the model is recommended for display. A value of false indicates that the model is explicitly not recommended. A value of null indicates that the parameter is not applicable, such as for non-Bailian models or unannotated models.

CreditMultiplier

object

The credit consumption multiplier. An empty value indicates that the model does not participate in credit billing.

Min

number

The lower limit of the multiplier. When this value is equal to the maximum multiplier, it represents a fixed multiplier. For example, if both the minimum and maximum multipliers are 2, it is displayed as 2x.

2

Max

number

The upper limit of the multiplier. An empty value indicates no upper limit. For example, if the minimum multiplier is 1 and the maximum multiplier is empty, it is displayed as starting from 1x.

2

ModelBrand

string

The model brand, such as Qwen, Wanx, or DeepSeek. This parameter is returned only for models annotated in the platform-side model pool.

qwen

RequestId

string

The request ID, which is used to uniquely identify the request.

XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

PageNumber

integer

The current page number.

1

PageSize

integer

The number of entries per page.

20

TotalCount

integer

The total number of records after filtering.

128

Examples

Success response

JSON format

{
  "Data": {
    "LlmInfoList": [
      {
        "LlmCode": "qwen-image-2.0",
        "Name": "Qwen-Image-2.0",
        "Description": "Qwen image generation model that supports text-to-image generation and image editing",
        "PublishedTime": "2026-03-04T06:25:17.000+00:00",
        "Features": [
          "function-calling"
        ],
        "InferenceMetadata": {
          "RequestModality": [
            "Text"
          ],
          "ResponseModality": [
            "Text"
          ]
        },
        "ModelInfo": {
          "key": "131072"
        },
        "Prices": [
          {
            "RangeName": "Default",
            "Prices": [
              {
                "PriceName": "Input",
                "Price": "0.2",
                "PriceUnit": "Per image"
              }
            ]
          }
        ],
        "RiskType": "Normal",
        "ModelSeries": "Qwen-Max",
        "Recommended": false,
        "CreditMultiplier": {
          "Min": 2,
          "Max": 2
        },
        "ModelBrand": "qwen"
      }
    ]
  },
  "RequestId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "PageNumber": 1,
  "PageSize": 20,
  "TotalCount": 128
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.