Skip to content

Alibaba Cloud

The alibaba provider access the Alibaba Cloud models.

script({
model: "alibaba:qwen-max",
})
  1. Sign up for a Alibaba Cloud account and obtain an API key from their console.

  2. Add your Alibaba API key to the .env file:

    .env
    ALIBABA_API_KEY=sk_...
  3. Find the model that best suits your needs by visiting the Alibaba models.

  4. Update your script to use the model you choose.

    script({
    ...
    model: "alibaba:qwen-max",
    })

Aliases

The following model aliases are attempted by default in GenAIScript.

AliasModel identifier
largeqwen-max
smallqwen-turbo
longqwen-plus
embeddingstext-embedding-v3

Limitations