Qoder

Updated at:

Use Alibaba Cloud Model Studio models in Qoder.

Quick start

Select the client you use and complete the configuration.

Desktop

  1. 1

    Open model settings

    Go to Settings → Models, and click Add Model.

  2. 2

    Select a provider

    Select Alibaba Cloud Model Studio - China as the provider.

  3. 3

    Enter model information

    Select the type and model, get the API key for your billing plan, and enter it:

    Token Plan

    Pay-as-you-go

    Alibaba Cloud Model Studio API Key

    Coding Plan

    Coding Plan API Key

  4. 4

    Validate and save

    Click Validate and Add Model. After "Model saved" appears, click Done.

  5. 5

    Select a model

    Return to the chat, and select the added model in the Custom group of the model selector.

IDE

  1. 1

    Open model settings

    Click User Settings in the upper-right corner, and go to Qoder IDE Settings → Models.

  2. 2

    Select a provider

    Click Add, and select Alibaba Cloud Model Studio - China as the provider.

  3. 3

    Enter and save the model

    Select the type and model, get the API key for your billing plan, and enter it:

    Token Plan

    Pay-as-you-go

    Alibaba Cloud Model Studio API Key

    Coding Plan

    Coding Plan API Key

    Click Add.

  4. 4

    Select a model

    After validation succeeds, select the model in the Custom group of the chat model selector.

CLI

  1. 1

    Open the custom model list

    Enter /model, and press Tab to switch to Custom.

  2. 2

    Select a provider

    Select Add custom model..., and under Platform presets, select Alibaba Cloud Model Studio - China.

  3. 3

    Select a model

    Select a model under the corresponding Token plan, Coding plan, or PayAsYouGo group.

  4. 4

    Enter model parameters and API Key

    Confirm the Context Window and Thinking Effort settings, get the API key for your billing plan, and enter it:

    Token Plan

    Pay-as-you-go

    Alibaba Cloud Model Studio API Key

    Coding Plan

    Coding Plan API Key

  5. 5

    Use the model

    After validation succeeds, select the model in the model list. No CLI restart is required.

JetBrains plugin

  1. 1

    Open model settings

    Click the account avatar in the upper-right corner of the plugin panel, select Plugin Settings, and go to Personal Settings → Model Settings.

  2. 2

    Select a provider

    Click Add Model, and select Alibaba Cloud Model Studio - China as the provider.

  3. 3

    Enter and save the model

    Select the type and model, get the API key for your billing plan, and enter it:

    Token Plan

    Pay-as-you-go

    Alibaba Cloud Model Studio API Key

    Coding Plan

    Coding Plan API Key

    Click OK.

  4. 4

    Select a model

    After validation succeeds, return to the session, and select the added model in the model selector below the input box.

FAQ

How do I use savings plans and resource plans with pay-as-you-go?

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.

Error codes

If you encounter an error during configuration, see the FAQ document for the corresponding billing plan:

Why can't I find the model option in Qoder settings?

Possible reasons:

  • Not signed in: You must sign in before you can chat and configure models.
  • Unsupported version: Update to the latest version.