SUZENT 使用手册
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
- Get an API key from console.huaweicloud.com/modelarts.
- 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.
- On the API keys tab, pick your Plan (see plan choices), then paste the key and click Save.
- 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.
| Plan | Base URL |
|---|---|
| Token Plan | https://api.modelarts-maas.com/plan/v2 |
| Pay as you go | https://api.modelarts-maas.com/openai/v1 |
Custom URL lets you type any other address, such as a proxy.
Settings
| Field | Environment variable | Notes |
|---|---|---|
| API Key | HUAWEICLOUD_API_KEY | |
| Base URL | HUAWEICLOUD_BASE_URL | Filled 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.