Skip to main content

Alma Client

Alma supports access to OpenAI-compatible APIs through custom model services. After adding MuskAI as an independent service, you can use the API Key of this site to call the available models in Alma.

Prepare information​

Enter the official website user center - [API Key] page and prepare two items:

  • API Key: Copy the complete Key after creation.
  • Base URL: Copy the current recommended address displayed on the page.

Please refer to the model name currently available in the console.

Add service​

Enter the model or service provider settings in Alma and add a custom OpenAI compatible service:

FieldFilling method
NameMuskAI
API TypeOpenAI Compatible / OpenAI compatible
API KeyKey copied from the official website User Center - [API Key] page
Base URLBase URL copied from the official website User Center - [API Key] page
ModelModel name available in the console

After saving, select the newly added MuskAI service as the current session model.

verify​

Send short questions first, such as:

Describe the model you are currently using in one sentence.

If it returns normally, run long context, code generation or multi-round tasks. Do not directly perform high-cost tasks when configuring for the first time to avoid repeated retries caused by incorrect configuration.

FAQ​

  • The model list is empty: manually add the model names available in the console.
  • Unable to connect: Check whether the Base URL is copied from the user center and do not append /v1/chat/completions yourself.
  • Return 401/403: Check whether the Key is complete, enabled, balance or package available.
  • Reply model not as expected: Confirm that Alma's current session selects the MuskAI service and the correct model.