Skip to main content

Chatbox

Use Alibaba Cloud Model Studio models in Chatbox.

Quick Start

  1. 1

    Get an API key

    Get the API key for your billing plan:
  2. 2

    Configure the model

    In Chatbox, click Settings at the bottom left, click Model Provider, and click Add at the bottom. Enter a Name, set API Mode to OpenAI API Compatible, and click Add. Configure the following fields for your billing plan:
    • Token Plan
    • Pay-as-you-go
    • Coding Plan
    ParameterValue
    API hosthttps://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
    API keyToken Plan Personal Edition or Team Edition API key
    ModelEnter a text generation model supported by Personal Edition or Team Edition
    Leave the API path empty.
  3. 3

    Verify

    Click New, enter the model from the table in Model ID, and save. Select the model in the chat and send "Hello". A normal response confirms the configuration.

Error codes

If you encounter errors during configuration, see the FAQ for your billing plan:

FAQ

The pay-as-you-go setup remains the same: use your general Model Studio API key and Base URL. After you purchase a savings plan or resource plan, it takes effect automatically and eligible usage is deducted automatically. See Savings plans and resource plans.
Possible causes:
  • The API key does not match the selected billing plan. API keys for Token Plan, Pay-as-you-go, and Coding Plan are not interchangeable.
  • The API key is incomplete or contains extra spaces.
Use the dedicated API key for the selected plan, and copy the complete key again.