Back to Astrbot

Connect ShengSuanYun

docs/en/providers/shengsuanyun.md

4.27.4956 B
Original Source

Connect ShengSuanYun

ShengSuanYun provides a unified OpenAI-compatible API for accessing a range of popular AI models with one API key.

Get an API Key

  1. Sign up and log in at ShengSuanYun.
  2. Open the console, create an API key, and copy it.

Configure AstrBot

Open the AstrBot dashboard and go to Providers → Add Provider → OpenAI. Enter the following values:

FieldValue
Provider NameShengSuanYun
API Base URLhttps://router.shengsuanyun.com/api/v1
API KeyThe API key created in the ShengSuanYun console

Save the provider, then open its card and add the models you want to use from the model list in the ShengSuanYun console.

Set as Default

Go to Settings → Provider Settings, select the ShengSuanYun model you just added as the default chat model, and save the configuration.