SUZENT / Docs
THE SUZENT HANDBOOK

Huawei Cloud MaaS

Use Huawei Cloud MaaS models on the Token Plan or pay as you go.

Use the models on Huawei Cloud's ModelArts MaaS, on the Token Plan or pay as you go.

Set up

  1. Get an API key from console.huaweicloud.com/modelarts.
  2. Open Settings → Providers. Under Add a provider, find Huawei Cloud MaaS (or type its name in the search box) and click it to open its card.
  3. On the API keys tab, pick your Plan (see plan choices), then paste the key and click Save.
  4. Click Test connection, then tick the models you want on the Models tab.

Changes save on their own, and Huawei Cloud MaaS then moves up to the providers you have set up.

Plan choices

Pick the plan your key was created for. It decides where Suzent sends requests.

PlanBase URL
Token Planhttps://api.modelarts-maas.com/plan/v2
Pay as you gohttps://api.modelarts-maas.com/openai/v1

Custom URL lets you type any other address, such as a proxy.

Settings

FieldEnvironment variableNotes
API KeyHUAWEICLOUD_API_KEY
Base URLHUAWEICLOUD_BASE_URLFilled in by your Plan choice; shown only for Custom URL.

You can set these environment variables before starting Suzent instead of typing the values in. Settings then marks the value Environment. A value you save in the app takes priority over it.

Edit this page on GitHub ↗

On this page